Reach IDM files from Mongoose

Hi,

I need to get IDM files from Mongoose. For that I suppose that I have to upload file to IDM as Mongoose_Document, or some other Document type starting with Mongoose_

But for these Document types, there are these three fields which are mandatory in IDM Upload:

What should be filled here?

Thanks.

  • Hi

    If you use the DocumentObjects form in Mongoose it uploads to IDM directly and pre-populates these Attributes.

  • Hi Pavel,

    Have you figured out how to do it?

    Regard

    Kirill

  • Hi Kirill,

    yes I found solution.

    Not use Mongoose_ document type, but create my own, and then use Form Script to prepare variables:

            public void GetFileListSetParams()
            {
                ThisForm.Variables("varSSO").Value = "1";
                ThisForm.Variables("varServerID").Value = "0";
                ThisForm.Variables("varAPIContext").Value = "IDM";
                ThisForm.Variables("varHttpMethod").Value = "GET";
                ThisForm.Variables("varMethodName").Value = "/api/items/search?%24query=%2FMyDocType&%24offset=0&%24limit=1000";
                ThisForm.Variables("varMethodParams").Value = "[{\"Name\":\"Accept\", \"Type\":\"header\", \"Value\":\"application/json\"}]";
                ThisForm.Variables("varRequestContentType").Value = "";
                ThisForm.Variables("varTimeout").Value = "10000";
            }
    And then call InvokeIONAPIMethod for IDM ION API with these params