Publish library with custom display name

Hi Experts

I have created a library named “My Library” which is also the name I would like to display in the Activities panel when selecting any of my custom components.

However, if I use the default settings when publishing the package to Orchestrator the space is replaced with . so my package name will be My.Library. In the Activities panel it will then show up as My with a subcategory named Library.

I can of course set the Package Name to MyLibrary when publishing - but then I have to remember doing so every time the library is being published.

Is there anywhere in the project.json I can specify the display name or the package name?

Hi @jacchr,

Use camelCase or PascalCase (e.g., MyLibrary) for library names to keep the Activities panel flat.

Avoid spaces — they create folders like My > Library in the panel.

Custom activity display names can include spaces (set via Activity Layout).

Package name override is not persistent — must be set manually on each publish.

project.json does not support custom package names.

Happy Automating!
AJ

Enter the desired name in project settings

Cheers

Hi @jacchr

You can change its name under project.json-> Name field

Thanks.

I think the closest I will come is adding an underscore in My_Library which with then be displayed as “My Library” in the Activities panel.

Unfortunately, I would like to add another prefix separated by a period, e.g. Test.My_Library but that will separate the library into Test → My Library in the Activities panel - but that apparently is not an option.

We would recommend to follow the naming conventions for nupk packages (which we can control e.g. by the name property from the project / project JSON

When we want to have different entry in the Activities Tree then we can control it within the publishing process by:

2 Likes

Thx @ppr that was exactly what I needed!

I can see that the “Activities Root Category” is stored in the .local\ProjectSettings.json so the value is kept whenever the package is published.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.