Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
You can bypass the access checking by adding:
directory.BypassAccessCheck = true;
hth
Hi there.
I´m trying to create pages and upload images to the unified file system programatically from outside the EPiServer admin.
Creating the pages work fine but not uploading the images. When i try to create a new directory using the PageData.GetPageDirectory(true)-method it throws an unauthorization exception.
Is there a way to set the accesslevel on the page so that I can create a dictionary and upload files?
Some code:
Thanks a bunch.