since ‎26-03-2007
‎11-02-2021
tarekahf
Level 5
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
vikram medishetty,Actually this thread should have all the details you are looking for. May I kindly ask you to go through this thread from the beginning as you may have to click on "Show All Messages" to see all posts.I recommed you to work on a very simple Hello World Example and just pass some very simple data fields from the .aspx page to the PDF, and back from PDF to .aspx page.If you have any error in this example, then I will be very happy to try and help you.Tarek.

Views

1.5K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
vidya radhakrishnan,Very smart of you to find out another way. Thank you for the input and I will keep it in my mind for future use. However, I once tried to look at SQL XML, but I find it very hard to digest. I would prefer using Datasets, Tables, Relationships, and GetXML(). It is much easier to digest and work with especially if the final XML Strucutre is simple.With regards to the problem you are facing, I dont understand exactly what is wrong ? Is the PDF begin displayed correctly after "re...

Views

1.5K

Likes

0

Replies

0
Re: DATE VALIDATION dd/mm/yyyy (date field with manual entry)
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
By chance, and not sure exactly what solved the problem of working with Date Fields, I think when I made a small MS Access Table with Date Fields, and exported it to XML with Schema info, and created a connection to this XML/Schema from Adobe LiveCycle Form, then the Data Fields worked properly, but honestly, not sure exactly.However, in my previous project, I used the functions in FormCalc to convert String input to Date Variable, and do the Validation. You could do that in JavaScript, but it i...

Views

3.2K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
vidya radhakrishnan,Sure, using JavaScipt, you can creat a direct connection from LiveCycle Form to SQL Server. I tried this method to test it in the past, but, I faced several prolems, and decided not to use this method in the future, becuase:1. You have to connect to Database directly, which is based on 2-tier method, which is not the proper way in general to build secured applications,2. You have to use complicated scripting techniques (very un-usual APIs) in LiveCycle to navigate and process...

Views

1.6K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
vidya radhakrishnan,If I understand you correctly, you want to design a process to lookup contract data using Contract ID, and display the contract details in PDF for the purpose of printing it or viewing via web access. Correct ?Follow these steps:1. Design an ASP.NET form to accept the Contract ID which the users requires to print/view its details.2. Design a button, and on Click Event in UI Code, open a connection to the SQL Database and retrieve the require details and place them in program ...

Views

1.6K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I have nearly completed the form automated localization logic using JavaScript.I would like to know if there is a way to protect the JavaScript code inside the Adobe LiveCycle Designer Form. Basically, I do not want it to be easily accessible to any one who opens the form using Adobe LiveCycle Designer.Is this possible ?Tarek.

Views

2.1K

Likes

0

Replies

0
Re: DATE VALIDATION dd/mm/yyyy (date field with manual entry)
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Dear All,I have serious problem with Date/Time Fields. It seems that Date/Time Fields just DO NOT work properly. I am using Windows XP, with Arabic Language Support Enabled and LiveCycle Designer 7.1.I am facing all kind of errors/problems with Date/Time Fields. I decided to switch my Regional Settings to English UK and also tried English USA, but still same result.If I use a plain Date/Time Field, and try to make any data entry during runtime, the input is always converted to format "dd-mm-yyyy...

Views

3.2K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I just discovered another problem !!When I bind the caption of an element in a repeating subform, and during runtime, when I add a new instance of the subform, only the first element will be bound to the translation, and the other instances are reverted back to the caption text from the design.Please help.Tarek.

Views

