cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Acl.execute won't load in JScript

ptc-4533489
1-Visitor

Acl.execute won't load in JScript

I'm running Arbortext 6 with a custom directory which contains an Init.js in the ../custom/init directory. This JScript uses Acl.execute to execute ACL commands during the Arbortext Editor initialization. Now with the previous version it worked just fine, but since I updated to Arbortext 6, the Acl object doesn't seem to be resolved in the JScript anymore. I receive script errors now and thus y custom Arbortext won't load properly.

Does anyone have an idea what the problem could be or where I might look? I spent quite some time already tracking down the issue and am pretty certain that the Acl object not being resolved is the problem.

Thanks for your help!

1 REPLY 1

This is the error message I get when starting Arbortext Editor with my custom Init.js script.

Arbortext error message.PNG

The line that causes this error is the first Acl access in the script:

Acl.execute("set aliaslocale=German");

It's the same error with any other function call on the Acl object.

Announcements

Top Tags