Skip to main content

I have made custom actions before, but have NOT ventured to the map. 

I would like to run a custom action from a selected Map Polygon (and my action does show up there). 

However, in the VF and Lightning Out components I generated around it, I appear to only be collecting the SA Id(s) surrounded by the polygon on the map at that time. 

Is there any known way - perhaps via "additional parameters" to obtain the Id of the Polygon that was right clicked and the action was run from?   

 

I think another way of asking my Q is that the docs specify 3 x action types: CustomGanttServiceResourceAction, SA, and RA.  So ... other than running from the map or a polygon on the map, is there no 4th type "CustomGanttPolygonAction"? 

 

FYI Docs

https://developer.salesforce.com/docs/atlas.en-us.field_service_dev.meta/field_service_dev/fsl_dev_code_samples_dispatcher.htm

1 Antwort
  1. 19. Sept., 21:07

    I think this is not currently supported. There is no CustomGanttPolygonAction, and the Polygon ID is not passed through additionalParameters. The action only receives the Service Appointment IDs within the selected polygon.

0/9000