Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Last Modified By

Avatar

Level 4

Hello,  I'm wondering if there is a way to find out who was the last person to modify a form.  I see the modify date and create date in the XML Source, but nothing regarding a user ID of any type.  This info can be found in a Word document or Excel spreadsheet under the Properties.

1 Accepted Solution

Avatar

Correct answer by
Level 10

There will no such information saved in XFA forms by default. You can determine the current user name at runtime by using a script. Its result can be stored in a hidden field or a specific XML element for later usage:

var userName = event.target.identity.loginName;

TextField.rawValue = userName;

However, Adobe only allows the execute the script above from a trusted context, which means you'll have to create an install a folder level script in your environment.

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

There will no such information saved in XFA forms by default. You can determine the current user name at runtime by using a script. Its result can be stored in a hidden field or a specific XML element for later usage:

var userName = event.target.identity.loginName;

TextField.rawValue = userName;

However, Adobe only allows the execute the script above from a trusted context, which means you'll have to create an install a folder level script in your environment.