# Limitations of add-ons

* The size of the add-on must not exceed 2GB.
* Content items only from the default providers are exported.

  > success  **EXAMPLE**: If you want to export the *News* module, together with its content items, Sitefinity CMS will export the items from the default provider for *News*. If your *News* module is also setup to use items from another provider, they will not be exported. For more information, see [Configure the modules of a site](https://www.progress.com/documentation/sitefinity-cms/edit-site-properties-and-configure-site-modules#configure-the-modules-of-a-site).
* All content items are imported in the default provider.
* In multisite mode, all imported dynamic modules will create a new content provider for each site of the multisite instance. However, the content items are imported in the provider, created for the first site where you activated the add-on. In order to use the dynamic content items of another site of the multisite instance, you must set their dynamic modules to use the content provider of the first site.

  > success  **EXAMPLE**: You have a multisite Sitefinity CMS instance that has *Site A* and *Site B* and you want to install an add-on that creates a dynamic module *ABC* and imports some dynamic content types. When you install the add-on, the following content providers are automatically created: *Site A ABC*, which is associated with *Site A* and *Site B ABC*, which is associated with *Site B*. When you activate the add-on on *Site A*, the content items are imported in provider *Site A ABC*. To use the items in *Site B*, you should configure its ABC dynamic module to use data from provider *Site A ABC*. For more information, see [Share content providers of modules](https://www.progress.com/documentation/sitefinity-cms/share-content-providers-of-modules).

  If in the add-on, you have custom code that uses `DynamicModuleManager`, you should use providers in the following way:

  ```C#
  using Telerik.Sitefinity.DynamicModules;

  namespace SitefinityWebApp
  {
      public class CustomCodeForAddOn
      {
          public static void CreateCustomCodeForAddOn()
          {
              string providerName = DynamicModuleManager.GetDefaultProviderName("Module name");
              var dynamicModuleManager = DynamicModuleManager.GetManager(providerName);

              //Create custom logic here

              dynamicModuleManager.SaveChanges();
          }
      }
  }
  ```

  This ensures that `DynamicModuleManager` always works with the correct provider for the current website.
* All related data and media fields are updated to work with the *Default site source*.

  > success  **EXAMPLE**: In *Site A*, you create a custom related image field to the *News* module. The field is setup to work with the images provider of *Site B*. You then export the *News* module in an add-on. When you install the add-on in *Site C*, the custom field is updated to work with the default provider for images in *Site C*.
* Default page templates are not exported.
* Dependencies, such as dependencies between modules and related data, related media, and classification fields, between pages and page templates, are not exported automatically, if not selected for export.\
  You must select all dependent modules.\
  For more information, see [Dependency of exported items](https://www.progress.com/documentation/sitefinity-cms/modules-supported-for-export#dependency-of-exported-items).
