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