Adding the Activities Feature Layer to Webmap
The webmap must be created either on ArcGIS Online or ArcGIS Enterprise Server portal with all the required asset layers. The Tasks feature layer must be added to the webmap to be able to access from the Asset feature layers.
For information on how to create a webmap and add feature layers to the webmap, refer to the following documentation: