Allow Workflows in Portal/Online to be overwritten from Studio Workflow
Not plannedIf a Workflow is saved out to Portal or Online and a change needs to be made to it. you have to do one of two things, neither of which are ideal for Schneider Electric's ArcFM Web 5.x customers:
1. Delete the Workflow from Portal/Online, open the new Workflow file in Studio Workflow, and save it under the old name. This causes the id of the file to change in Portal/Online, which will break all of the Viewers that our customers have set up using Studio Viewer. They will need to manually edit all the trace tools that they've added to all the viewers they've created. This could constitute hours of work.
2. Open both the Workflow that exists on Portal/Online and the new one that Schneider Electric has provided, delete the changed content from the existing one, copy in the changed content from the new file, and then save the existing file. While this preserves the id of the Workflow in Portal/Online, it constitutes what we consider editing our (SE) code, which is not something we would encourage our users to do. Unfortunately, because the ability to overwrite an existing Workflow in Portal/Online does not exist, this is the path we must instruct our users to take.
It would be a very smooth and easy task for our users to simple open a new Workflow file from us and save it to Portal/Online using the same name as the one that currently exists there. If there's a concern with a user accidentally overwriting something, you could provide a confirmation dialog like so many other apps do.
-
Official comment
HI Kim Ohrns,
This sounds like a great use case for VertiGIS Studio Item Manager. This is a free web-based application that allows you to edit items in AGOL/Portal. In your use case, you could do the following:
- Open Item Manager (https://apps.vertigisstudio.com/itemmanager/) and sign in.
- Locate the source item in the Portal Explorer section on the left.
- Select the item.
- In the next column, click Item Content. A text editor will appear to the right.
- Copy all of the contents of the text editor. (Personally I like to paste it into a separate text editor in case I accidentally lose it from the clipboard.)
- Locate the target item in the Portal Explorer section on the left.
- Select the item.
- In the next column, click Item Content. A text editor will appear to the right.
- Replace the content with the text you copied from the source item.
- At the bottom-right, click Save.
NOTE: If the two workflows do not exist on the same portal, you'll need to sign out of one and in to the other after copying the content, but hopefully that should be straightforward.
Comments
1 comment