投稿済み Thu, 27 May 2021 10:57:37 GMT 、投稿者 Victor Chisbert Consultant
Good morning,

Is there a way to create fields in a fileCabinet, or create roles on DocuWare from the .net or Rest API?

In the documentation example:
https://developer.docuware.com/dotNet_CodeExamples/fca0eecc-7e3f-42ae-b0dc-c2a4b6a032ed.html
There is a call that the user persists in Docuware from the .Net program:
org.PostToUserInfoRelationForUser (createUser);

I have created FileCabinetField objects:

public static void CreateDocumentIndexField (FileCabinet fc)
        {
            
            FileCabinetField fileCabinetField = new FileCabinetField();
            fileCabinetField.DWFieldType = DWFieldType.Text;
            fileCabinetField.DBFieldName = "TEST_FIELD";
            fileCabinetField.DisplayName = "Test Field Display";
            fileCabinetField.Length = 255;
            fc.Fields.Add(fileCabinetField);
}

When I run the code, it doesn't give any error, but the fields are not created in the file cabinet.

It is as if I was missing the call to persist in Docuware the changes in the list of fields.
But I have not found a method similar to .PostToUserInfoRelationForUser that applies to creating fields in the documentation



All the best
投稿済み Thu, 03 Jun 2021 10:57:37 GMT 、投稿者 Matthias Wieland DocuWare Europe GmbH Sr. Director Support EMEA
Dear Victor Chisbert! It looks like the Community cannot answer your question. That's why we have opened a Support Request with the Number SR-151545-Z9C2S for you. A Software Support Specialist will contact you directly to follow up. We will update this thread with the solution as soon as we have resolved the Support Request. With best regards, DocuWare Support Team

フォーラムに投稿するためにはログインが必要です。