I have the content structure as follows:
sitecore
|_content
|_Site1
|_Home
|_Articles
|_Category
|_article1
|_article2
|_Site2
|_Home
|_Rewards
|_September
|_Reward1
|_Reward2
The user should be able to select articles & rewards in the treelist field. For the source query, I entered:
datasource=/sitecore/content&includeitemsfordisplay=Site1,Home,Site2&
includetemplatesfordisplay=Articles Folder,Category Folder,Article,Rewards Folder,
Month Folder,Reward&includetemplatesforselection=Article,Reward
It only shows the content node when trying to select.
When I keep only the includeitemsfordisplay parameter it shows as:
|_content
|_Site1
|_Home
|_Site2
|_Home
I followed @Swati Gupta's example but it shows a plain text field
IncludeItemsForDisplay
filter is applied and thenincludetemplatesfordisplay
and with that you got 0 results in the tree. Or do I miss something here? – Marek Musielak Sep 12 '19 at 9:25includeitemsfordisplay
later, but no luck. Could you please advice any good alternate – Qwerty Sep 13 '19 at 15:04