Publish to folder feed with uipath studio package publish
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?
Also, this option is available when using UiPath Studio, so it feels like something that should be accessible with this CLI too?
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"
PR https://github.com/UiPath/uipathcli/pull/185 is the first step into making publish easier to use with custom folders and folder feeds.
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.
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?
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"
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!