Users can write business logics without using any code with this feature. A list of applicable functions and actions are listed in the smartcode block.
A dialog is opened if the user clicks on the smartcode option against the event. Users can search and select the method that is to be added against the selected event. If the user clicks the function, then the respective parameters are listed on the right side of the dialog. Proper validation is given based on the function selected.
Users can add multiple functions for a single smartcode & the added smartcodes are listed in the code templates.
Edit and Remove Smartcodes
Users can edit the added functions, change the values of each parameter and remove the added functions with proper confirmation.
Users can add any functions in between the order.
Users can call any other functions when the response is received from the sources. It has two blocks i.e. Success and Failure. Users can add multiple smartcodes inside the Success block and the codes will be executed when the request has a positive response. If there are any failures, then the user can trigger the functions in this section.
Save Smartcode as Template
Users can save the smartcode as a template if they need to use the same code in another control.
Convert as Directcode
Users can directly convert the smartcode as a directcode if there is a need to write the code directly. This conversion can be done only when the user has saved the smartcode at least once in the development environment.