Resetting individual Document ID

Hi,
I'm looking for a way to reset the document ID on an individual item in a library. Is this even possible? I don't want to do the default option of resetting all (the ticket box in the Document ID settings). The reason why I need to do this is we moved a
document from another library and it kept its old Document ID. 
In testing when using the tick box and resetting it, it fixed the issue. But we have hundreds in the new library and we only want to target the incorrect one. 
Any help would be amazing.
If this is helpful please mark it so. Also if this solved your problem mark as answer.

Hi,
According to your description, my understanding is that you want to reset the document ID for specific library item.
We can  update the document ID using Client Object Model like below:
ClientContext clientContext = new ClientContext("http://sp/sites/mysite");
Microsoft.SharePoint.Client.List spList = clientContext.Web.Lists.GetByTitle("Shared Documents");
clientContext.Load(spList);
clientContext.ExecuteQuery();
if (spList != null && spList.ItemCount > 0)
Microsoft.SharePoint.Client.CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml =
@"<View>
<ViewFields><FieldRef Name='_dlc_DocIdUrl' /><FieldRef Name='Title' /><FieldRef Name='ID' /></ViewFields>
</View>";
ListItemCollection listItems = spList.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
ListItem item = listItems.GetById(27);
item["_dlc_DocIdUrl"] = "http://xxxx";
item["_dlc_DocId"] = "testxxxx";
item.Update();
clientContext.ExecuteQuery();
Thanks
Best Regards
Jerry Guo
TechNet Community Support

