I'm trying to move the filein ItemCheckingIn event.. Move succeeds but then client displays an error:
The URL 'Test/asdf.doc' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
As a solution, I tried moving file in ItemCheckedIn event, but then client browser renders before the event finishes, so sometimes client browser displays outdated list data (with old item).
I need to move a file (actually I'm trying to rename file with extention - with ListItem["title"] we can't change extention) transparently to the user.
Possible solutions (that I can think of) :
1. Find a way to modify redirect url in ItemCheckingIn event (should be possible, but I don't know how)
2. Delay response until ItemCheckingIn event completes (don't think its possible)
3. Refresh client browser when ItemCheckedIn event (don't think its possible)
I spent so much time on this still could not find a workaroud.
Any ideas will be appreciated!
View Complete Post