using a custom DOR xdp | Community
Skip to main content
ayecona
New Participant
August 7, 2019
Solved

using a custom DOR xdp

  • August 7, 2019
  • 12 replies
  • 8537 views

I created on AEM designer DoR base template

so as you can see I am using a custom template for the DOR

on the designer I have a text field AF_TEXTFIELD_XFO

so in my adaptive form I create a text field which I name the same and it is binding to the Dynamic CRM data source field pcx_firstname

and that is all I have in my form right now

should I have all the fields from the custom DoR available?  what am I doing wrong?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by workflowuser

why not use the default dor and customize the header logo and other customizable sections with in AEM Forms

12 replies

ayecona
ayeconaAuthor
New Participant
August 13, 2019

ok so I guess this I have to explain so that It can help someone in the future.

this I discover by just trying everything I could with the options of AEM forms. I needed to customize my DOR and here is how I was able to do it.

I created an Adaptive form with a basic template that comes with AEM forms. I used the one with "basic" template

gave it a name

chose my data source and then check the generate document of record.

this is how it will look

then I modified it. and it looked like this...

here is the trick I created in AEM designer a new template based on a document of record template

and I wanted to use that on the new adaptive form... well I clicked on custom and placed that newly created template but as you can read above on the beginning of the thread it would not show anything..... etc etc....

my new template...

this was when the thread started because I wasn't able to use my own custom template.... so this is what I did...

I figured the current template could be modified and then put back with the modifications.... my current template was the one I created but for some reason it would not show the values... but the template that came with the basic adaptive form would show the values... by downloading the template (the one I created) then opening this on AEM designer and modifying it as below

uploading the template into my Author environment

and setting that newly updated template on the custom DOR

this worked my pdf that is sent to my email now has the new modified template.

so basically Workflowuser was onto something

but I did not use the default template but the custom one...  I will give him the answer because it did help ….or should I give it to me???

Employee
August 12, 2019

those templates are different not to be used in DoR. They are xfa templates

workflowuserAccepted solution
Employee
August 12, 2019

why not use the default dor and customize the header logo and other customizable sections with in AEM Forms

ayecona
ayeconaAuthor
New Participant
August 12, 2019

Mayank Gandhi​ which I did in the beginning of this thread. I made a custom XDP but it wont show up.

please explain one thing to me.

1. are those templates (flow.xdp, multiple.xdp, split.xdp) XFA or NON-XFA based?

2. if I create an Adaptive Form with those templates can I use a custom DOR that I create with designer yes or no?

3. what is the best scenario to accomplish what I am trying to do which is to create a pdf with a government header and title. Custom pdf.

Mayank_Gandhi
Employee
August 12, 2019

These are Adaptive form templates not XDP for DOR.  You either select the DOR to be generated automatically in which AEM forms uses it's own XDP template or you define your custom XDP as DOR template.

Employee
August 12, 2019
ayecona
ayeconaAuthor
New Participant
August 12, 2019

workflowuserMayank Gandhi

are these xdp the default ones? how are they chosen when I create a basic or blank adaptive form??

ayecona
ayeconaAuthor
New Participant
August 12, 2019

workflowuserMayank Gandhi can you tell me where these templates are in CRXDE? Is it possible to make a copy of them let say the basic and then change the way it looks in designer and upload it here again? that may work as a CUSTOM DOR....

thanks

ayecona
ayeconaAuthor
New Participant
August 8, 2019

Mayank Gandhi​ any updates on why I cannot see my custom XDP on my Adaptive form?

Mayank_Gandhi
Employee
August 7, 2019

I will check and let you know.