-
RE: Any way to include table field or table field in CSV Export?
Hello Mayra,
yes, if you do not wish to use the Platform .NET/REST API, then you need to convert the table field to a keyword field to a text field.
When Programming with the REST API, you can also export the data without needing to convert it.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: How to retrive count of row in table field?
Hello Mayra,
if you are using the .NET API, you can retrieve this info via DocumentIndexFieldTable.Row.Count() ( see Documentation )
Doing so in the Workflow Designer is probably not possible without getting all the values and counting them with a loop.
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant
-
RE: Is it possible to hide the thousand separator for a numeric field on Docuware 7.2?
Hello Mayra,
as the KB article mentions, this was only a feature for the Windows Client (prior to Version 6.7). The current DocuWare WebClient does not support this feature. (However, I already had several customers ask for this)
Maybe there is already an idea over at Uservoice.com - if not, you could create one.
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: Decisions can be made using stamps
Hello Kilian,
this is exactly what you need. The option "Decision can be made using stamps" enables stamps for this workflow task. The stamp has no extra configuration, it displays the same fields as the form/dialog box.
The only thing you can configure is which fields are actually stamped onto the document. This setting was introduced in 7.2.
See screenshot:
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: DocuWare Tray Disappears
Hi David,
are you talking about the old fat client trays or the new web client baskets?
Personally, I have never worked with the old fat client. Regarding the new web client baskets, I have never seen or heard of this.
Maybe the Basket User accessed the configuration and changed access rights to the basket or deleted the basket (in case he had configuration rights)? Can you still see the database table for this basket (if on-premise)?
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: REST API: Workflow list
Hello Chema,
I realized this the hard way just some weeks ago. There are two functions to access all the workflows in the system (see here).
If you use the method
you will only get workflows in which the User you used for creating the connection owns a task. All Workflows without active tasks or without tasks assigned to the logged in User will not appear with this function.org.GetWorkflowsFromWorkflowsRelation();
I then switched to use the second function:
This gets me all the workflows in which the User you used for creating the connection is a workflow controller, regardless of if there are tasks available or if he owns a task.org.GetWorkflowsFromControllerWorkflowsRelation();
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: DocuWare Cloud
Hi John,
simply ask the support team (via a support ticket) over at support.docuware.com to schedule an update for you.
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: read from table column with SDK
Hi Jon,
you can find the table field with the sdk and loop through all columns and rows within it to get the value you need.
See my example in C#:string TableFieldName = "myTableField"; Document document = conn.GetFromDocumentForDocumentAsync(docID, fileCabinet.Id).Result; List<DocumentIndexField> fields = document.Fields; DocumentIndexFieldTable table = fields.First(f => f.FieldLabel == TableFieldName).Item as DocumentIndexFieldTable; int rowCount = table.Row.Count(); for (int i = 0; i < rowCount; i++) { // iterates through all table field columns for (int j = 0; j < table.Row[i].ColumnValue.Count(); j++) { string currentFieldName = table.Row[i].ColumnValue[j].FieldName; string itemAsString = ToStringNullSafe(table.Row[i].ColumnValue[j].Item); // do more stuff with the data } }
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
Workflow URL creation
Hello community,
I want to generate a URL to a result list with a specific search from within the workflow designer, so I can use the link in a task.
The search query is dependent on values from the workflow instance, thus I need to generate the URL dynamically within a data assignment step or similar.
As you may know, the search query parameter is Base64 encoded - is there any way to encode a string as base64 inside a workflow, or am I out of luck and have to use a webservice for that?
example URL:https://serveraddress:443/DocuWare/Platform/WebClient/Integration?culture=en-EN&p=RLV&fc=00000000-0000-0000-0000-000000000000&q=W0RvY3VXYXJlRnVsbHRleHRdIExJS0UgIipJbnZvaWNlIDEyMyoiQU5EIFtDT01QQU5ZXSA9ICJQZXRlcnMgRW5naW5lZXJpbmciIEFORCBbU3RhdHVzXSA9ICJkb25lIg2
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant -
RE: Remove spaces
Hello Dean,
you can do this with a data assignment in a Workflow using the "replace" function in an arithmetic expression:Replace(String, String, String, Int32, Int32, CompareMethod)
//Returns a string in which a specified substring has been replaced with another substring a specified number of times.
example:Replace(GV_Number," ","")
would replace all spaces in the global variable "Number" with nothing.
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant