| Jordan 2007-04-19, 10:05 am |
| I am attempting to write a quick 'mover' utility for a client which takes a posting from one channel (in this case News) and moves it to another (News Archive).
Basically, I have a listbox containing all the postings within the News channel. The user can highlight multiple postings and then click the 'Move' button. I then just iterate through each posting, determine if it was selected and if so attempt to move it to the Archive directory. The problem is that I get the following error:
"Invalid mode for update. The requested action modifies the state of an object and can only be performed when the session is in the 'Update' mode."
When I attempt to change the PublishingMode to Update, I receive an error telling me it's read-only.
Is there some way to set the PublishingMode that I am missing?
Jordan |