I am using Sitecore 8.0
where I have created a template with field droplist field type and I want to give datasource for it where it references another template datasource. And we have Multiple Sites under the Sitecore Content node.
Below is what i need to acheive :
Have 2 templates FormFields template and the other one is Field type template. FormFields template has a field name "FieldType" with data type droplist which references the datasource which is been created using the Field type template.
We have multiple site nodes and same datasource of field types needs to be created in each site. For testing purpose i have the direct path of one of the site and for the field type it started showing the field types data in the form of dropdown. Same template i have to use it for other site nodes too so i am trying to write a query for datasource .
Tried below queries for field type, but both of them didn't work. :
1.DataSource=query:$site-root::/Site Content/Modules/CFieldTypes
2.query://*[@@id = '{59E50241-DBF5-4ED0-A3DA-852081022A5F}']
Here is the FormField template :
Here is datasource for Field types
As of now i have given the direct path to the datasource so it is looking like below scrnshot
Want to use same template for all the site nodes so i have tried different queries but didn't work.
Can anyone please suggest what I need to do?
Thank you