Version:

Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

    Partial package export

    You can create and manage sync packages that contain specific Site Studio and Drupal entities. For example, you can create a package that contains just your Components, or a package that contains a Drupal content type and a Site Studio template for it. Each package you create is saved as a Sync package entity. You can create as many packages as you need and manage them individually. This is useful if you only want to export something specific from a website or design system.

    Creating a sync package

    To create a package:

    1. Navigate to Site Studio > Sync packages > Manage packages
    2. Click Add package
    3. On the next screen, give you package a name and optional description. This will help you manage your packages if you create many of them. In this example, we're creating a package for a blog so we've named it 'Blog feature'


       
    4. Within Package requirements, select the Site Studio tab and entity types you want to include using the menu on the left
    5. Check each entity to include within your package. In this example, we're selecting just the content templates for the blog


       
    6. Within Package requirements, select the Drupal entities tab and entity types you want to include using the menu on the left
    7. Check each entity to include within your package. In this example, we're selecting just the content type for the blog​​​​


       
    8. Click the Build package button. This will run a process that calculates all the dependencies of your selected entities and build a package including them


       
    9. Within the Package content section you can see all the entities included. You can expand each section to see the specific entities


       
    10. Optionally uncheck any entities you do not want included within your package. In this example, we've unchecked the colors as we know the site to use the package already has them



      Or instead of individually selecting entities, you can choose to exclude specific entity types from being included within the dependancy calculation using the Exclude entity types section


       
    11. Click Save package to save the package.

      Downloading a sync package

      Once you have created a sync package you need to generate a .tar.gz archive file before it can be downloaded.

      1. Navigate to Site Studio > Sync packages > Manage packages
      2. In the table packages, click Export package as .tar.gz.

      3. This will start the Drupal Batch process


         
      4. Once the Batch process completes, you will be redirected to the "Download package" page where information about the generated file and a download link are available. Click the link to start the file download


         
      5. To return to the Package list page, click on Back to package list. This will take you back to the Site Studio > Sync packages > Manage packages page

      Downloading a sync package in legacy format

      Site Studio 6.8.0 introduced a new package management format. For more information click here.

      The legacy package export method described below will be removed in Site Studio 7.0.0

      Once you have created a sync package you can download it as a file.

      1. Navigate to Site Studio > Sync packages > Manage packages
      2. In the table packages, click Export package as YML file

      DX8 knowledge base icon

      Frequently asked questions

      Get instant answers to common questions. Available online 24/7.

      Find answers

      Raise a ticket icon

      Raise a support ticket

      To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

      Raise support ticket

      Acquia

      Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.