Views: 2976
Number of votes: 2
Average rating:

Change EPiServer file manager start folder

On the subject of “for future reference” and “note to self”, when needed to setup the start-up folder within EPiServer folder manager.

var cookie = new HttpCookie("EPiDPCKEY");

cookie.Values.Add("path", "/Globals/Clients/1/");

this.Response.Cookies.Add(cookie);

When done so, EPiServer folder manager will load the path saved in the cookie on initial load. This will be useful, if you have different business areas accessible to different users and you would like to facilitate EPiServer editors with loading the appropriate “Folder” in EPiServer Folder manager.

Jan 17, 2013

per.nergard
(By per.nergard, 1/17/2013 5:29:19 PM)

Nice. I gave up on this a couple of months ago.

Santosh Achanta
(By Santosh Achanta, 1/17/2013 11:57:39 PM)

Good one Tahir!

Rahul Pulekar
(By Rahul Pulekar, 4/1/2013 10:48:48 AM)

Is there any way to set the cookie value in javascript ? i am unable to access "EPiDPCKEY" cookie in javascript ?

Please login to comment.