Project.json
is an automatically generated file which is created for each .xaml
file marked as Main in the project folder.
The file holds varied information, including project dependencies, or web services loaded in libraries. For more information about web services in libraries, check out the Loading Web Services in Libraries page.
Important:
Manually editing the
project.json
file should be attempted for troubleshooting scenarios only, as it may lead to severe consequences and loss of support.
As of 2018.2, you should specify aproject.json
file when running your project from the UiRobot.exe (command line) client.
The parameters contained in the Project.json
file are described below.
Parameter | Description |
---|---|
name | The title of the automation project. It is provided in Studio when creating a new process or library. |
description | The description of the project. It is provided in the Description field in Studio when a new project is created. |
main | The entry point of the automation project. It consists of an .xaml file. The default name is “Main.xaml”. It is displayed both as the title of the Designer panel and in the Properties panel in Studio. If you want to execute a different project first, change the value of this parameter to the name of the .xaml file to be processed.Note: If your automation project contains multiple files, each of them should be linked to the Main.xaml file through the Invoke Workflow File activity. This is especially useful when the project is published to Orchestrator and sent to a Robot, as the Robot executes only the file provided in this parameter. |
dependencies | The activity packages used to create the automation project and their versions. The list is updated every time a dependency is added or removed from the project. Note: Version numbers are composed of the following parts, in order: major, minor, build, and revision. The build value is the number of days that elapsed since 01.01.2000. The revision value is the number of seconds which elapsed on the day of the release, starting from 5 AM, GMT. |
webServices | namespace - The name of the service provided in the Add new service window for libraries.serviceDocument - The path to the .xml or .json file containing metadata for the SOAP or Swagger service. The file is used when the service is repaired, and should be versioned as part of the project.webDocumentUri - The file path or link to the Swagger or SOAP resource (provided when the service is created in the Add new service window).uniqueReference - A reference needed for versioning the service. |
schemaVersion | The version of the project.json file. |
studioVersion | The version of Studio used to create the automation project. This parameter is updated with the Studio version in which the latest changes were made. |
projectVersion | The version used when publishing this project to a feed. Represents the one set in the Publish window. |
runtimeOptions | Tags from settings set at project level, such as processes that can be paused. |
excludedLoggedData | Contains keywords that can be added to the name of an activity to prevent variable and argument values from being logged at the Verbose level. That can also be achieved by selecting the Private checkbox of any activity. Read more about the protection of sensitive information here. |
outputType | Shows the project type, either Workflow or Library. |
libraryOptions | includeOriginalXaml - Option to include original files in the resulting .nupkg file.privateWorkflows - Displays the full name of private .xaml files contained in the library. |
expressionLanguage | States whether the project is created in VB.NET or C# (currently experimental). |
Updated 2 years ago