Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

mipmater
Community profile mipmater Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 09-01-2009 6:04:32 AM
Offline
Top badges earned by mipmater
Customize the badges you want to showcase on your profile
Modify the xml generated by a PDF form
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Hi,I want to create PDF forms (via livecycle ES2) from tables of an Access database. When I generate an XML file from the PDF forms, and I try to inject them into my Access database, it does not work. If I replace the tag data , with the one found in an Access xml export it works. Is it possible from Livecycle ES2 to modify the structure of the xml output?For example, can I replace by ? Regards Guillaume

Views

599

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Sorry but i can't resolve this errorformulaire1 is not defined12:XFA:formulaire1[0]:#subform[0]:Bouton1[0]:clickIn my hierarchy, there is :formulaire1 subform item1 item2 ...is this code wrong : var av = formulaire1.subform1.departement_inclusion.rawValueAnd a last question,is it possible to save a PDF form, on a simple PDF (a picture of the form).Thanks for your help

Views

200

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Ok, i know why i've got this error, I had forgotten a quote in the code.now, i have this error :formulaire1 is not defined12:XFA:formulaire1[0]:#subform[0]:Bouton1[0]:clickthank you for your help and patience

Views

200

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Ok, i must create a JS script : mySaveAsPO.jsbut I do not understand how the pdf knows which script use ?

Views

249

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Here is my code :Button code : event.target.SaveAsFunc(event.target);Script code (i created this script with a right click on Form1 in the hierarchy window, and wrote the code in the script editor)mySaveAsPO = app.trustPropagatorFunction(function(myDoc, path){app.beginPriv();var myDoc = event.target;return retn = myDoc.saveAs(path);app.endPriv();});SaveAsFunc = app.trustedFunction(function(myDoc, path){app.beginPriv();var av = formulaire1.subform1.departement_inclusion.rawValuevar g = "/c/PDF_Fo...

Views

249

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
I have certified my document but i always have the same message :event.target.SaveAsFunc is not a function1:XFA:formulaire1[0]:#subform[0]:Bouton1[0]:clickIn the 'hierarchy', i've saved the script under Form1.I don't understand this message : An error in the script, or the script is not found?Thank's for your help

Views

249

Likes

0

Replies

0
Re: Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
Thanks for your answer.I have seen your previous posts about 'SaveAs', but my englich isn't very good and i don't understand everything.I tried to do this, with the solution whow is explain in this post :http://www.adobeforums.com/webx/.59b74b77But i have this errorevent.target.myTrustedSpecialTaskFunc100 is not a function1:XFA:formulaire1[0]:#subform[0]:Bouton1[0]:click-----------------The code of the button :event.target.SaveAsFunc(event.target);-----------------The JS code :mySaveAsPO = app.t...

Views

249

Likes

0

Replies

0
Button 'SaveAs'
Avatar
Level 1
mipmater
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
mipmater
- Adobe LiveCycle
I have been trying to setup a pdf to save to a predefined path with a click on a button.I tried this code :var aDocs = app.activeDocs;var myDoc = aDocs[0];myDoc.saveAs("C:\\" + Title.rawValue + ".pdf");But i have this error :myDoc has no properties3:XFA:formulaire1[0]:#subform[0]:Bouton1[0]:clickThanks in advance...

Views

2.5K

Likes

0

Replies

19