- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Two ways to achive this:
1. Writing your importDataObject script inside a trustedFunction area
For this you need to make use of beginPriv & endPriv methods
I have no experience with this approach
2. Writing a web service to serve the configuration content
write a web service.
invoke the web service while opening the pdf.
Thanks,
Nith
PS: See the documentation related to the security issue which you are facing currently.
Raises the execution privilege of the current stack frame such that methods marked secure can execute without security exceptions. For the method to succeed, there must be a frame on the stack representing the execution of a trusted function, and all frames (including the frame making the call) between the currently executing frame and that frame must represent the execution of trust propagator functions.
Use
app.endPriv to revoke privilege. The app.trustedFunction method can create a trusted function, and app.trustPropagatorFunction can create a trust propagator function. The term stack frame is discussed following the description of app.trustedFunction.
Views
Replies
Total Likes