Moving a Community Application Between Compartments

Use Marketplace to move a community application from one compartment to another.

    1. Open the navigation menu and click Marketplace. Under Marketplace, click Community Applications.
    2. Under List Scope, in the Compartment list, click the name of the compartment that contains the community application that you want to move.
    3. Select the community application that you want to move and click Move Resource.
    4. Select the compartment to which you want to move the community application, and click Move Resource.
  • Open a command prompt and run oci marketplace publication change-compartment to move a community application from one compartment to another:

    oci marketplace publication change-compartment --compartment-id <target_compartment_id> --publication-id <target_publication_id>

    For example:

    
    oci marketplace publication change-compartment --compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz --publication-id ocid1.marketplacecommunitylisting.oc1..examplea3o7jtytz3lsfauxeq6sp5ye3ex624rgsw2ol4cvbpy2qtm57dgja

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangePublicationCompartment operation to move a community application to another compartment.