on 11-04-2008 10:58 AM
Hi all,
I have an interactive form with some fields and buttons. The user1 fills the form and then sends it into a approval process to be approved by user2. On this form there is a button "Save to SAP" which should not be visible until user2 has approved the form.
I am trying to control the visibility of the button through the context in my application and it works when it comes to hiding the button from start however when user3 opens the saved form that has been approved the button is still hidden even though the button is set to be visible...
Is this scenario not possible to complete? Or am I missing something?
Any help is appreciated.
Cheers,
Max
Hi Max,
Have you implemented any dynamic property to any element on the form? else what You can do is place this code in the doModifyview method of the view that contains Interactive Form UI element:
IWDInteractiveForm Form = (IWDInteractiveForm)view.getElement("NAME OF THE INTERACTIVE FORM UI ELEMENT");
Form.setDynamicPDF(true);
Hope this helps
Thanks
Amita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answers,
When I re-opened the document I set it to WDInteractiveFormMode.USE_PDF instead of WDInteractiveFormMode.UPDATE_DATA_IN_PDF. When changing to this it worked. Then other problems occur but those are easier to fix..
Thanks!
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Max,
The scenario you have described should work, however can you post the code snippet so that it helps to analyse the issue more..
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.