According to the Knowledge Center Page for the method `getPropertyGroupProperties` it should return all the elements for the group and node and its values (see https://docs.openkm.com/kcenter/view/sd ... Properties). It only returns the elements without their values.
The following code is what I expected to be able to do
The `getPropertyGroupPropertiesSimple` does return values besides the names, but these are the names they are given within OpenKM and are those are not usefull for my application. I want the labels of the elements and values, which I expected to get with `getPropertyGroupProperties`
I am using the 1.2.2. .NET SDK with Visual Basic.NET
The following code is what I expected to be able to do
Code: Select all
However the `getPropertyGroupProperties` returns a `List<FormElement>`. The class `FormElement` doesn't even contain a `values` or `value` field. It onlys has fields for `label`, `name`, `width`, `height`.For Each group In metadataGroups
Dim properties = ws.getPropertyGroupProperties(selectedDoc.path, group.name)
For Each prop In properties
TextBox6.AppendText(prop.label + vbCrLf)
For Each value In prop.values
TextBox6.AppendText("- " + value + vbCrLf)
Next
Next
Next
The `getPropertyGroupPropertiesSimple` does return values besides the names, but these are the names they are given within OpenKM and are those are not usefull for my application. I want the labels of the elements and values, which I expected to get with `getPropertyGroupProperties`
I am using the 1.2.2. .NET SDK with Visual Basic.NET