[Progress Communities] [Progress OpenEdge ABL] Forum Post: how to modify and save locked locked content

  • Thread starter Thread starter zb4918294
  • Start date Start date
Status
Not open for further replies.
Z

zb4918294

Guest
Hello everyone. I was trying to modify and save locked content but it keeps failing . I found dynamicModuleManager.Provider.SuppressSecurityChecks = true; but it doesn't seem to be overriding the locked part. dynamicModuleManager.Provider.SuppressSecurityChecks = true; DynamicContent paperItem = (DynamicContent)dynamicModuleManager.Lifecycle.CheckOut(self); // do stuff paperItem.SetWorkflowStatus(dynamicModuleManager.Provider.ApplicationName, "Published", null); DynamicContent checkedin = (DynamicContent)dynamicModuleManager.Lifecycle.CheckIn(paperItem); versionManager.CreateVersion(checkedin, true); dynamicModuleManager.Lifecycle.Publish(checkedin); TransactionManager.FlushTransaction(transactionName); above is how i an checking things out , modifying them, creating a version , checking them in and publishing them Any ideas would be very helpfull Thanks

Continue reading...
 
Status
Not open for further replies.
Back
Top