Questions tagged [datasource]

For questions related to Sitecore data sources, including data source queries, data source locations, data source items, etc.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
276 views

Get Lookup Source Pipeline not triggering for treelist

I have a dynamic source for a treelist field in my template. In order to resolve the source location, I created a pipeline in getLookupSourceItems section. The code snippet is shown below. public ...
2
votes
0answers
717 views

Set query as datasource in personalization

I'm on Sitecore 8.2, using MVC. I have two sites, and I'm defining presentation details on Standard Values of the template, so that I can use one presentation details setup for rendering the same ...
1
vote
2answers
46 views

How to specify a datasource for a droplist field in sitecore 8.0 template

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 ...
1
vote
0answers
47 views

Media datasource using Sitecore SXA

How do I add media datasource (I want customers to able to select images from a particular folder) in Sitecore SXA using experience editor. Currently,I have added datasource in the template and works ...
1
vote
0answers
32 views

How Does __Preview Get Populated

In a Sitecore 8.2 (rev. 170614) instance an item was throwing the following error when selected in content editor: Server Error in '/' Application. Data at the root level is invalid. Line 1, ...
0
votes
0answers
37 views

Site breaks when page contains an unpublishable item

We have just upgraded from 8.2 to 9.3 and some behaviour has changed. In 8.2, when I make an item unpublishable and publish to cm/cd, the page loads fine without that item. In 9.3, the page doesn't ...
0
votes
1answer
122 views

How to link branch template children items (data sources) with its parent renderings in Sitecore 7.2?

I'm following this blog post from Zachary which is pretty clear. http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline The only issue is ...
0
votes
1answer
140 views

How to change data-source path "local:/data/test" to GUID programatically when saving page in Experience editor

We are using Sitecore 9 with SXA. As per my understanding, it was designed to have a path with local:/ for certain reasons. But, as per our business requirements, we need to update rendering with a ...