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
HI Marcus!
Either way works:
Guid formId = new Guid("...form id here...");
XFormFolder destFolder = XFormFolder.Create("/TestFolder2");
// method 1
XFormFolder.Move(formId, destFolder);
// method 2
XForm form = XForm.CreateInstance(formId);
form.Folder = destFolder;
form.Save();
/johan
Hi!
Does anyone have an exampleon how to use code and move a certain XForm to another XForm folder?
Should one use XFormFolder.Move, XForm.Folder or something?
I'm running EPiServer CMS 5 R2.