Tahir Naveed
Jan 17, 2013
  3571
(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
Performance optimization – the hardcore series – part 2

Earlier we started a new series about performance optimization, here Performance optimization – the hardcore series – part 1 – Quan Mai’s blog...

Quan Mai | Oct 4, 2023 | Syndicated blog

Our first steps into local AI

After a consumer of tools like ChatGPT and CoPilot, we as developers like to dive deeper into it. How does it work? Where to start? Can I create my...

Chuhukon | Oct 4, 2023 | Syndicated blog

Update on .NET 8 support

With .NET 8 now in release candidate stage I want to share an update about our current thinking about .NET 8 support in Optimizely CMS and Customiz...

Magnus Rahl | Oct 3, 2023

Adding Block Specific JavaScript and CSS to the body and head of the page

A common requirement for CMS implementations includes the ability to embed third party content into a website as if it formed part of the website...

Mark Stott | Oct 3, 2023