0

I'm working on a tool that exports content from Sitecore, and one of the options asks the user to put in the path or ID of the start item. For example, the user can enter /sitecore/content/Home/MyPage. To make it more user friendly, I want to replace the text box with a tree view of the Sitecore content tree that allows the user to click on an item in the tree to select it as the starting node, the way the Treelist fields work in Sitecore.

enter image description here

I know that Telerik is used for this, but I have no idea how to begin implementing it in my own code. Can someone point me to how to get started?

Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
  • Are you specifically trying to use the same control that is used in the Sitecore Content Editor or would you be ok with an alternative solution such as a list of checkboxes for each item in Sitecore that the user can select? – DougCouto Jul 21 '17 at 19:13
  • I'm fine with an alternate solution! – Erica Stockwell-Alpert Jul 21 '17 at 19:22
  • That's a good idea, I can probably figure out how to do something like that now that you mention it, though if there's a particular tool in mind that already does that that would be awesome. Don't need to reinvent the wheel. – Erica Stockwell-Alpert Jul 21 '17 at 19:23
  • I would just use standard Razor code to generate the list of checkboxes like this, https://stackoverflow.com/a/20687405/195335. – DougCouto Jul 21 '17 at 19:30
  • I would probably just use Sitecor Powershell Extensions, which will allow you to configure dialogs with numerous options to request input from users: http://blog.nikkipunjabi.com/2017/06/export-sitecore-item-data-using-sitecore-powershell.html – jammykam Jul 21 '17 at 19:32

0 Answers0