Questions tagged [datasource]

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

Filter by
Sorted by
Tagged with
5
votes
4answers
935 views

Datasource Location not working as expected

I created a rendering for my form and linked the datasource location to sitecore/forms (which should be correct). The mysterious thing about this is that when I select my rendering in the experience ...
10
votes
3answers
4k views

Automatically creating data sources for renderings on a new page

In a project, I have been working on before we had a solution in which when a content editor created a page of a certain type a Components folder was created and the renderings of that page would ...
6
votes
3answers
1k views

DatasourceUsagesCount request slowing down Experience Editor

I am using Sitecore 8.2. The Experience Editor has a feature called as "Usage" which appears in the widget that shows when we select a component/rendering. The purpose of the usage functionality is to ...
7
votes
2answers
2k views

Automatically set datasource when adding a rendering to a page

My goal is to automatically set the datasource of a rendering when an certain rendering is added to the page in the Experience Editor. Since the datasource item is created when the user adds a ...
7
votes
3answers
6k views

Set sitecore treelist datasource from multiple paths

Trying to set datasource for a treelist field in Sitecore. Need to set two different folders as path. DataSource=/sitecore/content/home/folder1|/sitecore/content/home/folder2 It does not work, it ...
4
votes
1answer
870 views

SXA and local vs reusable datasources in a custom control

In SXA we have components like the Rich Text component that have a version with a local datasource and a reusable version that gets a datasource from a global (site) folder. This all works fine and I ...
4
votes
1answer
1k views

How to Join MongoDb Collections Using Sitecore Mongo Db Report Data Source

Am using sitecore 8.0, below code gets the analytics from the mongo db. I have two collections "ineractions" and "ContactId", I want to join both the collections using common field "contact" from ...
2
votes
2answers
804 views

Relative datasource for template field

I have created a branch template [Comparison Chart] which contains a folder item called [Headers] which is designed to contain items of the template [CChart Header]. Inside the [Comparison Chart] ...
2
votes
1answer
732 views

Sitecore Image Field Source to filter on template type

Is it possible to set the source of an image field so it filters on a specified template name. so only showing these images to be associated with the item Tried various ways from the following link ...