Skip to main content

Questions tagged [datasource]

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

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
2 answers
1k 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 ...
Vinaya's user avatar
  • 321
2 votes
0 answers
338 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 ...
adarsh's user avatar
  • 818
2 votes
0 answers
804 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 ...
Dalibor Kovač's user avatar
1 vote
0 answers
35 views

Looking for resources on how to best design structures for storing and editing page data

Apologies for the broad question, but most of my experience has been working with using older versions of Sitecore, primarily Web forms based projects and only using the Content Editor. General page ...
Jake Kelly's user avatar
1 vote
0 answers
44 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 ...
ventenni's user avatar
1 vote
1 answer
244 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 ...
Hugo Santos's user avatar
  • 2,311
1 vote
0 answers
65 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 ...
Niti Chauhan's user avatar
1 vote
0 answers
41 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, ...
Teeknow's user avatar
  • 2,477
0 votes
2 answers
134 views

Experience editor doesn’t allow edit data-source properties option for nested data-source items

We have a Datasource item having child items where root item is like a folder - inherited from standard template and allow some insert options to crate the child items. Root item given as a data ...
Santosh Kumar's user avatar
0 votes
0 answers
50 views

Custom code for sorting multilist not working

Tried to use custom code for populating multilist with sorted desired certain items of certain template sorted by publish date, after implementing code successfully, results in the multilist weren't ...
Mohamed Abbas's user avatar
0 votes
1 answer
398 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 ...
rajender patel's user avatar