on 11-12-2007 7:19 AM
Hi all,
In my application I have a pdf file contains 3 input fields.. ProdId,ProdName,ProdQty..Now, I want these three fields be filled with values dynamically using InteractiveForm in WebDynpro. I put this pdf file in
src->mimes -->components --> <mycomponent>.
OR
Suggest me if any other way to do this in WebDynpro.
Thanks in advance
LakshmiNarayanChowdary.N
Hi,
Refer
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmi,
You have to map the fields in ur pdf with your context. Follow this tutorial.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dynamic%20non-interactive%20pdf%20form.pdf">Dynamic Forms</a>
Moreover, for your email application, check this tutorial.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/offline%20interactive%20pdf%20form%20using%20e-mail.pdf">Mail Tutorial</a>
Regards,
Abdullah Ismail
Hi Abdullah,
Those tutorials are for creating and filling pdf forms dynamically. I priorly refered them.. But in my application, I kept a pdf file statically in
src> mimes>components.. Is it possible to map our context nodes to the file
in src> mimes>components.. ? If yes, Please provide sample code
Thanks in advance
LaskhmiNarayanaChowdary.N
Hi Ayyapparaj,
Yes It's not possible.. that's why I've facing problem to put values
Actually, in our application one static and empty pdf file (with 3 Text Fields ) will be there. And we have to put different values in it based on some conditions and then attach to Mail . In the links mentioned above we are able to create and fill pdf form dynamically. But that is not the case here.. Please try it.
Regards
LakshmiNarayanaChowdary.N
Hi Laxmi,
Check the cardinality of the context value node(Data Source) should be 1..1 and selection 0..1 and singleton set to true.
and supposing your value node is named ValueNode and TextField1 is the name of your text field.
wdContext.currentValueNode.setTextField1("Value");
Moreover I would advise you to create a adobe file in NWDS in your WD application rather than create it outside the application in LiveCycle Designer. This will aid in binding the fields of the adobe file with the context.
Regards,
Abdullah
Message was edited by:
Abdullah Ismail
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.