uipathcli icon indicating copy to clipboard operation
uipathcli copied to clipboard

Publish to folder feed with uipath studio package publish

Open mikael-andersson91 opened this issue 10 months ago • 6 comments

As the tool works now, there does not seem to be a way to choose which feed to publish to when using the uipath studio package publish command.

Having this option would be useful, for the standard scenario of assigning a process to a specific folder only (and not provide the process for everyone on the tenant).

Sure, this can be done with the other UiPath CLI (as referenced here, or by playing around with the other commands for uploading files directly with API calls to folder feeds. But feels like something that should be more straight-forward to do with this tool as well?

mikael-andersson91 avatar Apr 20 '25 08:04 mikael-andersson91

Also, this option is available when using UiPath Studio, so it feels like something that should be accessible with this CLI too?

mikael-andersson91 avatar Apr 20 '25 08:04 mikael-andersson91

Thank you for the feedback. This should definitely be easier through the publish command. Like you already mentioned as a workaround you can publish to a folder feed using the upload-package and create process commands:

uipath orchestrator processes upload-package --file "MyProcess.1.0.0.nupkg" --feed-id "<your-folder-feed-id>" uipath orchestrator releases post --folder-id <your-folder-id> --name "MyProcess" --process-key "MyProcess" --process-version "1.0.0"

thschmitt avatar Apr 22 '25 10:04 thschmitt

PR https://github.com/UiPath/uipathcli/pull/185 is the first step into making publish easier to use with custom folders and folder feeds.

thschmitt avatar Apr 22 '25 10:04 thschmitt

Would you mind checking out the new version v2.0.34? We would love to hear your thoughts on the changes for the publish command.

thschmitt avatar Apr 24 '25 08:04 thschmitt

It's a step in the right direction! But to be honest I'm a little bothered by the fact that I have to provide the folder-id instead of the folder name.

Sure, getting the folder id with a command just before this one is not a big deal. But feels like it adds overhead that should not be needed.

Maybe having the option to use either folder-id or folder-name could be something?

mikael-andersson91 avatar Apr 24 '25 16:04 mikael-andersson91

Thank you for your suggestions! We added support for folder names.

You can now pass either the folder id or folder name in the publish command, e.g. uipath studio package publish --folder "Shared"

thschmitt avatar May 10 '25 13:05 thschmitt

Just wanted to check in and report that this is working great in my experiments so far. Great job! And once again, thanks for a super neat tool!

mikael-andersson91 avatar May 27 '25 06:05 mikael-andersson91