Import & Export Accelerators

Importing & Installing an Accelerator

If you want to import an Accelerator that you have downloaded, click on the Accelerator Importer option located underneath the Portal Connector Accelerators sub-menu. The Accelerator Import option will allow you to import a .zip file for the purposes of importing the desired Accelerator to your website. When an Accelerator is uploaded to your website, it will be stored underneath ~/Accelerators in your website folder.

It is a best practice to ensure that the importing side and exporting side have the same version of Portal Connector. Additionally, it is also a best practice to ensure that any of the widgets on your forms do not have the default template selected. Doing so will cause the default template to be exported as well.
 
Accelerator Importer Location

Please note that you require an Accelerator Builder license in order to use this functionality. It should look like this:

Accelerator Importer

This screen will allow you to upload an Accelerator to be deployed on your website. You are also given the option of choosing whether to deploy the Accelerator immediately ( Upload and import accelerator immediately without saving to disk ) or saving it until later (Upload accelerator to disk for future import from the Available Accelerators list ). Please note that the latter option will not work on Azure instances.  If there are any errors thrown while uploading an Accelerator, they will be displayed in this same module.

Any uploaded Accelerators will be displayed in a list underneath the Available Accelerators tab.  In order to install one of these Accelerators, all you have to do is click on the install button located alongside the Accelerator. Please note that if you're installing an Accelerator that includes any bin folder or reference changes, the project will not be recompiled. Additionally, custom widgets in .ascx files will have to be recompiled into the project upon import.

Accelerator List

Finally, there are some settings that you may configure for the installation of Accelerators. Located underneath the Settings tab is a series of options for importing Accelerators. It should look like this:

Accelerator Settings

These options will allow you to choose if any newly installed Accelerator will be allowed to overwrite any already existing form, page, template, resource, or theme.

Additionally, you can access the same configurations in the back-end advanced settings of your Sitefinity project. These options are located underneath Portal Connector > Accelerator Settings:

Accelerator Settings

Exporting an Accelerator

If you have an Accelerator Builder license and want to export your Accelerator to another portal connector website, you can click on the Accelerator Builder option located underneath the Portal Connector Accelerators right above the Accelerator Importer page. When you update The Portal Connector, it is a good practice to re-export any of the Accelerators that you have created. This will ensure that the bundled components are up to date. The Accelerator Builder should look like this:

Accelerator Exporter Entities

This step-by-step form allows you to select the CRM Entities, saved queries, forms, pages, and templates that you would like to export as a .zip for deploying on another Portal instance. You will also have the additional option of choosing a number of folders from the project folder itself to include with the Accelerator in the case of dependent style sheets or JavaScript code. Please note that only folders can be selected for export as of now, and not individual files.

When exporting, there are a number of items that are automatically bundled up with your accelerator as required. Widget templates are exported if a page or form widget is making use of one. Themes are automatically exported if there is a template that requires them. However, Sitefinity content such as images or articles will not be exported with an accelerator.

The final step of exporting an Accelerator allows you to define a title, name, description, and icon for your Accelerator. Additionally, you may also package your Accelerator with a Dynamics CRM Solution ( In .zip format ) which will be installed once you install your Accelerator.

Accelerator Exporter Export