I am using the API Connector to GET some data and display it in a RepeatingGroup element. In the RepeatingGroup element, the ‘Type of Content’ and ‘Data source’ options are set to the API. In order to do this, the API GET Entry must be configured to ‘Use as’ Data in the plugin. If it’s set to ‘Use as’ Action, then it won’t show as an option in the Repeating Group data source.
However, to refresh the RepeatingGroup after an update is made to the API data, I am using a workflow to run the GET call again and then set the results back to the RepeatingGroup. The issue is in a workflow action, only API’s with ‘Use as’ Action will show as an option. So, I have to temporarily change the API configuration to ‘Use as’ Action (which causes an issue) and put it in the workflow, then change it back to ‘Use as’ Data to get rid of the issue that shows in red.
Is there an easier way to tell the RepeatingGroup to refresh its API data or is there a way to have an API call show as both ‘Use as’ data and action?