Hi @QunSun,
I understood your point. The dataSourceId is generated by Experience it self while we select the webMap.
My concern is, when I change the webmap like 'jimuMapView.view.map=newMap', the interactions like selection, is not happening. My understanding is, That is because of no JimuMapView has been created and using the existing one.
Am developing an custom widget which can get the WebMapId and create a webmap and change the existing WebMap. The user may can do this repeatedly based on the requirement.
Is there any way to handle this? Or this is not possible in experience builder?