UiPath Studio

Managing Projects with TFS

The supported versions of Team Foundation Server are:

  • 2012
  • 2013
  • 2015
  • Express 2012
  • Express 2013
  • Express 2015
  • Azure DevOps Server 2019

Setting up TFS in Studio

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

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

If the 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 tab, click Open from TFS. The Connect to Azure DevOps Server window is displayed.

Note:

The Connect to Azure DevOps Server window has the option to switch between users when connecting to a 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 is displayed.
  1. To check out a particular folder, add a relative path to the Remote subfolder or use the open_repo 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 indicates that the file is already checkout by another user. By using this option, the lock is removed without notifying the 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.

Selecting the checkbox for Always do this and don't show me this again, and then the Check out latest and edit option propagates your choice for future occurrences. Regardless of your choice, the project.json file still needs to be checked out separately for certain changes to take effect.

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 Start > Team > Add to TFS button, or Add to Source Control > Add to TFS shortcut in the status bar. The Connect to Azure DevOps Server window is displayed.
  2. 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 is displayed.
  1. To add the project to a particular folder, provide a relative path to the Remote subfolder box or use the open_repo 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.

Editing and Checking in Changes to TFS

  1. Connect one of your projects to your TFS repository.
  2. Right-click the .xaml file and select Check Out for Edit. The latest version of the .xaml file is mapped locally and opened in the Project panel. It becomes locked for editing until it’s checked in. Perform any sort of changes to the files.

Note:

Once a file is checked out from the TFS repository, it is no longer available for check out by other users with access permissions.

  1. Right-click the .xaml file or project node, and select Check In, or click the changes icon in the Status bar, which also counts the number of uncommitted changes. The Check In Changes window is displayed.
  2. Review the changes and check the Show Unversioned Files box to add imported files to the repository. Write a Commit Message to describe the changes.
  1. Click Check In. The latest version is now available in the repository, together with the Commit message. In Studio, the project.json file returns to the read-only mode.
  2. Click Start > Team > Disconnect to disconnect the current project from source control.

Updated 9 days ago


Managing Projects with TFS


Suggested Edits are limited on API Reference Pages

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