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 pretty sure you can just cast a variable as your page and create a writeableclone from that and then access page variables such as url, then save to ContentRepository
Edit: oops i thought you were editing pages
What kind of files?
"Name in URL" maps to the RouteSegment property normally.
I would like to programatically change the property "Name in URL" for files. I have a situation where you manually can name the files regardless of what the original filename is (via a form). The first name given to the file becomes the name in the url. If I update/change the filename I would also like to change the URL. Can't seem to find the propertyname for this though. Thankful for help!