Is there a way to copy the APPS without deleting mypage?

My site is operated with 2 models and 2 Apps.
1.Dev Model - Dev Apps with no mypage
2.Prod Model - Prod Apps with mypage by enduser

Dev to Prod copy procedure:
SYNC from Dev Model to Prod Model
Duplicate Dev Apps to Prod Apps (New Prod Apps) and change model
(Old Prod Apps will be deleted)

In this case, Mypage will be deleted from New Prod Apps
I would like to keep Mypage in New Prod Apps, is this possible?
I think Mypage can be kept if you copy one page at a time instead of all the apps, but it will be a lot of work.

Or is there a way to copy Mypage from Old Prod Apps to New Prod Apps?

Best Answers

  • Dikshant
    Answer ✓

    @EijiDevUser - Create a duplicate of the Dev page.

    Move the page to Prod App.

    Delete the existing page from the Production app and rename it properly to remove duplicate 1 from the name. This way you will retain the My Pages created by the end user. Give it a try once!

  • Dikshant
    Answer ✓

    The other way is to keep one app and link all the pages with the dev and prod model. But that way you need to ensure you don't publish the changes but save them. Do the ALM sync first and then publish the UX changes. I think these are the only two ways, there is compare and sync kind of option in case of NUX.

Answers

  • mery678
    edited December 2024

    Hello,
    To address your issue of retaining the Mypage during the process of copying from Dev to Prod, here are a few solutions:

    Option 1: Selective Copying of Pages
    Yes, copying individual pages, such as Mypage, instead of the entire app is one way to retain it. This approach, while manual, ensures that your Mypage remains intact. Here's how it can typically be done:

    Export Mypage: Export the specific page configuration from the Old Prod Apps.
    Import Mypage: Import the page configuration into the New Prod Apps after duplicating the app from the Dev model.
    Some platforms provide an automated way to export/import specific pages, which could reduce effort.

    Option 2: Merge Apps Post Copy
    If your platform supports merging applications:

    Copy from Dev to Prod: Duplicate the Dev Apps to Prod Apps as usual.
    Merge Mypage: Extract or manually copy only Mypage from the Old Prod Apps and add it to the New Prod Apps. This is similar to importing a specific feature or module.
    Option 3: Adjust Copy Workflow
    Modify your Dev to Prod copy procedure to account for Mypage:

    During the sync and duplication process, exclude Mypage from deletion or overwriting.
    Check if your platform supports "protected" pages or configurations that are not affected by the sync/duplicate process.
    Option 4: Use APIs or Automation Scripts
    Leverage the platform's APIs or scripting tools to automate the transfer of Mypage:

    Script Export/Import: Write a script to export Mypage from Old Prod Apps and import it to New Prod Apps automatically. RentaCiudadana
    API Automation: If your platform has APIs, automate the preservation of Mypage during the app duplication or sync process.
    Option 5: Hybrid Approach
    If manual copying of one page at a time is too much work:

    Export the structure and configuration of all pages in the Old Prod Apps, excluding Mypage.
    Use tools to compare configurations of Old Prod Apps and New Prod Apps, ensuring only Mypage is migrated.
    Summary:
    The most efficient solution depends on your platform's capabilities:

    If APIs or automation tools are available, use them for efficiency.
    If selective export/import is feasible, apply it specifically for Mypage.
    For repetitive work, consider scripting or seeking support from your platform provider to create custom workflows.
    Would you like detailed steps or help exploring any of these methods further?

    Best Regards
    merry678

  • Thank you very much for your answer

    Export Mypage: Export the specific page configuration from the Old Prod Apps.
    Import Mypage: Import the page configuration into the New Prod Apps after duplicating the app from the Dev model.

    Please tell me about the Export/Import you answered.
    In the APPS Mypage menu,[page settings] or [Delete only] only exists

    Is this Export/Import operation to be performed from the APPS menu?
    Or is it an operation performed from an external utility?

    Also, I believe that other users' mypages cannot be viewed from APPS.
    Is it possible to operate other users' mypages using the Export/Import method you answered?
    Please tell me what kind of utility it is.

    I have Page Builder permission and Model Builder permission

  • EijiDevUser
    edited December 2024

    Thanks Dikshant

    I understand what you have taught me.
    I'm looking for another method because it takes a lot of effort when there are many pages to change.

  • Thanks Dikshant

    Thank you for suggesting another method
    The second method seems difficult to operate, but I will consider either method.