How to get the columnname in UDF-tables by columnid

lock
push_pin
done
Answered
2

HOw do I find the actual database field name based on the response ? 


  {
    "UDefFieldId": 715,
    "ColumnId": 40509,
    "FieldDefault": "",
    "FieldHeight": 17,
    "FieldLabel": "Postnummer",
    "FieldLeft": 100,
    "FieldTop": 0,
    "FieldType": "ShortText",
    "FieldWidth": 100,
    "FormatMask": "",
    "HideLabel": false,
    "IsIndexed": true,
    "LabelHeight": 17,
    "LabelLeft": 0,
    "LabelTop": 0,
    "LabelWidth": 100,
    "LastVersionId": 705,
    "ListTableId": 0,
    "IsMandatory": false,
    "Type": "Sale",
    "Page1LineNo": 1,
    "ProgId": "zip",
    "IsReadOnly": false,
    "ShortLabel": "",
    "TabOrder": 0,
    "TextLength": 20,
    "Tooltip": "",
    "UdefIdentity": 1,
    "UDListDefinitionId": 0,
    "Justification": "Left",
    "Version": 18,
    "TemplateVariableName": "ss01",
    "HasBeenPublished": true,
    "MdoListName": null,
    "TableRight": null
  },

8 May 2025 | 11:48 AM

All Replies (2)

It isn't directly available from the API response, but you can calculate it yourself using the information from the API response, see the docs:

https://docs.superoffice.com/en/api/netserver/entities/howto/custom-objects/get-udef-field-value.html

https://docs.superoffice.com/en/custom-objects/reference/index.html

8 May 2025 | 01:49 PM
Thanks.
8 May 2025 | 02:41 PM

Add reply