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.
I'm having some thoughts about how the EPiServer PageFiles system work. When I get a global file it's simple to get the correct directory, I just write:
But when I want to get files from the PageFiles folder it gets tricky for me. The path in the EPi backoffice upload says it is
PageFiles/myfolder, but this doesn't return any foldersNow I see that files are saved different for each page, one page has the path
/PageFiles/361/myfolder/and another page has the path/PageFiles/65/myfolder/. All I want to do is be able to writebut to get any folder I have to write (for instance)
What is the correct way to get a PageFiles folder so I can access all files in it?
BTW, this is EPiServer 6.0