store forms as PDF

Avatar

Avatar

Abderrahmane_ma

Avatar

Abderrahmane_ma

Abderrahmane_ma

10-05-2016

Hello guys, 

i have a little bit of a issue generating a PDF based on my form, i set up th parameters, whene i trigger the submition i have an error :

XDP Reference is incorrect or not present 

can you guys help me with this. 

thx . 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

sachjain

Avatar

sachjain

sachjain

12-05-2016

Hello,

Can you try configuring Document of Record Template Configuration to Select form template as base template to generate the Document of Record and try submitting the form?

Kindly, refer to below screen shot for configuring the same:

Thank You,

Sachin Jain

Answers (3)

Answers (3)

Avatar

Avatar

Abderrahmane_ma

Avatar

Abderrahmane_ma

Abderrahmane_ma

12-05-2016

thank you for replying, 

in deed it seems to be working with a base xdp template, 

i've one more question, will the generate pdf is going to look exactly like my form (theme, logo , icon ), if so how can i download the pdf from crx to my local storage ? 

and if my binding with my XSD are going to be in the genrated pdf ? 

Avatar

Avatar

Abderrahmane_ma

Avatar

Abderrahmane_ma

Abderrahmane_ma

11-05-2016

Hi, 

thx for replaying, so i'm using an binding based on XSD file ( in attach), the error that i'm getting is : 

XDP Reference is incorrect or not present Cannot serve request to /content/forms/af/Capgemini_SG_Poc/Poc_BasedOn_MIF/jcr:content/guideContainer.af.submit.jsp in com.adobe.aemds.guide.servlet.GuideSubmitServlet Exception: com.adobe.aemds.guide.service.GuideException: XDP Reference is incorrect or not present 

that maybe logic that i have no xdp file attach in my form, then i attach one and i retray, saidly same mistake

i've notice also that i can not acces my xsd via aem interface 

the log said : 

Unresolved compilation problem:

console cannot be resolved Cannot serve request to /aem/formdetails.html/content/dam/formsanddocuments/Capgemini_SG_Poc/xdp/poc_aem.xsd in /libs/dam/gui/coral/components/admin/assetdetails/view/view.jsp

Exception: java.lang.Error: Unresolved compilation problem: console cannot be resolved.

Avatar

Avatar

mayankg

Employee

Avatar

mayankg

Employee

mayankg
Employee

11-05-2016

Plase share the exception trace that you see in the error log file. Also provide details regarding whether the AF is XML schema based or XDP based? If not is not based on XDP then did you specify some Document of record configuration for the same? If yes, please share the details around it.