1. Home
  2. FlexRule Designer
  3. Publishing a Project
  4. Development of Custom Extensions for Deployment

Development of Custom Extensions for Deployment

◷ Reading Time: 2 minutes

These extensions allow publishing

  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.

Compile Sample Extension

  1. Open the sample extension project in Visual Studio
  2. Reference below assemblies in the project from the 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 the 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 March 31, 2022

Was this article helpful?

Related Articles