volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

GetFileManagerBrowserUrl Replacement in 7?

Hello,


Does anyone know what should be used in Version 7 to replace EPiServer.Editor.HtmlEditor.GetFileManagerBrowserUrl from Version 6?

I've not found anything obvious yet.

Mark

#69755
Apr 04, 2013 17:17

Anyone know anything about this?

#69998
Apr 10, 2013 17:37

+1. 

Any news on this?

#85808
May 06, 2014 10:09

Hey guys, I've just stumbled upon PropertyLinkCollectionEditingControl that uses this method:

    protected string GetFileManagerUrl()
    {
      IContentSource contentSource = this.Page as IContentSource;
      if (contentSource == null || !LegacyResourceableExtensions.IsLegacyResourceable(contentSource.CurrentContent))
        return string.Empty;
      long legcayContentFolderId = LegacyResourceableExtensions.GetLegcayContentFolderID(contentSource.CurrentContent);
      return PropertyLinkCollectionEditControl.GetFileManagerBrowserUrl(contentSource.CurrentContent.ContentLink ?? ContentReference.EmptyReference, contentSource.CurrentContent.ParentLink, legcayContentFolderId);
    }

    

Not sure if this helps you, but you can check it out with dotPeek or Reflector, might be that you will find something useful for yourselves.

#85834
May 06, 2014 16:40
error This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.