Generate Document Identifiers for each document

Hi,
I need to generate document identifiers for each document that is uploaded to the site.
Now I am getting a bit confusion i.e.
Should I create derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentIdProvider abstract class and then implement all abstract members or
Should I create derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentIdProvider and then override all of the virtual members
Please share your ideas/thoughts on the same.
Regards,
Sudheer
Thanks & Regards, Sudheer

I would prefer you use Inbuild feature of sharepoint:
http://office.microsoft.com/en-in/sharepoint-server-help/enable-and-configure-unique-document-ids-HA101790471.aspx
http://msdn.microsoft.com/en-us/library/office/ee559302(v=office.14).aspx
Use below article to get and attach that Unique id:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/b836a2b0-50f0-4f0a-8efd-4c713f6ed610/how-to-get-the-documentid-programmatically?forum=sharepointgeneralprevious
You can also create documents sets programmatically:
http://www.dotnetsharepoint.com/2013/10/how-to-create-document-set.html#.Uyu-faiSxEs

Similar Messages

  • Find maximum document number for each document

    HI All,
               How  to find date wise maximum document number for each document (purchase,sales,Finance) .
    Thks
    Shailesh

    Hi Shailesh,
    I am assuming you have data already selected.
    Once you select the data, sort internal table as follows.
    sort itab by doc_type descending date.
    delete adjacent duplicates from itab comapring doc_type.
    This will give each latest document no.
    Hope ti will help you.
    Regards,
    Anil

  • Want to generate single spool for diffrent documents

    Hi All,
    I have developed one BDC which will call report 'FBZ5' (for print form for payment documents). The print report is copied from RFFOUS_C.
    FBZ5 is used to print one document at a time so I have created this BDC for multiple documents.
    The probelm wat i m facing is BDC is generating sinlge spool for each and every document. I want to generate only single spool for multiple documents. Wat should I do.
    Thanks,
    Swapnil
    Message was edited by:
            Swapnil Swami

    I had a similar problem and the resolution was to update program ZRVADOPFO as follows:
    before the * open form line insert the following:
        if sy-batch = 'x'
        and nast-vsztp < > 3 or 4
            clear lvs_itcpo-tdnewid
       endif
    This solved it for me.  Good luck.

  • Open several PDFs in the same Reader window using tabs for each document

    How do I open several PDFs in the same Reader window using tabs for each document?  I'm using Reader 11.0.03 and Windows 7.  

    That would be a nice feature!  Suggest it at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform - hopefully it will make it into Reader XII.

  • Allow a different input source for each document

    I just received my new MBP and am really happy about it. I'm a switcher so apologies in advance if this question is silly...
    I use both Swedish and English keyboard maps. I can switch between them using a shortcut which is fine. However, in the International settings I thought "Allow a different input source for each document" would mean that the input source I use for a specific application will be used as long as the application is running and I don't change it, no matter what source I use in other applications.
    For example: I have the English input source as default. Then I open text edit and change the source to Swedish and start typing. So far so good. I then change to another application...
    Ok, it seemed that I might be able to answer this myself... as I test I noticed the following:
    If I start typing using a source in an application THEN the source is retained. If I just switch to an application, change its source the source is NOT retained and will take the previous one.
    Now this is all and well as long as the application you are using actually presents you with a text area to write in. But there are many applications where this is not the case (where you open windows to type text). A really good example is an IM client. Lets say Skype for example (yes I know.. iChat). Until I actually start a chat there is no text input window (well there is one..) which means that it will pick up whatever source was used previously. If I keep all the chat windows open thats fine but as soon as I reopen a windows I might be forced to change the source again
    I hope I haven't overcomplicated my question which is simply what to expect when "Allow a different input source for each document" is used (I know it doesn't say "application" there and that might actually be a hint
    Many Thanks for any comments

    It's not a silly question, but I don't think there is an answer either, as it's not clear exactly what that setting is supposed to do, or if it actually does something consistently for various different kinds of apps.
    If you have not already done so, check the box for "show input menu in Finder" in system prefs/international/input menu, so you can see which layout is active at the top right of the Finder.

  • Document upload for each characteristc value

    Hi Experts,
    Client Name               Strategic intent
    GSFDRS                    Text - Document
    AQWERTYO              Text - Document
    LMNTHRYE     Text - Document
    SNJYHBVD              Text - Document
    VNHFYDBE              Text - Document
    NJKHYGF                  T ext - Document
    I need to upload Strategic intent (Characteristic) for each of the clients. The text document consists of 300-1000 characteristics or so.How can i achieve this.

    You can upload multiple documents in a batch using the client object model, like I do in my tool at
    https://gallery.technet.microsoft.com/office/The-Migration-Dragon-for-c0880e59/view/Discussions (you can check out that code). Hwoever, after uploading a batch of documents, you will have to iterate them separately to set the label for each document, I
    haven't found a way to do that in a batch.
    I did find that uploading documents in a batch can be a huge time saver.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • "Untitled" as default document name for new documents

    I have one installation of Adobe Illustrator CS2 in a Mac with which I have the following problem:
    Whenever I go to File->New, to create a new document, the default document name is blank, and it should be "untitled".
    Is there a way (without reinstalling) to correct this? (turn the default blank document name to "untitled" default document name, for new documents)
    Thank you.
    Juan Poniachik

    On what Mac? If it's on a new Mac with Snow Leopard, I would guess it is one of those compatibility issues of new OS vs. legacy software. If so, you can't change any of that. Other than that I can only think of trying to edit the document templates...
    Mylenium

  • Generating an IDOC for each Order present in the file (File to IDOC)

    Hi ,
    I have a requirement where in i have to generate an idoc for each orders present in a file . Initially i had implemented 1:N mapping by changing the occurence of idoc to 1..unbounded & using it as external definition i was able to generate multiple idocs.
    But now the requirement is that even if one record contains invalid data , then XI shoul process remaining records(which has  valid data) & then raise an alert for the invalid record . I have implemented this approach by using BPM (splitting the message) & the sending out each record as a single message to (1:1 mapping between file & IDOC).
    But now they dont want me to use an BPM . They want me to come up with an approach using 1:N mapping only where in i can make sure that the mappig doesnt fail even if there is one invalid record ,they want me to process remaining records & raise an alert for the invalid one .
    As far as i know this cant be done without BPM . Please let me know any valuable suggestions or inputs if there is any
    Regards
    Vinay P.

    Hi Vinay,
    Had a similar requirement few days back..
    What we did was to do a multimapping of 1:N where N = N1 and N2, N1 is the Idocs which you are doing today, N2 is the set of invalid records...
    Now we have written this as a file and then created another interface which will pick the file and based on the name of file we decided the To address. We have used mail package and this interface (file to mail ) was made as a generic one so that it can be used across many interfaces...
    filename and To address relationship was maintained as a value mapping in ID... You can have a thought of this approach and try to send the invalid records as a mail rather than alert.
    Regards
    Suraj

  • How to delete a document status for a document type

    Hi,
    May i know how to delete the some document statuses for a document type. Because present we are having many document statuses, In that we want to remove some statuses.please find the screenshot and help me please.
    In tha above screenshot, Now i want to keep the highlited one only. Remaining  status i want to delete. May i know how to delete and after deleting the statuses, may i get the statuses as per my requirement.
    Regards,
    Mastan.

    Hi,
    As per the above requirement, i have deleted some statuses, But now i want in cv02n, the following statuses,
    In first step, i have changed the status in cv02n, from work request to Reallocation status. please find the screenshot.
    After this step, i want get the status in cv02n, as PPC head Status, But while changing status, i am not getting the status pop box as per my requirement and i got as per below pop screen.
    Please guide me how to get the status of PPC head in pop box when clicking the Document status icon. And also please guide on that, if i am deleting the existing statuses, what i need to check.
    Regards,
    Mastan.

  • Enable Merge Documents and Relink documents views for a document library

    Hi All,
    I would like to have Merge Documents and Relink documents views for a document library (not a form library). I was able to see Combine.aspx and Repair.aspx in the document library open with explorer -> Forms folder. How do I enable these two views?
    Your help would be greatly appreciated. Thanks a lot.
    Merge Documents -> /Forms/Combine.aspx
    Relink Documents -> /Forms/repair.aspx

    These two views is actually hidden in SharePoint library, you can enable it by set hidden property to false.
    download SharePoint manager, then find the site, root to the specified library, click views, find the Merge documents view, you will see that the Hidden propery is by default set to true.
    http://spm.codeplex.com/releases/view/97332
    Qiao Wei &lt;br/&gt; My blog:<a href="http://blog.goobol.com">http://blog.goobol.com</a>

  • RBDAPP01 generates a spool for each idoc

    Hello Experts,
    RBDAPP01 generates a spool for each of FIDCC2 idoc.
    We need this process has no spool.
    They know how to have this program does not create spool for each idoc?
    Thank you very much.
    Fabricio

    Hi Priyanka,
    you have to 'X' the field TDFINAL in OPTIONS too.
    Try this.
    Cheers,
    Joost

  • Document numbering for each bank

    Hai Experts,
    We are having multiple bank accounts.
    For eg. HDFC Bank
                ICICI Bank
    For each bank the Incoming Payments should be serially numbered, like wise outgoing payments also should be serially numbered. As we have set in the document numbering as 100001 for Incoming payment as starting number, the voucher number generated serially irrespective of the Bank accounts. Pl. let me know how to set up document number generation for each bank seperately.
    Thanks in advance
    Regards
    Sampath

    hi sampath,
    There is no automatic determination of numbering series in
    SAP B1,This is limitation of SAP B1.
    you should define numbering series for each bank in
    incoming and outgoing payments.
    You can set outgoing payment series(Banks)  as default
    for certain users and incoming payment series(Banks) as
    default for certain users.
    Ex:
    One user will handle HDFC,ICICI Banks,
    other user will handle SBI,Canara Banks.
    Jeyakanthan

  • VF06 - Create billing documents separately for each delivery order

    Hi gurus,
    Just as subject, I want to create billing documents for each delivery order in batch job.
    Can anybody tell me how can this be achieved.
    thank you.

    Hi,
    The steps to create a background job is mentioned below:
    1. Go to transaction SM36.
    2. Then give the Job name & job class.
    3.If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
    4.Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
    Reward me if you find this helpful
    Regds.......
    Sumit
    Edited by: Sumit Rayaguru on Jul 22, 2008 9:01 PM

  • Function Module to Generate Outbound IDOC for Sales Documents

    Hello Experts,
    Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents.  Some of the fm's I have come across are the following:
    IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
    IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
    Points will be given for any help provided.
    Thanks in advance.

    Hi Nagaraj,
    I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order.  For everyone's reference here is the code:
    form process_data.
      DATA v_idoc       TYPE edidc-docnum.
      DATA i_edidd      TYPE TABLE OF edidd.
      DATA wa_idoc_ctrl TYPE edidc.
      LOOP AT i_nast INTO wa_nast.
        CLEAR i_msgs[].
        CALL FUNCTION 'WFMC_PROTOCOL_GET'
          EXPORTING
            cps_nast        = wa_nast
          tables
            messages        = i_msgs
         EXCEPTIONS
           NOT_FOUND       = 1
           OTHERS          = 2.
        LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
    *--- Check first if there is an IDOC
          IF wa_msgs-msgv1 IS INITIAL.
            CONTINUE.
          ENDIF.
          v_idoc = wa_msgs-msgv1.
          CLEAR i_edidd[].
          CLEAR wa_idoc_ctrl.
          CALL FUNCTION 'IDOC_READ_COMPLETELY'
            EXPORTING
              document_number                = v_idoc
            IMPORTING
              IDOC_CONTROL                   = wa_idoc_ctrl
    *         NUMBER_OF_DATA_RECORDS         =
    *         NUMBER_OF_STATUS_RECORDS       =
            TABLES
    *         INT_EDIDS                      =
              INT_EDIDD                      = i_edidd
            EXCEPTIONS
    *         DOCUMENT_NOT_EXIST             = 1
    *         DOCUMENT_NUMBER_INVALID        = 2
              OTHERS                         = 3.
          CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
            EXPORTING
              object                              = wa_nast
              control_record_in                   = wa_idoc_ctrl
    *       IMPORTING
    *         OBJECT_TYPE                         =
    *         CONTROL_RECORD_OUT                  =
            tables
              int_edidd                           = i_edidd
    *       EXCEPTIONS
    *         ERROR_MESSAGE_RECEIVED              = 1
    *         DATA_NOT_RELEVANT_FOR_SENDING       = 2
    *         OTHERS                              = 3
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          COMMIT WORK.
        ENDLOOP.
      ENDLOOP.

  • Is it possible to display the document link for each record  in Report ?

    Hi,
         Is it possible to display the document or Image link for each master record in the Report  with the help of RSA1->Document->Master Data.
    Usefull answers are really helpfull.
    Advance Thanks for the userful answers.
    Regards,
    MRC.

    Hi  JAYASHREE PARASMAL ,
          Thanks for your valuable answers.
          Now i got the document in my Report,while executing the report through query designer as per your suggestion done on Setting Tab option.
          But i can't able to get the same thing,while i executing the Repory through WAD.
          What setting i need follow in the WAD for getting the same thing.
          Kindly give your suggestion to get the document in my Report,while i am executing through my WAD.
          Once again thanks for your helpful answer and awaiting for your suggestion.
    Regards,
    MRC.

