I am working on an app within ArcGIS Online where a user will add reference layer to the map, based on it's URL.
Knowing the item's URL, is it possible to get it's Portal Item ID?
Ultimately, I want the app to pan to the reference layer when it gets loaded to the map.
As the reference layer is not really part of the map, I need to access it through FeatureSetByPortalItem. The problem is, I don't know what the Portal item ID will be, but do know what it's URL is.