Application asset usage in robotic project
Application assets are similar to libraries; you can download and integrate the assets into your robotic project. The application assets elements are read-only; however, you can view their implementation details after you add them to your project. You can add assets with the Project Explorer. Pega Robot Studio organizes all imported assets to the Assets folder in the Project Explorer, as shown in the following figure:
Assets preview
You can examine the internal implementation of the assets by clicking the asset name in the Project Explorer and navigating to the Interface tab. This tab displays all properties, methods, events, and forms associated with the asset. A lock icon indicates that the asset elements are read-only; however, you can open and preview these elements by clicking , as shown in the following figure:
Assets usage
To effectively use asset elements in your automation, it is essential to integrate them into your workspace. This process involves adding the asset to your palette, from which you can access and use various assets in your automation projects. By navigating to the automation tab and clicking Include, you can explore the Asset tab to view and incorporate all available assets, as shown in the following figure:
After you include the automation, the application asset and its controls become available in the Applications section of the designer palette. To add the asset elements to your automation, drag the main application control to the automation surface to open the Select action window. The Property, Method, and Event tabs contain application asset elements at the top of the list. Hovering your pointer over the question mark icon displays the documentation part of the selected element, as shown in the following figure:
Access to Asset Globals and application forms
As a Citizen Developer, you can only view the application form elements. You can access them from the Forms section of the Palette in on the Interface tab of the application. If the form is displayed within one of the asset methods, it is available in your robotic project when you use the method.
Similarly, Asset global elements are also read-only. The asset developer can provide Citizen Developers with access to the Global variable using the application property.
Check your knowledge with the following interaction:
This Topic is available in the following Module:
Want to help us improve this content?