Expand my Community achievements bar.

How to know if i'm a extended form?

Avatar

Level 1

Hi, i'm developing some forms with Designer 9 sp2 and have Reader Extensions license.

Some forms are extended on a process point (non process management and start process as non-extended forms ) but have a "save as" button who i wanna hide if no extensions appli yet.

There is a way to know with javascript or formcalc lenguages if i'm "running" in a extended form?

TIA

5 Replies

Avatar

Level 10

Hi,

I thought you might be able to test it with this:

var testRE = event.target.appRightsValidate({}, 2, false);

app.alert(testRE);

See discussion here: http://forums.adobe.com/message/3987180#3987180.

However it appears that it may be restricted in the security model.

Or, I may have the syntax wrong.

Someone else may have a better handle on this,

Niall

Avatar

Employee

Try

var test=this.appRightsValidate();

if the PDF is Reader Extended Form it will return true, otherwise will return false.

Avatar

Level 1

Thanks!

@Niall: i dont wanna play about Reader security configuration due will distributed pdf's to several people. was try that solution in my javascript console some days ago.


@Steven:solution with a syntax error result :?

Thanks again.

Avatar

Employee

Can you send me test file so I can find out why the script is not working on your test file? My email is syen@adobe.com