cancel
Showing results for 
Search instead for 
Did you mean: 

Display and Query template

former_member192939
Active Participant
0 Kudos

Hi,

I have few display templates and query templates. How can I know which query template is used for the display template?

Regards,

Ajay.

Accepted Solutions (1)

Accepted Solutions (1)

erik_schrampf
Active Participant
0 Kudos

Hi Ajay,

As Kishmore said the best place to look is at the best practices guide. In xMII there is no correlation between display and query templates as 1 query template can be used for many display templates and vice versa.

Another reason to follow the best practices is if you plan on upgrading to version 12.0 of xMII. It will make migrating to this version much easier.

Erik

former_member192939
Active Participant
0 Kudos

Hi Kishore and Erik,

Thanks for the reply.

But, if i use the same query template for different display templates, and also templates with same name in different folders, then its a bit complicated.

Thanks for remembering me to follow the best practise, its helpful.

If there is any other possiblity please let me know.

Regards,

Ajay.

Former Member
0 Kudos

Ajay,

One other practice that we follow is using common folders within module folders.

For example you are designing templates for Quality, have a folder called Quality and inside it have one more folder called Common

Have all the reusable templates within the common folder.

In case you have templates common to all the modules have them in a "CommonForAll" folder.

This will help you and naming convention is the best practice that you can follow to reduce confusions

Hope this helps...

Thanks,

Ajitha

former_member192939
Active Participant
0 Kudos

Hi Ajitha,

Thank you for the reply.

I thank one n all for the useful inputs.

Regards,

Ajay.

Answers (2)

Answers (2)

former_member192939
Active Participant
0 Kudos

Got valuable suggestions

Former Member
0 Kudos

Hi Ajay,

For this the better solution is to follow the naming convention

Name query template as <b>ApplicationNameQuery</b> and Display templates as <b>ApplicationNameDisplay</b>.

This gives you intial idea...

For best practices better check this link....

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f43a39-be98-2910-9d9c-a59785f4...

hope this helps you...

Regards,

Kishore