Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
Sitecore.Context.Database
var items = Sitecore.Context.Database.SelectItems("/sitecore/content/MyStore/Orders/*");
var folder = Sitecore.Context.Database.GetItem(new Sitecore.Data.ID(folderGuid)); var items = folder.Axes.SelectItems("*");
id='{<span class='param'>folderGuid</span>}']/*}} where <span class='param'>folderGuid</span> is the GUID of the folder containing the items for the dropdown list. ===Security=== ====User Domains==== Although you can write code to create a Sitecore user without specifying a domain, the Sitecore Admin UI (Security Editor, Access Viewer, etc.) won't work for such a user. You are therefore strongly encouraged to create users within a domain. This effects two areas of your code: the Login page and the User Registration page. =====Login Page===== The following code will properly handle the user domain transparently to the user. The user will simply login with their username omitting the domain.
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.