A template is a preconfigured project that helps speed up automation design when used as a starting point for new automation projects. You can use one of the built-in templates or use custom templates from other sources, such as the organization-wide template feed. In addition, you can create and publish your own custom templates.
The following built-in project templates are available on the Start tab in Studio Backstage View:
- Background Process
- Mobile Testing Project
- Orchestration Process
- Robotic Enterprise Framework
- Trigger Based Attended Automation
- Transactional Process
If after updating Studio from a version prior to 2021.4 you experience issues such as no built-in templates being displayed on the Start tab or pinning/unpinning templates not working, do one of the following, and then restart Studio:
- Open the file
C:\Users\<user>\AppData\Roaming\UiPath\UiStudio.v2.settingsin a text editor and set the value of the
- Go to Settings > General and select Reset settings. For more information about the settings that are reset, see Configuring Studio Settings.
To browse and search for custom templates from all available sources, go to Home (Backstage View) and select the Templates tab.
User-defined processes, or test automation projects can be saved as templates to be used in other automation projects. Such templates may contain a particular set of dependencies and built-in workflows with already defined variables and arguments that can later be used in various projects.
- In the Studio Backstage view, under New Project, click Template.
- In the new template window, configure the following:
- Choose between a Process and a Test Automation type of template.
- Enter a name for the new project (up to 128 characters) and a description that summaries what you are aiming to do with this automation project (up to 500 characters).
- Select the location where to create the project. The default location where projects are created is
- Select the compatibility and language.
- Click Create and your template opens in Studio.
- A pop-up is displayed with information about customizable fields. Click Continue and optionally, select Don't show again.
Customizable fields allow you to create a template with sample data that is cleared when the template is published. This makes it easier to then create tasks with your own data from that template.
When creating a template, you may have fields that should become configurable once the template is published. As an example, this can be useful when creating a template using Excel activities where the file used and the range selected can change according to what is being automated.
For those instances, you can mark fields as customizable by clicking Plus on the right side of the field, then selecting Mark as Customizable.
This marks the field with an icon. You can still use fields marked as customizable as any other field, so you can run and test the project with your own values.
Once the template is published, the value in this field is cleared. If you reopen the template after saving it, your test values are kept and you can continue editing.
If you decide you’d like this field not to be configurable and maintain the values, select Plus > Unmark as customizable.
Processes and test automation projects can be exported as templates, published to a certain location, and then made available in the Templates tab in Studio's Backstage view.
A process, test automation, or modified built-in template opened in Studio can be exported using the Export as Template ribbon button.
When exported, the template is saved under the path in the Location field.
Unsaved changes made in files are automatically saved in the project before the template is created.
Publishing templates is similar to publishing processes and libraries, with the exception that the wizard contains an additional step where to enter template information. For more information, see About Publishing Automation Projects.
You can view all available project templates in the Templates tab in Studio Backstage View.
Recently used templates are listed at the top. You can search for templates by name and description, select whether to include prerelease versions, or filter templates by location.
The following template locations are available:
- All - All locations.
- Built-in - Templates that come installed with Studio.
- Official - Templates from the official UiPath feed.
- Orchestrator - Organization-wide templates feed, available when connected to Orchestrator.
- Local - The local user feed, by default:
C:\Users\User\Documents\UiPath\.templates. The location can be defined by selecting Settings > Locations in Studio Backstage view.
- Marketplace - Templates published to the UiPath Marketplace.
- Click the template. A window with details about the template opens.
- Select the version to use from the lower-left corner of the window, and then click Use Template.
- If the template uses any packages that require accepting license terms, click View License to read the terms, and then I Accept to agree and continue.
- In the new project window, edit the details of the project (name, location, description). Some templates also give you the option to select the compatibility and language.
Updated 2 months ago