Any way to add multiple documents into document collection?

How to add multiple documents to a document class?

I've tried adding SourceObjectFiles from the documents and creating new object with object type document collection with the SourceObjectFiles. But it shows error.

So, I guess there will be an approach for creating an object of document collection type and add those documents into the newly created document collection object type. 

Appreciate your assistance on this.

Parents
  • Document collections are a specific object type, and they have a property ("collection members") that points to other documents (not files).

    Can you try to explain specifically what you want to achieve, maybe with a screenshot of what the result will be?

  • Thanks for the quick response. I want to achieve something like this - 



    What I can achieve till now is changing version (after some processing) of those documents. (attached screenshot)

    But want to achieve the same for fresh copy of those documents attached into document collection.

  • So the process would be:

    1. Create Test Document 1.pdf as an object in the system; these must be Document objects (type = 0).  For this you will need the file and metadata, as you would any other object.  Note the internal ID of the document.
    2. Repeat step 1 for any other documents you want in the collection (e.g. Test Document 2.pdf).
    3. Create Test document collection as an object in the system.; this must be a Document Collection object (type = 9, from recollection).  For this you just need the metadata, and include a MSLU property for "Document Members" (ID 46) which has entries for the documents created in step 1 and 2.
Reply
  • So the process would be:

    1. Create Test Document 1.pdf as an object in the system; these must be Document objects (type = 0).  For this you will need the file and metadata, as you would any other object.  Note the internal ID of the document.
    2. Repeat step 1 for any other documents you want in the collection (e.g. Test Document 2.pdf).
    3. Create Test document collection as an object in the system.; this must be a Document Collection object (type = 9, from recollection).  For this you just need the metadata, and include a MSLU property for "Document Members" (ID 46) which has entries for the documents created in step 1 and 2.
Children