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

Can you tell within the form with javascript if the file has reader rights.


Level 2


I have an issue where I need to know at runtime if the current file has reader rights so that a link will directed them to one place or another.

I was hoping with javascript I could check if the form has reader rights
the file name will be different for the version with reader rights so the other option is with javascript can it tell me filename of itself.



2 Replies


Level 10


there is indeed a method to check usage rights.

Here is a folder level script to check those rights.

You should be able to use this also in a script in your form.

LiveCycle Blog: Dateien auf Verwendungsrechte hin überprüfen//Check files for Usage Rights

Hope this helps.


Level 2

That does work but it uses a trusted function. I need something that will work on any computer.