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