Hi,
I have a process instantiation form that uses a custom data table widget to present data to a user.
The table content is in a form-defined variable of type “external API”, the API being /API/bdm/businessData/com.company.model…
The table column definitions, etc are also form-defined variables, they have been given fixed content.
When the process initiates the custom widget controller receives column definitions, etc. through the $scope.properties.xxxx variables - except for the table content, derived from the external API call, which is undefined. The call is correct for I see the desired table row objects when I use a text widget for display of the BDM array of objects received through the API.
I can call the BDM API directly in the custom widget controller using $http.get but this seems it should be unnecessary. Is there a simpler way to get the information to the controller when it is called? The standard table widget does not seem to have any difficulty and I don’t see any special handling (watchers, callbacks, etc) in its controller.