Skip to main content
Version: 2024.1

Other SDK

Custom business rule

Custom business rule can be used for:

  • Validation
  • Implementing complicated logic and calculations
  • Changing form appearance
  • Changing form behavior

EvaluateAsync

When you create a new custom business rule using our templates, a EvaluateAsync method will be generated by default. This is the method that will be called by the BPS when the business rule is used.

 public override Task<EvaluationResult> EvaluateAsync(CustomBusinessRuleParams args)
{
throw new NotImplementedException();
}

Custom label printing template

Custom label printing template can be used for:

  • Creating custom label (stickers for marking documents) appearance
  • Handling printouts by an external system

OnGetLabelCustomAsync

When you create a new custom label template using our templates, a OnGetLabelCustomAsync method will be generated by default. This is the method that will be called by the BPS when the custom label template is used.

 protected override Task<string> OnGetLabelCustomAsync(CustomLabelPrintParams parms)
{
throw new System.NotImplementedException();
}