Cross Database Treelist Field

  0 rating
11/2/2012 7:40:22 AM
4/17/2015 1:40:40 PM
Provider: Sitecore

About

The Cross Database TreeList Field module allows you to access data in a field from another database.

Documentation

Documentation
  • Documentation > Getting Started with the Cross Database Treelist Field
    Getting Started with the Cross Database Treelist Field

    The Cross Database TreeList Field module allows you to access data in a field from another database. To have the ability to get data from another database, you have to use parametrize data source string.
    You can use any parameter described here: ​http://sdn5.sitecore.net/Resources/Shared%20Source/Shell%20Extensions/TreeList/Documentation.aspx and additional one which points to the source database: SourceDatabaseName.
    For example:

    DataSource=/sitecore/users&SourceDatabaseName=security

    If you don't mention the SourceDatabaseName in parametrize source, the component considers the current database as a target one.
    Also this component supports "query" technique for lookup fields.
    You can use

    DataSource=/sitecore/users&SourceDatabaseName=security

    as well as

    DataSource=query:/sitecore/users&SourceDatabaseName=security

    If you decided to use this component, you have to register it in /App_Config/FieldTypes.config file as shown below:

    <configuration>
    ............
      <!-- Custom fields -->
      <fieldtype name="tree list cross db" type="Custom.Data.Fields.MultilistCrossDbField,TreeListCrossDB">
      </fieldtype>
    </configuration>

    0
Back
Release notes
The module was added 08-04-2008
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

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

Download

Title Description Download Action

Add File