Expand my Community achievements bar.

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

Avatar

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

Avatar

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.

Avatar

Level 2

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

Thanks