Maybe you are looking for

  • Port Forwarding for Security Cameras

    I have a Cisco RV220W that I am trying to set up to view the store security cameras remotely. I can view the cameras when connected to the LAN but not with a WAN connection. The Video recorder is an ADT system.  Always Allow RTSP:TCP Enabled Any 192.

  • How do I download Firefox for Windows XP on an iMac?

    I have just installed Windows XP on an iMac (which otherwise runs Mac OS 10.6.3). I want to download Firefox to run under XP on it, but of course I have no browser on that part of the machine, so I tried to download it through the Firefox on my Mac O

  • Can't see friend on iChat video?

    My friend and I both have new macs, and she is in the northern woods of Wisconsin, but she has internet, and we can connect with video chat, but I can't see her. She can see me though. All I see is myself? Any reason why that would be?

  • Soap 1.2 in NetBeans 6.1

    I have a BPEL process (NetBeans 6.1 CAPS) calling a Visual Studio 2008 web service. It's a simple string in, string out scenario. There are a few posts on the web that claim to consume .net web service from BPEL using the most recent binding componen

  • Three Questions about J2SE 5.0

    I'm liking what I see with this new upgrade to Java, but I do have some questions that I hope you guys might be able to answer: 1) Generics and Arrays I'm updating a container class I wrote which used an Object array to store its elements: Before: pu