Tahir Naveed
Jan 17, 2013
  3176
(2 votes)

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

Comments

Jan 17, 2013 04:29 PM

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

Santosh Achanta
Santosh Achanta Jan 17, 2013 10:57 PM

Good one Tahir!

Rahul Pulekar
Rahul Pulekar Apr 1, 2013 08: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.
Latest blogs
Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog

Preview multiple Visitor Groups directly while browsing your Optimizely site

Visitor groups are great - it's an easy way to add personalization towards market segments to your site. But it does come with it's own set of...

Allan Thraen | Sep 26, 2022 | Syndicated blog

The Report Center is finally back in Optimizely CMS 12

With Episerver.CMS.UI 12.12.0 the Report Center is finally re-introduced in the core product.

Tomas Hensrud Gulla | Sep 26, 2022 | Syndicated blog

Dynamic Route in ASP.NET Core When MapDynamicControllerRoute Does Not Work

Background Creating one of the add-on for Optimizely I had to deal with challenge to register dynamically route for the API controller. Dynamic rou...

valdis | Sep 25, 2022 | Syndicated blog