urlsitecoresitecore6content-editor

When creating custom content editor (Editor tab) in sitecore, what the format of URL should be if I have desired aspx page in another VS project


When creating custom item editor in Sitecore(Editor tab), only required field is the Url, which will point to the .aspx page. Where this .aspx page should be added and what URL should I type. I've created a web application in Visual Studio and an aspx page with the desired functionality in it. This web application isn't related with my sitecore project. How to specify the URL to this page. Or should I add this page somewhere to sitecore project? Thanks in advance.


Solution

  • Go to core database, then in content editor go to /sitecore/content/Applications/Content Editor/Editors item. Create new folder item here if you like and inside create new item with this template: /sitecore/templates/Sitecore Client/Content editor/Editor (you can copy any existing editor item into your folder). You can set header, icon and Url (any url, absolute e.g. http://stackoverflow.com or relative e.g. /sitecore/shell/Applications/Media/Media Folder.aspx).

    editor in core db

    Now go to master database and set this editor in Editors field (inside template or specific content item)

    editor in master db

    I think you should move your Page.aspx inside sitecore project (in layout folder or custom one) enter image description here

    then url should be /layouts/Page.aspx