on 09-16-2008 8:04 AM
Hi Experts,
I am new to the Interactive Forms. I did a simple example, by creating a single view and added InteractiveForm as a child. Within this view I have create a simple context structure as
Context
-->TestNode (1..1)
--->FirstAttribute
--->SecondAttribute
--->PDFObject (binary)
and have drag drop these two attribtues(First Attribute,SecondAttribute) to the InteractiveForm. And changed the properties of interactive form mode to updateDataInPdf. No coding done in any of the controller.
After deploying this application a blank whit page is showing with only view name on top. And completely my system is being hanged from 5 to 10 minutes. Am I did any mistake in the above steps, causing the above problems.
Your help will be highly appreciable.
Thanks & Regards,
Chinna.
Hi All,
Layout problem is solved. I got an another problem. In interactive form, I have added one Submit button of Webdynpr native control. No action created for this button.
I run the application, entered some data in input fields, and clicked on the submit button. PDF form got disappeared from the browser and ADOBE reader window opend and gave an error message in a popped up as "File does not begin with '%PDF-'".
Can you please tell me how to save the data in pdf on click of the submit button.
Regards,
Chinna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
You can go in this sequence:
1. Create a method say "Submit()" in the view where you have embedded the IF and bind the onSubmit property of the IF with this method.
2. Under implementation for this method you can write the code to retrieve the PDF from binary context and store in some byte array.
3. later you can use the byte array for saving/sending it wherever required.
Hope this helps... let me know if you have more queries.
Cheers,
Arafat
Hi Arafat,
As you advised, I have created one action in view and binded this method to onSubmit event of IF. In the view method, I just wrote a code to display a message.
When I click on Submit button from PDF, no action is generated.
In IF control type of the button is selected as Regular. is this correct for this control or any other changes need to be made.
Can you please advise me.
Regards,
Chinna.
Changed the displytype property to native.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
Try upgrading your Adobe reader version and this will resolve your issue. Also, if the layout property of the interactive form is set to ActiveX then you need to install ACF component for applications to work correctly.
Hope this helps!!
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Page is being rendered and all the controlls are displayed after 30 minutes I run the URL. Any idea why is this taking this much of time.
Thanks & Regards,
Chinna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.