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

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

Apemancity
Level 2
Level 2

Hi

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
or
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.


Thanks

Brad

2 Replies
radzmar
Level 10
Level 10

Hi,

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.

Apemancity
Level 2
Level 2

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

Thanks