We are updating a page in Optimisely through code like this -
ProfilePage profilePage = existingProfilePage.CreateWritableClone() as ProfilePage
profilePage.URLSegment = urlSegment;profilePage.FirstName = profileForm.FirstName ?? string.Empty;profilePage.LastName = profileForm.LastName ?? string.Empty;
//Setting the page to draft modeprofilePageId = _contentRepository.Save(profilePage, SaveAction.CheckOut, AccessLevel.NoAccess).ID
But when we are saving the page in draft mode, the url segment and page name is not updating.
How can I update the url segment and page name keeping the page in draft state itself?
We are currently using Episerver CMS - v11.20.5
Would you want to try <add key="DisableVersionSync" value="false" /> in your app settings and see if that reflects the update accurately?