Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

To know windows user name and machine name

Avatar

Level 5

Is it possible to automatically populating windows user name and machine name in form field?

If so what should I do?

2 Replies

Avatar

Level 10

Hi,

You can, but it is considered a security risk by Adobe. Therefore you need to execute the script in a "trusted function". This is script in a JavaScript file that is stored in a set folder on the user's computer. This can make it difficult to maintain, as all users will need this .js file.

Also if you Reader Enable the form through Accrobat, then the script will fail.

See a thread here with examples: http://forums.adobe.com/message/2189021#2189021.

Good luck,

Niall

Avatar

Level 5

Thanks for your authentic information. Yes that will be complicated for user.

To export data as excel need folder level script?

Regards

greenlnd