sitecore6 - In Sitecore 6 how to open a content item in the content editor from a custom Sitecore app? -
i have sitecore custom app search screen. user able click on link in search results , open content item in content editor. know how this?
what need use fo parameter id of item value of paremeter @ end of content editor path, e.g.:
http://localhost/sitecore/shell/applications/content%20editor.aspx?fo={4142d44b-2237-4795-b219-85e70420fced}
edit after comment: if want start new application content editor within sitecore, can use method:
sitecore.text.urlstring parameters = new sitecore.text.urlstring(); parameters.add("id", item.id.tostring()); parameters.add("fo", item.id.tostring()); sitecore.shell.framework.windows.runapplication("content editor", parameters.tostring());
this described in post launch content editor code
and here solution mark ursino same thing using javascript onclick events: http://firebreaksice.com/link-directly-to-a-sitecore-item-in-a-custom-editor/
Comments
Post a Comment