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

SOLVED

Split the XDP File into Master and content forms

srinit86581866
Level 2
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
GirishBedekar
Correct answer by
Level 9
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
GirishBedekar
Correct answer by
Level 9
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

srinit86581866
Level 2
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!!
Kosta_Prokopiu
Level 4
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.
Jean-foxfly
Level 3
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 ?

srinit86581866
Level 2
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

Jean-foxfly
Level 3
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

Mayank_Gandhi
Community Advisor
Community Advisor

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

srinit86581866
Level 2
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.
srinit86581866
Level 2
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.
Kosta_Prokopiu1
Employee
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...