Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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?