Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Split the XDP File into Master and content forms

Avatar

Level 2

Hello,

 

How do we split the XDP File which has both the design and the master Layout into 2 separate templates.

one for the Master and the other for the content.

 

Thanks,

Kash

1 Accepted Solution

Avatar

Correct answer by
Level 9

What is the use case for doing so?

as I understand every xdp needs to have at least one master page

View solution in original post

12 Replies

Avatar

Correct answer by
Level 9

What is the use case for doing so?

as I understand every xdp needs to have at least one master page

Avatar

Level 2
Hi Girish, we are looking to have one generic master page for all the forms. And one generic content form in English for all the countries. and one each in their specific language. currently, we have XDP file for each country separately one in english and one in their specific language. Please advise how to do it. Thanks!!

Avatar

Level 4
Do you use AEM Forms/LiveCycle ES4 to render the forms? In that case you might be able to use XDP stitching via Assembler.

Avatar

Level 3

Hi @srinit86581866,

Let me know if I understand your need.

You have forms for many countries, and you need one solution like this:

 

Base XDP

   - Page 1. Generic master page

   - Page 2. English form for all (eng_form.xdp)

   - Page 3. Contry language form (<country>_form.xdp)

 

English Form XDP (Fragment: eng_form.xdp)

   - Form with english questions

 

French Form XDP (Fragment: fre_form.xdp)

   - Form with french questions

 

Spain Form XDP (Fragment: spa_form.xdp)

   - Form with spanish questions

 

Portuguese Form XDP (Fragment: pt_form.xdp)

   - Form with portuguese questions

 

Is this ?

Avatar

Level 2

Hi Jean,

Thank for the reply.

My requirement is

 

English Form common for all the countries  - XDP

   - Page 1. Generic master page                          -  Same for all the forms (whether English or any other language)

   - Page 2. English form for all (eng_form.xdp)    - For all the countries 

 

Country specific Language form for each country.

   - Page 1. Generic master page                          -  Same for all the forms (whether English or any other language)    - the master page should be same with header and footer for all the country specific language forms as well as the english

   - Page 2. Country language form (<country>_form.xdp)

 

All the forms are already created but since each form has different master page. So, we need to split the forms to have one generic master page and the language specific content forms. please advise if it's possible. ?

Thanks,

Srini

Avatar

Level 3

@srinit86581866 ,

I don't know if I understand well your need. but this small XDP have 2 different master pages, 1 to english part and other for language specific pages.
You need some like this, but separated in differents XDP's to reuse it?

 

https://koi-3QNLP7YGK6.marketingautomation.services/net/m?md=0w2ZVyEMRCzCSzsYNyV5udwbvJfMSKye

 

Let me know if this is the correct path.

 

Jean

Avatar

Employee Advisor

@srinit86581866  save part of the form as a fragment so that they can be reused.

Avatar

Level 2
Thanks Mayank! Can you please guide as how to save it as fragment as i don't see that in options in adobe livecycle designer.

Avatar

Level 2
Hi Mayank, I'm using Adobe livecycle designer 11.0. Edit->Fragments Create fragments is greyed out. How do i get the option for creating fragments from an existing XDP file.

Avatar

Employee

For a better understanding of Masterpages and Fragments you may find some ideas here. It is the SAP LC Designer but the same concepts may help you. Forget about all the SAP related stuff...

 

https://blogs.sap.com/2020/04/28/understanding-fragments-based-form-building-using-adobe-livecycle-v...