Similar Messages

  • Adjusting magnification properties for individual documents in a portfolio

    I have combined several individual documents into a portfolio. I need to change the document's magnification size by resetting the document properties. Up to this point, I have opened each individual document and adjusted the magnification one by one. Some portfolios hold 50+ documents and is very time consuming to adjust them one at a time. Is there a way that I can adjust the document properties for all of the documents at once so I do not have to open them individually?

    Two techniques shown in the attached file:
    1-Get an array of references to cluster controls to modify properties in a for loop
    2-"Make all Data"; since only the data changes from array element to the next, make the cosmetics data using color boxes and picture rings. Rings are useful because you can disable items.
    Jean-Pierre Drolet
    Scientech R&D
    LabVIEW, C'est LabVIEW
    Attachments:
    setarrayproperties_example[1].vi ‏49 KB

  • Error Rounding Difference too high when reset cleared document using FBRA

    My Client has posted cleared document with T_Code F-51. This cleared document has cleared 6040 open items.
    And now, they want to reset and reverse that cleared document.
    We found error "Rounding difference too high" when we are reset cleared document using FBRA.
    Kindly need your advice.
    Many thanks in advance.
    Regards,

    Hello,
    Please let me know the ERROR number.
    Regards,
    Ravi

  • Reset payment document FBRA

    Hello,
    I have already searched on the portal, but did not find any solution..
    While posting invoice, invoice and payment withholding key (both) are kept.
    Payment is posted without withholding tax through F110. Document is cleared.
    Now, user wants to reset this payment document.
    In FBRA, it gives a message "Payment was posted with withholding tax.  Clearing document will be reversed. Do you want to continue?"
    If I click on "yes" it is resetting the document and reversing the document.
    How to reset the payment document without reversing?
    Thanks

    Hi,
    The clearing document is generated through F110 so check might have also got generated, hence this cannot be reset / reversed through FBRA
    In this case you need to clear the payment through FCH8 as you need to void the check as well.
    Hope this solves your issue else revert.
    Regards,
    Tejas

  • Reverse a reset clear document

    Hello ,
    When I am trying to reverse a reset-cleared document, it is throwing the following error :-
    "Document xxxxxx cannot be reversed due to clearing resets".
    I followed the foll steps.
    1.There was an invoice of 100$.
    2.Incoming payment of 100$-.
    3.Reset cleared the payment by choosing the option "whole clearing" and "create a new open item".
    4.A new open credit item is created.
    5.Now i need to reverse this new open credit item. It throws the above message.
    Please help.
    Thanks in advance
    Debashish

    Hi
    The below  link may provide you some help.
    error while resetting a cleared document
    Thanks
    kamala

  • I forgot the password to a pages-document, is there any way to reset the document?

    I forgot the password to a pages-document, is there any way to reset the document?
    Thank You

    No, Apple can't help.  Just connect the iPod to your computer and restore via iTunes. If necessary, place the iPod in recovery mode.  For that mode see:
    http://support.apple.com/kb/HT1808

  • How do I secure individual documents in Lion?

    I'm sure this question has been answered but I can't seem to figure out how to secure individual documents in Lion.
    Here is what I'm trying to do;
    I'm scanning or saving from various sources certain forms or files to Lion and keeping in documents. Which works great, but I can't figure out how to secure these documents individually.
    Would someone mind pointing out my error and perhaps recommend a resource where I can learn more of these basic Mac operations?
    Thanks gang,

    Yes Grasshopper.
    (the previous suggestions is good, too)
    1. open automator (it's in applications)
    2. when it asks you what you want to make, pick service.
    3. at the top, where it says "service receives selected", pick files or folders
    4. where it says "in", pick Finder.
    4.1 on the left, under library, select files & folders
    4.2 to the right, pick New Disc Image and drag it over to the right
    5. Size: Size disk image to fit contents
    6. check encrypt
    7. when done: unmount and return the image file
    8. close or save the window; give it a name, like "encrypt".
    9. try it out. Select the file you want to encrypt in the finder; control click on it to open the contextual menu; scroll down to services, and pick the service you just created.
    10. It should make a disc image and ask you to create a password.
    11. when you open the disc image, it will ask for the password, and then a virtual disc (looks like a little generic white drive) will open. In that virtual disc will be the decrypted file.
    12. you can delete the original file and work from the decrypted version in the virtual disc.
    13. When you close the decrypted version and either eject the virual disc (by dragging it to the trash) or restart or shut off your computer, the changes should be saved in the encrypted disc image.
    14. let me know how it works.

  • HT5824 Im trying to make the appointments on the calendar in my phone transfer to the icloud.if i reset my documents in icloud, can or will it delete data on my iphone?

    Im trying to make the appointments on the calendar in my phone transfer to the icloud calendar on my PC. If i reset my documents in icloud, can or will it delete data on my iphone?

    Hi jordanpaulbrown,
    I apologize, I'm a bit unclear on the exact configuration you are currently using/describing. If you are talking about My Photo Stream, you should be aware that it only stores stores photos for 30 days in order to allow for other device to connect and download the photos. If you would like to keep them long term off of your iPhone, you may want to set up your computer (Mac or Windows) to automatically download them. You may find the following article helpful:
    iCloud: My Photo Stream FAQ
    If you are running iOS 8 on your iPhone, you may also find the following article about changes to Photos useful:
    Get help finding your Photos in iOS 8
    Regards,
    - Brenden

  • In Finder in Documents i want to show the folders first and individual documents second and it is the other way at the moment. Cant seem to see where i would change this

    In Finder in Documents i want to have the folders show first and the individual documents second. At the moment it is the other way and i can't seem to find how to change it
    [email protected]

    Why do we have to install 2 add ins for something that should be built in? Please add this to the next version or an update to this one even. We should see the full path of a bookmark when we search for it. Show Parent Folder alone isn't enough if you have sub folders, so I installed Go Parent Folder as well in case of sub folders.

  • How can I browse individual documents in iTunes?

    1. What does the Eject symbol do?
    2. Is there a way to open folders to grab individual documents?
    Thanks!

    ckuan,
    So do I have to copy the whole folder each time I want one document?
    Ralph9430,
    How can I get to individual documents? I only see the whole folder. When I double-click on the folder, it will not open the folder.

  • Resetting Reversed Document

    Hii.
    User has reversed a payment document by mistake.Now we want the same document  to reset.Is there any way to do so.
    Regards,
    D RANA
    Edited by: Deepak Rana on Feb 7, 2009 4:59 PM

    Hi Deepak
    For Reversing the Reversed Document Tcode used is FBR2.
    Or go to F-02 and from the menu select document -
    >post with reference.
    FB08 -
    >Individual Reversal
    F.80 -
    >Mass Reversal
    FBRA -
    >Cleared item Reversal
    FBR2 -
    >Reversal of Reversed
    Regards
    Surya

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all,
    I have following scenario:
    - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
    - In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
    Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
    Thanks and Regards,
    Dau

    Hi Dau,
    If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
    Now in Feb 2012 you reset and reversed this payment document.
    The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
    If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
    The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
    so I think your issue is with the key date.
    Hope this helps you.
    Regards,
    Prasad

  • Resetting FI Document

    Hi,
    One of my user cleared more 300,000 line item in a single document.
    Now due to some reason they want to reset and reverse the clearing document.
    Since this involves huge data, FBRA transaction runns more then 4 hours and throughs abap dump.
    Can we run FBRA transaction in background ?
    Or Is there any solution for this ?
    Thanks in advance.
    Surya

    Hi,
    I am not asking about mas resetting.
    While clearing user clear more 300000 line items in a single document.( Say XXXXXX)
    The above document, I want reset.
    Due to data volume, FBRA is running more then 4 hours and giving dump.
    Early reply highly appreciated.
    Thanks,
    Surya

  • Reset Cleared document for multiple docs

    Deal all,
    There are around 699 documents which were cleared using a particular document number( only one ).
    Now the user wants to reverse all these documents . As these docs are cleared , we cannot reverse these docs.
    Can we reset the clearing document using FBRA ? If i reverse that clearing document,can i then reverse all the 699 documents?
    Thanks
    Srikanth.

    Hi
    As you said there are around 699 documents which were cleared using one document.
    FBRA is used for Cleared Item Reversal.
    Go to FBRA give that Clearing Document Number , company code and fiscal year and save.
    select Resetting and Reverse button.give Reversal Reason.
    Document will be Reversed.This means that the Clearing Document will be Reversed and also all the 699 documents which are cleared by that single clearing document will become Open Items.
    That is the meaning of Resetting.Reversing the Cleared Document and Resetting the Original Open Items.
    There is no need of Reversing all those items seperately.
    Regards
    Venkat

  • Reset Cleared Document

    hi Gurus,
    Im trying to reset a cleared document, via FBRA but the system keep saying that
    "Account JY001 0781 blocked by payment proposal 22.07.2008 JY6"
    I went to F110 but i am unable to find a way to delete the proposal as i have already performed a payment run. Is there any other way i go about clearing the document?
    Thanks.

    Hi,
    You may go to SM37 and release the specific job that this account has been blocked.  After that you can now delete your proposal in F110.  After deleting, resetting can now be made.
    Please assign points if found helpful.
    Thanks,
    Rod

Maybe you are looking for

  • Hyper Transport Sync Flood Error (msi 785gm-e51)

    hello all, my pc x4-630 his 5750 vgen 2gb 1333 corsair 450w i have problem with my pc. sometimes its reboot when im playing games.after reboot there a error messege hyper transport sync flood error. i already google about this problem and i got a inf

  • Enhance Retro Pay for Global Legislation?

    Hi, Is 'Enhance Retro pay' process available fro Global legislation if yes then how to configure it. Regards Majid

  • Lock Box Uploading Issue

    Hi, When i upload BAI file into Lock Box...I am getting the below error in FBL2 transaction. Accounts receivable posting Error: (F5 102) Customer * is not defined in company code 1000 After that when i see in to FBL1,I am getting the below error. Pay

  • Oracle Java Compiler 11g - JVM ERROR

    Hi Jdev Team, I have an issue to report, Sometimes when run a project and navigate through the pages, i get the following error message: Oracle Java Compiler 11g Unable to create an instance of the Java Virtual Machine Located at path: H:\jdevstudio1

  • After upgrade to snow leopard, my printer won't print

    I recently upgraded my operating software to snow leopard, but now my wireless printer won't print any jobs coming from my Mac.  The printer icon is still in the dock, but every time I try to print something I get an error message, and it won't print