Avatar

Level 5

George,

Thanks as always for your help. I created the remaining file folders: Privileged/10.0/JavaScripts

and placed the Trusted Function .js file rename function "myspecialtaskfunction.js there.

However I received an error code in the console.

RaiseError: The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.

Doc.saveAs:5:XFA:form1[0]:RAButton[0]:Buttons[0]:EFS[0]:click

===> The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.

     All of this scripting and file save as a field name works on my computer. However I need a co-worker to be able to use this Trusted Function too. Back to the drawing board.

     The console says the file may be read-only or open elsewhere. I am not sure if it is a read only file, although the file is a "Reader Enabled" file. I am sure the file is not open elsewhere though. Thanks.