Soni
Soni

Reputation: 425

Multi sites Application : Relative Data source

Its about multi sites Application . I have multiple folder in sitecore content tree . Each folder is having local folder structure Example : A -> X,Y,Z , B -> X,Y,Z , C->X,Y,Z.

Here i m using same template for A, B , C . And want to set standard values for presentation detail .

But I am facing one issue . How to give common data source for rendering X, Y ,Z Item in standard values. Is there any option to give relative path as data source . Or i have to write pipeline for this .

Please Help

Upvotes: 0

Views: 744

Answers (1)

RvanDalen
RvanDalen

Reputation: 1155

You should be able to create a relative datasource by submitting a query in the datasource field.
Example: 'query:./X'

Check out:
http://www.seanholmesby.com/multiple-datasource-locations-using-queries-are-back-in-sitecore-7-2-update-2/
Query notation for the sitecore 'source' field in template builder

Upvotes: 1

Related Questions