Help Center>Foundation Help

Applies to:

Working with Winshuttle Composer deployment profiles

On this page

Winshuttle Composer Deployment Profiles enable you to easily develop a Composer solution and move it through an environment. A workflow solution can have one or more deployment profiles for publishing solutions.

For example, you can have a development environment used for building and testing a solution, as well as profiles used for QA, testing, staging, and (finally) publishing into your live/production environment.

Types of deployment profiles

Back to top


Solution Pane Deployment Profile Right-Click Menu

 Four deployment profiles are available in a new Winshuttle Composer solution by default:

  • Default
  • Development
  • Staging
  • Production

To use or make changes to a development profile, you must set the profile as Active.

In the Solution Pane, under Deployment Profiles, right-click a profile to:

  • Add a new profile
  • Delete a profile
  • Set a profile as Active
  • Edit Variants for the selected profile

Working with deployment profile variants

Back to top

Deployment profile variants

The following variants are available within deployment profiles:

  • Workflow properties
  • SharePoint Site
  • SharePointTaskListSite
  • ShareVisStatusListSite
  • AutoAttachedDocumentSite
  • Swim Lane users
  • Form data connections
  • Plugins
  • Workflow participant resolvers

Variants are stored within a Deployment Profile that represent different parts of a solution. Variants can be applied to Swim Lane users, form data connections, plugins, workflow participant resolvers, and Composer elements.

Variants change based upon the environment to which the solution is deployed, and you can create unique variant definitions in a Solution file so they will not need to be changed every time the solution is moved between environments.

As you work through the development process, you may have a deployment profile for your development environment and one for your production environment. Once you have finished working in the development environment and you are ready to publish the solution to the production environment, some of your variables (or variants) may change.

Example: A solution using the Attachment element could have a different value for the file parameter depending upon which profile is used. A Development deployment profile could use a value of D:\ for the drive location, whereas the Publishing deployment profile could use a value of C:\ for the drive location.

Data Connections are a good example of something that will probably need to change when moving a solution from a development to a production environment. A data connection usually connects to a data source inside the same environment in which you are working. But when you move the solution from that environment (from staging to production, for example), that connection is severed.

Setting the active deployment profile for a solution

Back to top

It's important to set a Deployment Profile as Active to apply its settings to the current Solution.

  1. Click the Solution tab.
  2. In the Solution Pane, click Deployment Profiles to expand it.
  3. Right-click a deployment profile, and then click Set Active.

When a solution is saved, it will be saved to the Workflow Site that is defined in the Active Deployment Profile. In addition, the solution will only be saved to the Workflow Site that is defined by the Active Profile. If you change the Active Profile, the source solution file could potentially change locations as well.

Configuring deployment profiles and variants

Back to top

Editing Deployment Profile Properties screen

To view or change the general properties for a deployment profile:

In the Solution Pane, under Deployment Profiles, click a deployment profile. In the General Properties pane, you can view or change the following properties:

  • Name: The name for the profile.
  • Description: A meaningful description for the profile.
  • Status: This is a note for the internal developer. You can mark the deployment profile as New, In Production, or Deprecated.
  • Deployment Variants: Click the Options button [...] to view a complete summary for the variants associated with the solution.

Configuring deployment profile variants

  1. Click the Solution tab.
  2. In the Solution Properties pane, click Deployment Profiles to expand it.
  3. Click the name of the deployment profile you wish to configure.
  4. In the Variants pane (below the Solution pane), next to Deployment Variants, click the options button [...].
  5. Set the properties for the deployment profile variants.

Configuring variants (alternate method)

  1. Click the Solution tab.
  2. In the Solution Pane, click Deployment Profiles to expand it.
  3. Right-click a deployment profile, and then click Edit Variants.

Best Practices for using deployment profiles

Back to top

Prior to deploying, right-click and set the desired profile to “active”. On changing a profile to active, Composer will request credentials to the target environment. After credentials are supplied, click Deploy in the ribbon to start the deployment profile.

Your most recent version of the solution file will be saved to the Composer Solutions library on the target form site of the active profile. If any changes have been made to the solution since the last deployment to the development environment, consider re-deploying there prior to have consistent versions between environments.

Remember to set the active profile back to default or development before making any further changes.