Lotus Notes Unid Error
Training Support Forums & community Events Rational Tivoli WebSphere Java technology Linux Open source SOA and Web services Web development XML My developerWorks About dW Submit content Feedback developerWorks>Lotus>Forums & community>Notes/Domino 6 and 7 Forum Notes/Domino 6 and 7 Forum Notes error: Can't change document's UNID error, help please, Sign in to participate Previous Next Notes error: Can't change document's UNID error, help please, Posted by Peter Cong on 12.Oct.12 at 08:32 AM using a Web browserCategory: Domino DesignerRelease: All ReleasesPlatform: Windows XP Hi, I have a lotus script agent run manually for selected notes document(s) and change some data, it works well, But I got a few users who get this error, I run the lotus script debug mode, I found the error happened on this line: ... Call doc.Save(True,True) The thing is my code does not change document's UNID, does anybody knows why? thanks Return to top Notes error: Can't change document'... (Peter Cong 12.Oct.12) . . RE: Notes error: Can't change docum... (Eric VIALA 12.Oct.12) . . . . RE: Notes error: Can't change docum... (Peter Cong 12.Oct.12) Document options Print this page Search this forum Forum views and search Date (threaded) Date (flat) With excerpt Author Category Platform Release Advanced search Sign In or Register Sign in Forgot your password? Forgot your user name? Create new registration RSS feeds All forum posts RSSAll main topics RSSMore Lotus RSS feeds Resources Resources Forum use and etiquette Native Notes Access Web site Feedback Lotus Support Lotus Support IBM Support Portal - Lotus software Lotus Support documents Lotus support by product Lotus support downloads Lotus support RSS feeds Wikis Wikis IBM Composite Applications IBM Mashup Center IBM Connections IBM Connections Cloud Developers IBM Docs IBM Forms IBM Mobile Connect IBM Sametime IBM SmartCloud for Social Business IBM Web Experience Factory Lotus Domino Lotus Domino Designer Lotus Expeditor Lotus Foundations Lotus iNotes Lotus Instructor Community Courseware Lotus Notes Lotus Notes & Domino Application Development Lotus Notes Traveler Lotus Protector Lotus Quickr Lotus Symphony IBM Web Content Manager WebSphere Portal Lotus Forums Lotus Forums Notes/Domino 9.0 Notes/Domino 8.5 + Traveler Notes/Domino XPages development forum Notes/Domino 8 Notes/Domino 6 and 7 IBM Connections IBM Mobile Connect IBM Sametime IBM SmartCloud Notes Lotus Enterprise Integration Lotus Protector Lotus Quickr Lotus SmartSuite About IBM Privacy
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries VoIP_News Inside-ERP MacProTX I_am_the_dragon Inside-CRM maxwellarnold Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker Ramnath.Awate JoeTorre http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllFlatweb/af33a108e44a8dd385257a950044df3f?OpenDocument Locutus Dennis Stevenson Craig Borysowich Richard DukeGanote mircea_luca bracke iudithm Clinton Jones Nikki Klein AbhaiTripathi Iqbalyk bluesguyAZ59 blrvenkat jakarman COMPANIES Sophos EdgeWave Skybot Software Epicor Software ... View All Topics View All Members View All Companies Toolbox for IT Topics Knowledge Management Groups Ask a New Question IBM Lotus Notes For discussion on http://knowledgemanagement.ittoolbox.com/groups/technical-functional/ibm-lotus-notes-l/error-cant-change-document-unid-unable-to-open-the-archive-in-lotus-notes-852-4949587 IBM Lotus Notes , please visit the Knowledge Management – General Discussions group. More Knowledge Management Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. 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 about 2 GB .When i am trying to open that getting Error "Can't change document unid
creating development copies of databases By Andrew Pollack on 07/05/2008 at 12:11 PM EDT Credit where it's due, Nathan brought this one to my attention. He's using the technique for something else he'll be blogging about later with a great deal of http://www.thenorth.com/apblog4.nsf/0/63F5C6B1F08957AC8525747D005AA429 excitement. When he told me what he was doing, I wasn't as interested in how http://www.ibm.com/support/docview.wss?uid=swg21648411 he was using it as he was (have to keep that part a secret) but I was pretty interested in the little hack he's taking advantage of. You can set the Universal ID on a Notes Document. I wasn't aware of this, but in lotusscript, NotesDocument.UniversalID is not a read-only property. You can set it. You need to be lotus notes extremely careful with this, as you can really screw things up. That said, there are a few good uses. Here are two of mine: 1. 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? Just set the UniversalID to the one the old document had (you can get it from the $REF field lotus notes unid on a child document, for example) and your child documents or lookups, or web url's all work. 2. For making a non-replica copy of a database to do design work on, create the copy of the database with "Design Only". Once done, create a quick agent to copy all the documents from the original to the new copy, re-assigning their Universal ID in the process. This gives you a very nice non-replica to work with. Here's a script I used: Dim session As New notessession Dim thisdb As notesdatabase, otherdb As NotesDatabase Set thisdb= session.CurrentDatabase Set otherdb = New notesdatabase(thisdb.Server,"otherdb.nsf") Dim col As notesdocumentcollection Dim newdoc As notesdocument, olddoc As notesdocument Set col = otherdb.AllDocuments If Not col.count = 0 Then Set olddoc = col.GetFirstDocument While Not olddoc Is Nothing If olddoc.IsValid Then Set newdoc =New notesdocument(thisdb) newdoc.UniversalID = olddoc.UniversalID Call olddoc.CopyAllItems(newdoc) Call newdoc.Save(False, False, False) End If Set olddoc=col.getnextdocument(olddoc) Wend Some things to note about using this technique: First: If you take an existing document, change its UNID and save it, you're creating a new copy of the document. The old one is still there. You'll have to delete the duplicate. For a workaround to this, create a new document that hasn't been saved yet, copy the unid from the original onto the new document, then use originalDoc.copyAllItems(newdoc)
a document with this UNID" error Technote (troubleshooting) Problem When a Notes client user attempts to open an iCal invitation, the following error occurs: "Database already contains a document with this UNID". Resolving the problem This issue is being tracked as SPR# TTAN95TLQS and is fixed in 8.5.3 Fix Pack 6, 9.0.1 Fix Pack 1, and 9.0.2. Workarounds Option 1: Set the notes.ini variable CSIgnoreAPDBBit=1 on the server. It will take effect for all Domino users, including users who may not enable auto-processing for calendar events. - or - Option 2: Users can enable auto-processing in Preferences > Calendar & ToDo > Display > Notices. Once auto-processing is enabled, it will create an unique UNID instead of returning an error if it finds that the parent doc does not exist. Related information Calendaring & Scheduling Autoprocessing preferences may Document information More support for: IBM Domino Calendaring and Scheduling Software version: 9.0 Operating system(s): AIX, IBM i, Linux, Windows Reference #: 1648411 Modified date: 30 March 2014 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility