Questions tagged [datasource]
For questions related to Sitecore data sources, including data source queries, data source locations, data source items, etc.
10
questions with no upvoted or accepted answers
2
votes
0answers
251 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
668 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
0answers
38 views
Retrieving treelist selected items in another treelist field
I have two templates (Template1 and Template2)
Template1 has a field List1 which is Treelist field type
Template1
-List 1 (TreeList field)
Template2 has a field List2 which is Treelist field type
...
1
vote
1answer
71 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 ...
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
25 views
Get all page versions data source rendering and use with latest LayoutDefinition through programming
Would like to get all data source rendering in code.
Such as :-
Page : TestPage
Version: 1
Data source rendering : image1 , Rich text 1,
Version: 2
Data source rendering : image1 , Rich text 2 , ...
0
votes
0answers
35 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
0answers
42 views
Rendering Null Datasource In JSS Site
Some of my JSS components are throwing errors when trying to insert and edit them in the experience editor. Most of the errors come from the fact that the datasource hasn't been set yet. In MVC, I ...
0
votes
1answer
57 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 ...