Closed jevandusen closed 3 years ago
Hey @jevandusen! @thollingshead is actually working on a fix for this as we speak 😄
@thollingshead if I recall, there was at least one other facet to this issue. Can you comment on what all the fix will entail?
Yes, a fix is underway. It will address updating both the item ID as described above, as well as the Organization/Enterprise base URL to cover scenarios of copying the apps between Portals. This change will cover all the applicable application item types.
Perfect, thanks @jpeterson and @thollingshead! Apart from this, the copying seemed to work well -- really useful.
@jevandusen – @thollingshead's fix should now be live in today's release!
Here's the rest of the changelog: https://guide.assistant.esri-ps.com/docs/changelog#1-november-2021
Thanks @jpeterson and @thollingshead! Just tested it out and it seems like it's working as expected now.
Describe the bug After using the "Copy Items" tool in the ArcGIS Assistant to copy a hosted app (e.g., a story map, Instant App, or Web AppBuilder app), the URL property of the new app still uses the URL of the original app. This incorrect URL can be seen in the app's description JSON and in the URL field of the ArcGIS Online item page. The effect is that clicking the "View" button on the app's ArcGIS Online item page causes the original app to be opened.
To Reproduce Steps to reproduce the behavior:
Expected behavior The new app's URL property should contain the new item ID, rather than the item ID for the old app.
Additional context I have been able to reproduce this issue for apps created using the classic Story Maps templates, the new StoryMaps builder, the Web AppBuilder, and the Instant Apps templates. I suspect that it is an issue with copying hosted apps in general.