A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

How to Open TreeStructure in Edit Mode alone in View Mode .

Vote:
 

Dear All,

I am having a requirment that the users has to open the Left hand Tree structure in Editmode of Episerver CMS5 in view mode onclicking of a button .

For that one  I am  using some script  below

function TreeStructure()

{

var ohdnPageid=document.getElementById('hdnPageID');

var otxtPage=document.getElementById('txtLinkUrl');

EPi.CreatePageBrowserDialog(sitename+'/admin/edit/pagebrowser.aspx',ohdnPageid.value,'False','False','txtLinkUrl','hdnPageID','en')

return false;

}

But I am facing the a javascript error that "object  do not support this property"

Can any one please help me out to solve this problem.

Thanks and Regards

Phani Kumar R.V

#28834
Mar 24, 2009 12:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.