Try our conversational search powered by Generative AI!

Tahir Naveed
Jan 17, 2013
  3679
(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
Run imgproxy container on Azure App Service with Front Door CDN

A simple way to host a imgproxy Docker container and use it to get AVIF and WEBP images.

Johan Kronberg | May 5, 2024 | Syndicated blog

Why C# Developers Should Embrace Node.js

Explore why C# developers should embrace Node.js especially with Optimizely's SaaS CMS on the horizon. Understand the shift towards agile web...

Andy Blyth | May 2, 2024 | Syndicated blog

Is Optimizely CMS PaaS the Preferred Choice?

As always, it depends. With it's comprehensive and proven support for complex business needs across various deployment scenarios, it fits very well...

Andy Blyth | May 2, 2024 | Syndicated blog

Adding market segment for Customized Commerce 14

Since v.14 of commerce, the old solution  for adding market segment to the url is not working anymore due to techinal changes of .NET Core. There i...

Oskar Zetterberg | May 2, 2024