2.1K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Almost all of the above problems have been solved, and I managed to write javascript to flip all 17 pages and sub-forms horizontally and recursively to make the direction from Right to Left. Also, all field captions are now bound to XML Data Source for each language.However, I am still facing the following problems:1. I could not flip Tables. Table cells and columns seem to have Static Layout during runtime, and you cannot revers the order of such cells/columns. Any idea how to flip tables (make...

Views

2.1K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
I managed to develop a working script to flip (reverse direction/order of object placement) on a given subform, during runtime.However, it seems that if you have a Table, it will be impossible to change the order/placement of cells in the table (meaning to flip table horizontally) during runtime.Please correct me if I am wrong.Tarek.

Views

2.1K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Just a small correction, I was refering to XML Forms Architecture (XFA)SpecificationVersion 2.6not "Adobe_XML_Form_Object_Model_Reference.pdf"In this document XFA Specs 2.6, page 192, I found a clear reference to direction of Text Flow for Arabic Language. It says that XFA before version 2.4, did not support Right-to-Left Text Flow.How do I know the XFA Version I am using ? Which LiveCycle Desinger I need to get XFA Version 2.4 and above ?Can some one let me know how this will work ? I meas is i...

Views

2.1K

Likes

0

Replies

0
Re: How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Thank you PDL,With regards to localizing the Text and Captions, I worked out a model using MS Excel Sheet, Pivot Table, and Linking to MS Access, and now I have a working model with semi-automated method to generate the XML Data Source of the Caption Text. I will post the details later.With regards to controlling the object layout during runtime, I started with this script on the Layout Ready Event of the "untitled subform" (page 1):var cnt = this.nodes.length;for(var i = 0; i var elm = this.nod...

Views

2.1K

Likes

0

Replies

0
How to localize LiveCycle Form in different languages ?
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Dear All,I want to localize the captions of the fields in PDF Form developed using Adobe LiveCycle Designer 7.1.In order to do that, I figured out that have to prepare XML Data Source of all Captions and related text in the target language.The languages are English, Arabic and French. For each Language, there must be one XML File which will be the Data Source of the required captions, and the captions on the form will be bound to that XML Data Source.I need to find automated way (programmatic or...

Views

5.3K

Likes

0

Replies

7
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
>hi i have exported the PDF filled forms as XML through email option. And i used that XML to populate into a Database.Saravanan_P,I would like to know what method you used to post the XML to Database. Please give as much details as you could.Tarek.

Views

1.6K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
>Also in previous message TAREK has sent a script. I dont know how to use that. I have created a web application and its in my local system.I will try to help !First option you can do that is to using Client Based Process with Acrobat SDK under VB.NET. Check this link for complete detail:http://www.adobeforums.com/webx?128@@.59b4be28Another option is to create a Submit Button from the LiveCycle PDF Form, to submit the form with the Data Set and PDF as XDP to an ASP.NET Web Page, and in the web p...

Views

1.6K

Likes

0

Replies

0
How to Extract the LC Form Fields Values and Store them in the Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
We have designed a huge LiveCycle Form using Adobe LiveCycle 7.1.The form will be submitted by the clients using the Standard Email Submit Button, and the PDF Data will be attached to an Email which is sent to a pre-defined Address.When the Emails are received by the Person in charge, he will save the Data Files each one with a unique name on a local folder.When finished receiving all the Data Files by Email, he will use Adobe Acrobat Utility from the menu "Advanced/Forms/Create sheet from Data ...

Views

686

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Dear Kellster,I a now on my vaction and posting form internet cafe. I will try to help you now by giving you quick hints, and as soon as I am ready, I will post more details for you (I will be back to the office in 2 weeks).Keep in mind that I am familiar with LiveCycle Desinger 7.1, and not yet used version 8.x.What you are asking for can be done by some "not so easy" client javascript under PDF. But, I can give you the following guidelines:1. Place the complex processing (Business Logic) and p...

Views

1.6K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Charlie Taminian,Check the .NET Complete Code I posted ... it should have everything you need about using email, and to send the PDF as an attachment, some extra work is needed to use the proper MAPIs to add attachment to the email.You can use Client PDF Functionality to send the PDF as attachment, but you need Acrobat on the Client, or Read-Enable the PDF using ARES. Client functionlity to send PDF as Email attachment is a bit tricky, confusing, and limited.Just keep in mind, any time you need ...

Views

1.6K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Pirzada,For the price ...etc, the proper way is to get in touch with the official Adobe Sales Rep. in your area. There are different products, version, prices... all the times. You need at least:1. Adobe LiveCycle Designer ES (I think 500 US$ per head) !2. Adobe LiveCycle Reader Extensions Server.If you want to spend less effort in ASP.NET Programming, and willing to spend more, then you can buy additional server products that will generate the PDF using a few lines of code. But I do not have mu...

Views

1.6K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
In general, if you do not have Full Version of Adobe Acrobat on the Client, then any function that will end up using Advanced Adobe Functions such as saving a copy of the PDF Off-Line or submitting the complete PDF as Binary to the Server, then you cannot do that.If you have Adobe Reader Extension Server (this is the product which I convinced our Management at work to purchase) which will cost you a bit, this product will allow you to Reader-Enable the PDF so that it will work under Adobe Reader...

Views

2.8K

Likes

0

Replies

14
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Pirzada ,I think if the client does not have full version of Adobe Acrobat, then some of the functions will not work, for example, you will not be able to submit the Fill PDF as Binary with Signatures to the Server.I think if you only want to submit the Form Field Values, then Adobe Reader is enough, but I will not bet my life on this.Regards ...Tarek.

Views

2.8K

Likes

0

Replies

0
Re: Submit PDF Form as Attachment with special Name and Save to Shared Folder
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
The complete server-based solution is posted here:http://www.adobeforums.com/webx?128@@.3bc38246which is based on ASP.NET and it can easily be applied to other platforms.If you need a client based solution, then you will spend a lot of efforts trying to trick Adobe JavaScript Security Engine. I have done it, but it looks very ugly and the code is very complicated. Not recommended.Tarek.

Views

1.0K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
The following sample code (which I copied from the code I posted earlier), will be the starting point to Extract the XML Node you want, but you have to know the name of the Node, which you can find out by debugging the code:--- Dim sreader As New System.IO.StreamReader( Page.Request.InputStream) Dim xmlData As String = sreader.ReadToEnd() Dim xmldoc As New System.Xml.XmlDataDocument Dim SubmittedFormPart As String xmldoc.LoadXml(xmlData) Session("StaffName") = xmldoc.GetElementsByTagName("Name")...

Views

2.8K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Yes, absolutely !Check the documentation of XMLDocument .NET Class ... it has everything you need.You have to load the XML from the Response Input Stream to XMLDocument object, and extract the required XML Node into another XMLDocument Object, then you have to export the content of this Node into a File using some kind of Stream Writer. From XMLDocument class, I think there is some method that exports to XML Text file directly.Tarek.

Views

2.8K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Jeff,Yes, if my understanding of your requirement is correct. But you have to use Server-Side Processing with .NET for example.Using Client-Side Acrobat JavaScript ....!!!?? I am not sure, and my advise is to avoid this direction if you want to be able to sleep at night. JavaScript was designed to be so much secured, and once you want to perform any action (fully programmable) outside the boarders of the PDF Form, then you will face a path full of prickles.Using ASP/.NET it is very easy.When you...

Views

2.8K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Yes, you are right. When you submit a form with PDF this means you can take a copy of the form and save it under different name. This is not allowed from Adobe Reader.I think there is an option in Acrobat that Reder-Enable the Form. But as per what I remember, it may not work.Your only option, if you want to receive a copy of the PDF (with the Form Data Fields) then you have to Reader-Enable the form using LiveCycle Reader Extensions Server, which is going to cost you. There might be other alter...

Views

2.2K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Just to re-assure... here is the JavaScript command I am using:event.target.submitForm( {cURL: "http://blablabla/LeaveProcess.aspx?SubmittedFormPart=1", aPackets:["datasets","pdf"], cSubmitAs: "XDP"}); I have looked at the command you used, it is slightly different. Try my version and confirm.When you debug your ASP.NET ASPX Page after submitting, and convert the request input stream into XML, you should see a chunk element (when you view the XML Variable in the watch window). If you still do no...

Views

2.2K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
dsrirams, "Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database." #33, 13 May 2008 3:13 pm>dsrirams - 3:13pm May 13, 08 PST (#33 of 33) >>How are you able to retrieve the entire pdf file after you submit to the ASPX page? I am able to retrieve the form fields but I dont see any "chunk" element that contains a pdf. Any help will be great. ThanksFrom the PDF JavaScript, the command used to submit the PDF must include the required parameters to submit the Form Vari...

Views

2.2K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
>Matt W - 11:29am Mar 11, 08 PST (#30 of 30) >Hi Tarek>I just want to say thank you for the article it's been a great deal of help. I have only one question. Do you know of any way I can set the values of no fillible objects? For example. I want to fill in the submit URL of a button or change the text in a text object. Is this possible? > (Matt W, "Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database." #30, 11 Mar 2008 11:29 am)First, I apologize for the delay i...

Views

2.2K

Likes

0

Replies

0
Re: Using Adobe LiveCycle Designer with ASP.NET to populate PDF Forms from Server Database.
Avatar

tarekahf

tarekahf
- Adobe LiveCycle
Dear Chris,I think I understand your problem bettwr now, ... I HOPE !Using pdftk.EXE, it works locally, but when it is hosted live at the provider company, it does not work due to some limitations ...etc.I tried the link you gave me to open the populated PDF, when I click it, I get a dialog box asking me to Open the PDF, then I get error of some kind.... it did not work on my side probably due to the reasons you mentioned.Ok, do you want my advise ...??- DROP pdftk.EXE. - FDF Method is OBSOLETE ...

Views

2.3K

Likes

0

Replies

0