UiPath Studio Guide

TFS Version Control

The supported versions of Team Foundation Server are:

  • 2012
  • 2013
  • 2015
  • Express 2012
  • Express 2013
  • Express 2015

Setting up TFS in Studio

  1. In the Team page, click Open from TFS or Add to TFS. The Connect to Team Foundation Server window is displayed.
  1. Click Servers. The Add/Remove Team Foundation Server window is displayed.
  1. Click the Add button. The Add Team Foundation Server window is displayed.
  1. Fill in the details of your TFS repository and click OK. Your team’s collections and projects are available in the Connect to Team Foundation Server window.

The Manage TFS Online button connects you to the web management interface.

If the TFS server is online (e.g. https://<account>.visualstudio.com) UiPath Studio requests authentication with a Microsoft account.

Note:

By default, on all Windows Server machines, this window is not displayed, as it requires JavaScript to run. This can be enabled from the Internet Explorer settings (Security tab > Custom Level > Enable Scripting).

Opening a Project from TFS

  1. In the Team page, click Open from TFS. The Connect to Team Foundation Server window is displayed.

Note:

The Connect to Team Foundation Server window has the option to switch between users when connecting to the TFS repository.

  1. Open the drop-down menu under the Select a Team Foundation Server and pick the server you want to access. Pick a team project collection and a team project. Once the selection is made, click Connect. The Check out from TFS project window opens.
  1. To check out a particular folder, add a relative path to the Remote subfolder or use the image alt text button to open the repository browser. Expand or collapse folders in the repository, look inside folders, copy the Selected Path or select a file to open. Click OK.
  1. Pick a Check out directory. The project name is added in the checkout directory by default. Click Open. The project.json, .xaml and other files stored in the repository project folder are mapped locally.
  2. A Question dialog box is opened, with two options for pulling the Main.xaml file from the repository:
    • Check out latest and edit - opens the latest version of the Main.xaml file from the repository, in edit mode. The Break Lock option allows you to check out a project from a TFS repository that was previously checked out by a different user.
    • Open local as read only - opens the local version of the Main.xaml file in read-only mode. The Package Manager can be opened even if the files are in read-only mode, but in order to perform changes and install dependencies, the project.json file needs to be checked out.

Note:

If you check out only the .xaml file of a library project from the TFS repository, the .screenshots folder does not update. Use Get Latest Version on the folder to get the files.

Adding a Project to TFS

  1. Create or open a project in Studio. Click on the Show Team Page button in the Project panel. This opens the Team page.
  2. Click on the Add to TFS button to open the Connect to Team Foundation Server window. Pick the server you want to access, a team project collection and a team project. Once the selection is made, click Connect. The Add to TFS project window opens.
  1. To add the project to a particular folder, provide a relative path to the Remote subfolder box or use the image alt text button to open the repository browser. Select a .xaml file to open. Click OK. Pick a Check out directory, and then click Add. The Check in Changes window opens.
  2. Select the files you want to check in and write a Commit Message. Click Check In. The project files are added to the TFS repository, and checked out locally, except for the project.json file.

TFS Version Control


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.