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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Cannot save form to local directory

Avatar

Not applicable
Hi



I have a problem saving form to a local directory c:\temp. I am using write document service and the path pattern in Input field is set to C:\temp\filename.pdf. Document variable is a doc var where the form is being stored. What wrong am i doing in this. The form is not saved in the above location.
5 Replies

Avatar

Level 10
Try to put C:/temp/filename.pdf.



Java doesn't like "\" and I'm not sure if we replace them.



If not, then maybe your form variable is empty. Can you use a ReadDocument and point to a PDF to make sure the variables contains something.



Jasmin

Avatar

Not applicable
Hi Jasmin



How do i make sure that my variable is not empty. I mean how do i check that

Avatar

Not applicable
also the form will be saved on the server,not on the machine from which you are running workbench(unless workbench and server are on the same box!)

thanks

girish

mergeandfuse@gmail.com

Avatar

Not applicable
Are you seeing any errors in the server log? Your inputs seem to be right.