Home > Lotus Notes > Lotus Notes Cannot Change Document Unid

Lotus Notes Cannot Change Document Unid

Roles are enabled for deleting documents, not sure, how the documents are deleted. Dim ws as New NotesUIWorkspace dim uid as notesUIDocument dim targetDb as notesDatabase dim targetVw as NotesView dim doc as notesDocument set targetDb = ("ServerNameOfDbWithDocIWant", "PathToDbOfDbWithDocIWant" ) set TargetVw = targetDb.GetView( Error "Can't change document unid "Unable to open the archive In lotus notes 8.5.2 AJB_Tech asked Sep 26, 2012 | Replies (3) Dear Team, I one one Lotu snotes archive near Join our community for more solutions or to ask questions. useful reference

Then there will be no error. 0 Message Author Comment by:shals06282011-04-03 Comment Utility Permalink(# a35309913) @larsenberntrop - Apologies for my delayed response. It's seems to be completely random; it'll raise this error for someone, one afternoon, then they do exactly the same thing the next day and it works. Hence, I was just trying to figure out and avoid the root cause of this issue. If I understand it correctly you have a problem with documents being deleted and that is what you are trying to stop. http://www-10.lotus.com/ldd/46dom.nsf/DateAllFlatweb/8804802e7584a6f885257ada00685067?OpenDocument

re: You are absolutely mistaken.By John Marshall on 07/11/2008 at 10:48 AM EDT I normally create an a Simple agent and use "Copy To Database" to keep guids the same. Error description When user create new document and edit for a while, user will be unable to save the document. Will surely, look how to avoid the access to delete. Second: If you try to re-use the same UNID that exists already, you'll get an error on the save.

We have deferred the fix to a future release. Already a member? if there is a deletion stub in the database with that document ID it will fail. So everything blew up when it started repopulating and got a unid conflict.

Solutions already tried - Remove the Database icon from Workspace and re-open manually. Registration on or use of this site constitutes acceptance of our Privacy Policy. RE: Notes error: Can't change docum... (Martin Turnbull... 26.Apr.99) . . . . http://www-10.lotus.com/ldd/46dom.nsf/d6091795dfaa5b1185256a7a0048a2d0/0dbbebb5c786ecd985256a1400038017?OpenDocument Here are some sensible rules for web site advertisingAn increasing number of websites are now detecting when users have ad-blocking enabled, and refuse to show content unless you "whitelist" their site

Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. In the other application, an action calls NotesUIWorkspace.SetTargetFrame. eventually they can can get to the document which doesnt make sense to me. As for you suggestion on Replica, no Replication is not enabled.

On top of that, I've tested this code and it worked perfectly with a full response tree. Homepage If you change the parent UNID the child document will no longer be associated with its parent. Don't do that.. Remember Me Please wait while your document is saved.

Serving correct MIME-types for Office 2007 attachm... see here If you have any questions, then please Write a Comment below! This will prevent duplication. Close this window and log in.

I've also recently found some API Lotusscript code over on the Breaking Par site for changing Replica IDs. You're correct. Join the community of 500,000 technology professionals and ask your questions. http://bestimageweb.com/lotus-notes/lotus-notes-this-document-cannot-be-modified.php There are other concerns, but you'll have to bug Nathan to post his blog entry about what he's doing since I'd be giving things away if I went down that road.

Your not changing the guid so I'm an idiot. It's in the querysave script of a form, when it creates another document with a doclink to the current document. That issue occurs because the linked document cannot be found in the view Causes for this issue can be that the document was deleted or that there was no "Default View"

Register now while it's still free!

Great tool to test web applications in IE 5.5 -> 8... Share and enjoy! All product names are trademarks of their respective companies. re: Setting / Changing the UNID on documents - a fantastic hack for fixing problems or creating development copies of databasesBy Bob Balaban on 07/05/2008 at 01:31 PM EDT You can

you can but there is a catch.. Emails. When he told me what he was doing, I wasn't as interested in how he was using it as he was (have to keep that part a secret) but I was http://bestimageweb.com/lotus-notes/lotus-notes-cannot-edit-document.php Close this window and log in.

APAR status Closed as fixed if next. Toolbox.com is not affiliated with or endorsed by any company listed at this site. Call doc.Save(True,True) The thing is my code does not change document's UNID, does anybody knows why? Third: If you use this technique and make two docs with the same UNID in different replica copies of the database, you'll get replication conflicts when they meet.

Have you ever had to re-create a document that was deleted but due to the replica ID being different it messed up your response hierarchy or lookups, or whatever? Currently investigating this. 0 LVL 10 Overall: Level 10 Lotus IBM 10 Message Expert Comment by:larsberntrop2011-04-05 Comment Utility Permalink(# a35323180) the deletion stubs will be purged according to the4 Purge This last statement seems to indicate that documents are being deleted. Have the traditional ways to get new ventures funded become closed to all but a few who aren’t already connected to them and so onerous as to make ......04/20/2016Want to be

Users use only the Server. You are absolutely mistaken.By Andrew Pollack on 07/11/2008 at 09:42 AM EDT This code will copy all documents, parent and child.