This content has been marked as final. Show 10 replies
Are you applying the usage rights within your render process (or) are you pulling a file from the repository that already includes usage rights?
If you are applying the rights within your render process, is Apply Usage Rights the last step i.e. ...renderForm -> Workspace enable form -> apply usage rights.
In addition, does your form contain any form ready events? i.e. data population via a wsdl or DB connection upon open?
Can you please provide some additional details on the order of operations you are using and when the rights are applied.
Hi again Seth,
Thanks for your quick reply.
I am not quite sure if the following answers what you are asking, but here goes.
I take an already RE form and drags it into the repository - after this I just use the form normally in the process (like if it was not RE.
I do not know what you mean by setting up the render process - I dont see any setup configuration for RE any where in the render process - can you help me here?
With regards to the form ready events I am not really sure (I did not develop the forms myself) however I do not populate anything in the form by wsdl or DB. However I believe I have some dynamics which is triggered at form ready.
Hope this answers your question - otherwise do not hesitate to ask again
Thanks for your help - I really appreciate it
It sounds like you have a form which is already RE.
You will need to use Form Designer to open the form, and insert the Form Bridge XFO located in the "Library -> Custom" area. After adding the XFO to your form, save the new updated form.
Yes my form is already RE, is this the way I should do it or can I use some services to do it for me in a process?
However I will try your suggestions right away.
The reason that I need the form to be RE is that I need to enable attachements to the pdf-file. Can I handle this in another manor?
Based on your workflow, I concur with the above post. Since you are pulling a form directly from the repository and it already contains usage rights, you should add the Form Bridge at design time of the form. The key is that this field needs to be added before usage rights are applied.
Please try the following:
- Open the Form in Designer and add the Form Bridge. It is an invisible field that can be added anywhere within the form.
- Re-save the form
- Re-apply the usage rights and upload the updated form to the repository.
If you were applying rights within your workflow, then yes you could do it using the service FormAugmenterService > Inject Form Bridge. But once again, the usage rights would need to be applied after the Form Bridge is added.
It works perfectly, thank you very much for your help.
Great! Thanks Kim.
Just a note on this...
If you're wanting to use attachments, and the form is being used inside Workspace, the recommended way of doing this is to use the Attachments capabilities of Workspace.
I am having the same problem as Kim. I have created a new form with the bridge followed by the having right applied. When I attempt to add the Template Url: definition for the xfaform variable for my new form, I get an error:
Unexpected error encountered.
The CDPUtilsClientSide class could not be loaded.
The schema will be ignored.
This is expected behavior. If you upload a pdf that already has RE rights then the form augmenter will ignore it to avoid breaking the RE rights. If you want this use case to work then you should add the Form Bridge to the form then add the RE rights.
If you want to add RE rights in the render service then you should apply the rights after the form augment step.