• RE: Automatischen Stempel im WF Manager setzen

    Hallo Herr Frey, 

    die Codebeispiele dafür habe ich in meinem vorherigen Beitrag verlinkt.
    Für Ihr Szenario wäre eine Einrichtung als Webservice um aus dem Workflow aufrufbar zu sein oder als Windows Service welcher Änderungen im Archiv überwacht sinnvoll.
    Wenn sich Ihr DocuWare Partner mit der .NET API auskennt, können Sie sich auch an diesen zur Unterstützung wenden.
    Ansonsten gibt es dafür auch fertige Lösungen von ADPs welche Sie einkaufen können, z.B. den "DocuScan StampRobot" oder den "Toshiba AutoStampService".

    Gruß aus Neuss,
    Simon H. Hellmann
    DocuWare System Consultant 
  • RE: neue Datenfelder nicht aktiv

    Hallo Frau Modrzejewska,

    verwenden Sie benutzerdefinierte oder Indexwertprofile für Archivberechtigungen?
    In dem Fall müssen neue Felder in diesen Profilen seperat zugeteilt werden.


    Gruß aus Neuss,
    Simon H. Hellmann
    DocuWare System Consultant

     
  • RE: How to subtract two dates

    Hi Rhys, 

    you can use the DateDiff VBA function in an arithmetic expression in workflow designer.

    Greetings from Germany,
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Stempel in einem Archiv nur für Dokumente mit gewissen Indexwerten

    Hallo  Herr Hayder,

    die User können sich beim Stempel setzen auch noch einen Klick sparen, denn Sie können die Stempel in der Werkzeugleiste einblenden lassen.

    Alles andere kann ich nur so bestätigen wie Sie es bereits beschrieben haben, hier hat DW nicht so viele Möglichkeiten, erst recht nicht bei den Stempelberechtigungen.

    Gruß, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: add row to table field with the API (C#)

    Hi Jon, 

    I think you are actually writing to a text field.
    I have never encountered this problem and every table I worked with has at least one decimal field.

    See my code snippet for putting any value into a decimal field in a table: 
    // var data is a string containing the data you want to write to the table field.
    if (!Decimal.TryParse(data, out decimal result))
    {
        throw new InvalidCastException("Error: value " + data + "is not a decimal!");
    }
    DocumentIndexField currentField = DocumentIndexField.Create(tableColumn, result);
    currentField = DocumentIndexField.Create(tableColumn, result);
    currentField.IsNull = false;
    currentField.ItemElementName = ItemChoiceType.Decimal;
    


    Greetings from Germany, 
    Simon H. Hellmann
    DocuWare System Consultant
     
  • RE: Workflows with Merge forms

    Hi Rhys, 

    did you select the fillable PDF?

    Greetings from Germany,
    Simon H. Hellmann
    DocuWare System Consultant

  • RE: add row to table field with the API (C#)

    Hi Jon, 

    for 1.)
    if you want to add new rows, you need to create a new DocumentIndexFieldTableRow like you wrote. Every column is a DocumentIndexField in the List ColumnValue. Your example works, if codeField, amountField and descriptionField are of type DocumentIndexField.

    for 2.)
    first, when getting anything you need to work with from the API, including documents, you should always use GetFromSelfRelation(), in the case of your Document, otherwise some attributes might not get loaded:
    MyDoc = GetDocumentFromFileCabinetById(conn, "<cabinetGUID>", DocId);
    MyDoc = GetDocumentFromSelfRelation();
    

    Second, you are missing one Step, you need to tell your code that your item is actually a table field, otherwise it just assumes you are working with a general DocumentIndexField:
    DocumentIndexFieldTable myTableField = (DocumentIndexFieldTable)MyDoc.Fields.FirstOrDefault(f => f.FieldName == "GL Account Distribution").Item;

    Hope this helps.

    Greetings from Germany,
    Simon H. Hellmann
    ​​​​​​​DocuWare System Consultant
  • RE: Install DocuWare On-Premise, but in Azure Cloud

    Hi Pedro, 

    this is still not officially supported. It may work, it may not work. Maybe you can find a customer who has this working on the current release, but I do not know of any.
    DocuWare provides no support for on prem installs on AWS/Azure if that is found to cause the issue.
    There was another thread recently talking about on prem in Azure where a DocuWare rep answered the questions - AWS follows the same rules as Azure here.

    Greetings from Germany, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: add row to table field with the API (C#)

    Hi Jon, 

    first, you need to create a new table field or get the existing table field from the document like in your existing scenario. 
    You can then create new index fields, add them to a new row and add this one to the table field.

    See my example: 
     
    DocumentIndexField currentField = DocumentIndexField.Create("TABLE_MYFIELD", value);
    currentField.IsNull = false;
    currentField.ItemElementName = ItemChoiceType.Decimal; //set the itemchoicetype according to what kind of field it is
    //creates a new table row and adds the existing field. If you have more than one column, create more fields like the first one and add to this list
    DocumentIndexFieldTableRow newField = new DocumentIndexFieldTableRow() { ColumnValue = new List<DocumentIndexField>() { currentField } }; 
    // when done with adding fields to the row, add the row to the table field
    tableField.Row.Add(newField);
    
    When done with adding rows to the table, just push the fields as usual with document.PutToFieldsRelationForDocumentIndexFields();

    Hope this helps. 

    Greetings from Germany,
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Searching multiple index fields through one field

    Hi Rhys,

    Fulltext might be a workaround, but I think you might be looking for keyword fields. Create one for Serial numbers in your file cabinet and have a look if that is what you need. 

    Hope this helps. 

    Greetings from Germany,
    Simon H. Hellmann
    DocuWare System Consultant