Looking at the activity package built in this tutorial, you'll see several placeholders where information such as the author, license, icon, etc. should go. Let's personalize the package by replacing those placeholders with real information.
The focus of this section will be on the Design project, which holds all your package info.
Open the MyCompany.MyProduct.Activities.Design project by double-clicking it and notice that there are three labeled sections:
- Package Metadata
- Package Versions
- Package Icon
A short description of your activities that will appear in the UiPath Studio Package Manager.
The author and owner of the package respectively.
The standard copyright notice.
A list of terms for which users can search to find your package.
A link to your activities' documentation or company homepage.
A link to an image file used as the package icon. Note that the
<!-- Package Metadata --> <PropertyGroup> <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> <Description>A package used to perform simple arithmetic operations in UiPath Studio.</Description> <Authors>My Company</Authors> <Company>My Company</Company> <Copyright>@ 2020 My Company</Copyright> <PackageTags>UiPath Activit𝗒 MyCompany MyProduct Math Addition Arithmetic</PackageTags> <PackageProjectUrl>https://docs.uipath.com/integrations/docs/how-to-create-activities</PackageProjectUrl> <PackageIconUrl>https://raw.githubusercontent.com/NuGet/Samples/master/PackageIconNuspecExample/icon.png</PackageIconUrl> ... </PropertyGroup>
Notice that there are two
PackageVersion tags here, which correspond to the two modes in which a package can be built--Debug and Release.
- Debug is useful during development. The version increments with each build so updates can be made and then immediately tested in UiPath Studio.
- Release is used to create a final package ready for publication. Once development is through, you may set the desired version here.
<!-- Package Versions --> <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> <PackageVersion>0.2.0.$([System.DateTime]::UtcNow.ToString(MMddHmmss)) Version</PackageVersion> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)' == 'Release'"> <PackageVersion>0.2.0</PackageVersion> </PropertyGroup>
PackageIconUrl tag to add an icon to your activity package. In this example, a sample icon is used.
<!-- Package Metadata --> <PropertyGroup> ... <PackageIconUrl>https://files.readme.io/4fda86e-packageIcon.png</PackageIconUrl> ... </PropertyGroup>
Rebuild the package and import it into UiPath Studio as in the previous section. Open the Package Manager and notice how your package now has a new icon, description, and updated metadata.
Updated about a year ago