Design, Deployment and Usage of Designer - Hyland RPA - Foundation 23.2 - Foundation 23.2 - Ready - Hyland RPA - external

Hyland RPA

Platform
Hyland RPA
Product
Hyland RPA
Release
Foundation 23.2
License

Design

Activities can be used without a design, but will display a default layout inside RPA Designer.

To create a custom design, add a new ActivityDesigner to the AM.AwesomeCalculator.Activities.Design named StringCalculatorDesinger.

To indicate that the new design is intended for the Analyst view, we need to add the following line to the StringCalculatorDesinger.xaml.cs file, above the class name:

[AnalystDesigner(typeof(StringCalculator))] 

To create a Developer view, use the following line:

[DeveloperDesigner(typeof(StringCalculator))] 

To use this design as default, add the following resource dictionary inside the StringCalculatorDesinger.xaml:

<FrameworkElement.Resources>
     <ResourceDictionary>
         <ResourceDictionary.MergedDictionaries>
             <ResourceDictionary Source="pack://application:,,/AM.Common.Activities.Design;component/StylingDictionaries/ActivityStyling.xaml" />
             <ResourceDictionary>
                 <amConverters:PropertyDescriptionConverter x:Key="PropertyDescriptionConverter" />
                 <ArgumentToExpressionConverter x:Key="ArgumentToExpressionConverter" 
 xmlns="clr-namespace:System.Activities.Presentation.Converters;assembly=System.Activities.Presentation" />
             </ResourceDictionary>
         </ResourceDictionary.MergedDictionaries>
     </ResourceDictionary>
 </FrameworkElement.Resources>

Deployment

To use your custom activity, compile the solution and copy all files from the SkeletonActivity folder into the Libraries folder of RPA Designer.

Usage in Designer

In RPA Designer, you can use your custom activity from the library tab.