We are trying to figure out ODATA API to 'Add Goal' ( from an existing goal plan/ new goal) to the performance forms.
Please find the attachment for corresponding UI element for the same functionality. 'Add Goal' button highlighted in yellow, which allows user to add goals immediately to Goal plan and performance form.
We tried to achieve this through ODATA API as below to add goal to existing performance form.
Here "itemId": "4125" is a goal Id in the corresponding Goal plan but not listed in the performance form.
Can you please help with the proper ODATA API payload to achieve this functionality.
A form have a section
with a goal template configured to it.
when you add a goal
- by Ui
- by import
- by api
you are adding a goal in the goal plan
the fact that the goal is synchronized with the form section will depend of the autosync value configured in the form.
if autosync is wrongly configured in the form goal created will never appear in the form.