DB2: Duplicate/Copy ui-pages with all widgets?

Well - I got it to work. Here are the steps I took.

  1. Created a new flow and moved the flow tab right next to the one I wanted to duplicate
  2. Copied the old flow (I did it in sections/groups) to the new flow page. This will duplicate the dashboard widgets on the original ui-page.
  3. Created a new ui-page (named it similar to the original and moved it right below the original ui-page in the Dashboard 2 panel on the right side of the editor). The configuration of the page (theme, custom CSS, icon etc. where the same as the original, but the “Path'“ was new.
  4. On the new ui-page, created the first group (named it exactly as the original and made sure the settings were the same)
  5. Dragged the duplicate widgets from the original ui-page/group to the new ui-page/group making sure that they were in the same order (Note: the copied widgets are not sorted in same order as the original - eg. Original order 1→2→3, copied order 2→3→1)
  6. Repeat for each ui-group on the original ui-page.

My earlier approach of importing the flow (after selecting the option to “copy” duplicates) had a few issues.

  1. It looks like the ui-groups were not duplicated
  2. The duplicate ui-page had the same “Path” as the original but had no associated groups.
  3. All the duplicate widgets were under the original group, so I would have had to do steps 4-6 in any case

I have created a “feature request” with some suggestions to improve the process to import flows ( Importing flow duplicates detected - window is not resizable ). Hopefully it will be considered down the line.