Local Datasources

  0 rating
2/9/2017 2:11:50 AM
5/7/2018 11:22:33 AM
Source: GitHub
Provider: The Reference


The solution now consists of a few parts:

  1. The first part will create the actual datasource item (and the data folder if that does not yet exists - datafolder will be pushed as latest child). The template name of the required datasource is used as base for the item name, combined with a number.
  2. A second part will prevent the "Select the associated content" dialog from appearing.
  3. In v2.0 a handler was added that will detect if an item was added from a branch template. If so, the code will search for local datasources included in branch items and set the datasource value in the renderings to the newly created items.
  4. In v3.0 we did a few bugfixes but also created a solution for final layouts and copying items with local datasources.
  5. v3.1 includes a few more bugfixes and support or branch templates as datasource and a configurable data template (thanks to D. Shevchenko for this)

More information in the read.me on github.

Note: the module is not compatible with SXA.

All documentation on compatibility, installation, usage ...  is available with the source on Github: https://github.com/Gatogordo/LocalDatasources
More information on the code will be released on https://ggullentops.blogspot.com

  • v1.0 : initial release focussing on XP editor support and creating the datasource items
  • v2.0 : added support for standard values trhough branches (and some bugfixes)
  • v3.0 : added support for final layouts and copying items with local datasources (and some bugfixes)


Release notes
08-02-2017 : Version 1.0

Read more Back
Code examples

Solution screenshots(0)


Reviews (0)

Sort by: Date Most votes
  • Profile Avatar

    Level: 0

    x0 x0 x0




    Was this helpful?


Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment

Write a review

Title can't be empty
Review can't be empty
Post review


Title Description Download Action

Add File