Skip to content

Create Method

Volodymyr Afanasiev edited this page Apr 5, 2019 · 4 revisions

This command gives possibility to create a new method based on an Aras Innovator template.

Create new method button in context menu

Figure 1. Create new method button in context menu

Also, you can click button on Aras Innovator Ribbon

Create new method button in ribbon

Figure 2. Create new method button in ribbon

Create new method dialog

Figure 3. Create new method dialog

Name Description
Method Type Combo box for choosing method type. Now supported only “Server” type
Template Name Combo box for choosing template. Templates loading from method-config.xml file and filtered by selected language.
Language Language which will be used for creating method. Now only CSharp is available
Event data Display code of selected template and “Event data” changes applied to template code
Code Template Name Code template of created method. Provide ability to select a 'Method' package file. More information can be found in Code Template page
Comment Comment of created method
Template Preview Template Preview of created method
Execution allowed to Selected Identity which will be able to execute this method in Aras Innovator side
Package Combo box for select or create package definition where method will be stored
Method Name Name for created method
Use Visual Studio formatting Combo box to change enable/disable state of code formatting
OK OK button. Close dialog and create method in Visual Studio
Cancel Cancel button. This button closes this dialog

Table 1: Description of Create new method dialog

After click to Execution allowed button Search dialog will be displayed

Search dialog

Figure 4. Search dialog

Clone this wiki locally