Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
When I call the follow line of code and requery the database, I get the correct status of "CheckIn" back.
repository.Save(content: epiWhitePage, action: SaveAction.Publish | SaveAction.ForceCurrentVersion, access: EPiServer.Security.AccessLevel.NoAccess);
When I call the follow line of code and requery the database, I do not get the correct status back unless I shutdown Visual Studio and delete the TempASP.NETFiles directory.
repository.Save(content: epiWhitePage, action: SaveAction.Reject | SaveAction.ForceCurrentVersion, access: EPiServer.Security.AccessLevel.NoAccess);
I'm driving specific actions within the code based on the page status. How do I fix this to report the correct status?