MarketplaceListingsSolutionProject Documentation using PowerShell

Project Documentation using PowerShell

by Jeevith Hegde

0

8

Project Documentation using PowerShell

by Jeevith Hegde

0

Solution

8

carouselImage0

Summary

Summary


Overview

Overview

Problem Statement: It is difficult to get an overview of projects after the development phase. Solution designers and reviewers can benefit from a script, which can easily provide an overview of the workflows developed in the project.
Solution: This script iterates through the project folder. For each workflow found, it extracts important design details, such as name of the workflow, variables, arguments and imports used. The output HTML is saved in a human readable format.

Usage 1 - Using the sample project provided:
  1. Clone the GitHub repository / Download the .ps1 file.
  2. Navigate to the cloned repository.
  3. Run the DocumentationUiPathSampleProject.ps1 file in PowerShell.
  4. The output HTML file will be saved in the cloned repository location.
Usage 2 - Using one of your projects:
  1. Clone the GitHub repository / Download the .ps1 file.
  2. Navigate to the cloned repository.
  3. Open the DocumentationUiPathSampleProject.ps1 file in any preferred IDE.
  4. Comment out the line which calls the function DownloadSampleFromUiPathForum.
  5. Edit or Replace the $ProjectPath variable with the location of your project.
  6. Run the DocumentationUiPathSampleProject.ps1 file in PowerShell.
  7. The output HTML file will be saved in the cloned repository location.
The output of the script for a sample project can be viewed in this GitHub link.

Features

Features

  1. Read the workflow files in the project recursively and provide filtering options to limit certain files or folders.
  2. Get name of the workflow and the annotation of the workflow.
  3. Get workflow variable details --> variable names, variable scope, variable annotations and variable types.
  4. Get workflow argument details --> argument names, argument annotations and argument direction and types.
  5. Get imports and/or assembly references used in the workflow.
  6. Save the output to an HTML file.

Additional Information

Additional Information

Dependencies


Code Language

Visual Basic

Publisher

Jeevith Hegde

Visit Publisher's Page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0

Updated

17 May 2022

Certification

Silver Certified

Tags

Automate

Application

Microsoft PowerShell

Support

UiPath Community Support

Resources

Similar Listings