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.
AI OnAI Off
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.
private UnifiedDirectory(PageReference thePageLink)
{
if(!thePageLink.IsEmpty())
return UnifiedPageDirectory.Get(thePageLink);
}
Hope this helps. :)
I wrote my own that uses the javascriptfunctions in /util/javascript/common.js
One of the parameters was a folderid. But how do i get the folderid for the current workroom?
I came up with:
EPiServer.FileSystem.UnifiedDirectory.Get(CurrentWorkroom.FileRoot)
But what do i do when i get a UnifiedDirectory and wants to get the folderid from it?
Can you help me with that?