Deployment Extensions

Print Friendly, PDF & Email

◷ Reading Time: 2 minutes

These extensions allow publishing the

  1. Deployment Package
  2. Individual logic documents

to a specific, custom location i.e. Database, FTP Server, etc. using the Package Builder.

Sample Extension

Download the sample extension from

http://www.flexrule.com/wp-content/uploads/2017/11/Deployment.Extension.Database.zip

Compile Sample Extension

  1. Open the sample extension project in Visual Studio
  2. Reference below assemblies in the project from latest version of FlexRule Designer
    1. FlexRule.Designer.Common.dll
    2. FlexRule.Designer.Core.dll
    3. FlexRule.Designer.Deployment.dll

Compile and you will find Deployment.Extension.DB.dll in the Debug folder of the project.

Registering

  1. Copy Deployment.Extension.DB.dll to the bin folder of FlexRule Designer
  2. Edit file FlexRule.Designer.Settings.config
  3. Locate Tag Designer/Deployment/Extensions
  4. Use below Add element to register your own extension
 <Designer>
  ... some other contents are emitted ...
  <Deployment>
    ... some other contents are emitted ...
    <Extensions>
      <Add assembly="FlexRule.Designer.Vault.dll" type="FlexRule.Designer.Deployment.Server.Extensions.FlexRuleServerControl"/>
      <Add assembly="Deployment.Extension.DB.dll" type="Deployment.Extension.DB.DatabaseDeployer"/>
    </Extensions>
  </Deployment>
</Designer> 
Updated on June 12, 2019

Was this article helpful?

Related Articles