Hi Ambike,

It is not possible to update the URI of the document.  For that you need 
to get the content of existing and then insert the content with new 
document-uri and then delete the older content.

Regards
Abhishek Srivastav
Systems Engineer
Tata Consultancy Services
Cell:- +91-9883389968
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
ambika arumugam <[email protected]>
To:
General MarkLogic Developer Discussion <[email protected]>
Date:
06/28/2011 05:20 PM
Subject:
[MarkLogic Dev General] Renaming a document
Sent by:
[email protected]



Hi all,

Is it possible in Marklogic to rename a document without really deleting 
the old document and then inserting the document with the required 
document name?


Regards
Ambika_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to