...
2a. Overwrite Destination Forecast button clicked
Display in Destination Workset the workset_name of the raft.data.CostObject.forecast\[\] whose workset_category == Department.Display the Word "Department" in the Destination WorksetWiki Markup - Get forecast cost object name from raft.data.CostObject.COTITLE, display it in Destination Forecast/ Forecast Cost Object field.
- Get the list of forecasts to display by calling GET: /rest/v2/costobject/:id/scenario and looking for worksetCategory == Department. All Department Forecasts should be listed in the Destination Forecast List.
- On click, call publish/share forecast with the selected forecast key as the destination scenarioKey, and the rest of the data from above as needed. If successful, close dialog, else show error in dialog.
...