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

Question regarding Content Root Path

Not applicable
I have a question. i am trying to save a form to the local directory. As far as i know about LiveCYcle, we can just put the path in content root about where we want to route the form right? when i put repository the form is saved onto the server but when i put local directory path like c:/temp/ it doesnt works . Any suggestion
6 Replies
Jasmin_Charbonn
Level 10
Level 10
You would need to use the 'Write Document' operation of the File Utilities service to write the file to the file system.



Jasmin
Not applicable
Hi Jasmin



Thanks So you mean instead of using Archive document, i should use write document??
Not applicable
Hey Jasmin



I used the write document utility but still i cannot send the form to the local directory.?.What do i need to write in the content root directory. I write there as c:\\
Jasmin_Charbonn
Level 10
Level 10
put the fulle path (c:\youfile.pdf) in the 'PathName Pattern'



and the variable that contains the PDF in the 'Document' parameter.



Jasmin
Not applicable
Hi Jasmin



yes i have done that but what should i write in the content toor directory which comes with genratepdf service?. Like if i have to save it on server i will write repository// what if i want to save it on local drive
Jasmin_Charbonn
Level 10
Level 10
The Content Root URI is the source where the form templates will be loaded from to create the PDF. It has nothing to do with the location where the PDF will be stored.



Once the PDF is created, you can save it in a document variable and then use the Write Document from the File Utilities service to write it to the file system.



Jasmin