Skip to main content

Hi Team 

I want to fetch the custom field widget, but there is no direct API for it 
so I tried with the case overview, and it's not showing the key-value pair, which we were expecting.

Below is the response I'm, currently getting

{'title': 'Custom Fields Form', 'description': '', 'identifier': '27333705-f928-42f4-9647-3e3acef31695', 'order': 6, 'templateIdentifier': '1693af01-a37e-4d7f-b349-2e7110a0f709', 'type': 20, 'width': 2, 'configuration': {'customFields': [{'id': 3, 'mandatory': True, 'order': 1}, {'id': 7, 'mandatory': False, 'order': 2}, {'id': 9, 'mandatory': True, 'order': 3}], 'type': 20, 'widgetDefinitionScope': 2}, 'presentIfEmpty': False, 'conditionsGroup': {'conditions': [], 'logicalOperator': 0}, 'predefinedWidgetTemplateIdentifier': None, 'stepIdentifier': None, 'stepIntegration': None, 'blockStepIdentifier': None, 'blockStepInstanceName': None, 'isConfigured': True} 


is there anyway i can get the key value pair of the custom field?

 

Thanks 
Akash

Hi,

I think at the moment the only way to get custom field is use the manual action on Siemplify integration, because analyzing the python code I viewed that those API are private and linked to:

api/1p/external/v1/customFields

To avoid this problem, at the moment I suggest you to create a custom action inside the Siemplify integration and use the following function to retrieval all information about custom fields:

 

 

 

from TIPCommon.rest.soar_api import (
list_custom_fields,
list_custom_field_values,
batch_set_custom_field_values,
)

 


Hi,

I think at the moment the only way to get custom field is use the manual action on Siemplify integration, because analyzing the python code I viewed that those API are private and linked to:

api/1p/external/v1/customFields

To avoid this problem, at the moment I suggest you to create a custom action inside the Siemplify integration and use the following function to retrieval all information about custom fields:

 

 

 

from TIPCommon.rest.soar_api import (
list_custom_fields,
list_custom_field_values,
batch_set_custom_field_values,
)

 


Hi 
Thank you,

I tried it, but it only gave the object, not the list of the field I'm expecting .

 


Reply