Tahir Naveed
Jan 17, 2013
  3734
(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
Creating an Optimizely CMS Addon - Adding an Editor Interface Gadget

In   Part One   of this series, I covered getting started with creating your own AddOn for Optimizely CMS 12. This covered what I consider to be an...

Mark Stott | Aug 30, 2024

Configure your own Search & Navigation timeouts

The main blog Configure your own Search & Navigation timeouts was posted for years but you need copy the code to your application. We now bring tho...

Manh Nguyen | Aug 30, 2024

Joining the Optimizely MVP Program

Andy Blyth has been honoured as an Optimizely MVP, recognising his contributions to the Optimizely community. Learn how this achievement will enhan...

Andy Blyth | Aug 29, 2024 | Syndicated blog

Welcome 2024 Summer OMVPs

Hello, Optimizely community! We are thrilled to announce and welcome the newest members to the Optimizely Most Valuable Professionals (OMVP) progra...

Patrick Lam | Aug 29, 2024

Create custom folder type in Edit Mode

Content Folders, which are located in assets pane gadget or multichannel content gadget, allow you to add any type of block or folders. But...

Grzegorz Wiecheć | Aug 28, 2024 | Syndicated blog

Creating an Optimizely AddOn - Getting Started

When Optimizely CMS 12 was launched in the summer of 2021, I created my first AddOn for Optimizely CMS and talked about some of the lessons I learn...

Mark Stott | Aug 28, 2024