Assigning Hostname to Template Group

Assigning Hostname to Template Group

avatar

Hello,

I am starting to play around with template groups a bit, which seem like a cool feature. I created a group which is a website with a set of 3 sub-entries that are configured to use variable values from the parent host and such. This works well, however the issue is when I create a new item from a template group, I am not prompted to give a hostname. When we create the template group, we have to fill in something - I can put a variable in the name like "$HOST_WITHOUT_DOMAIN$ Website" for example. But for the URL I just put a placeholder name (this URL will be a consistent format).

So anyway, when I create the host from the template group, all I get prompted for is a location where to put it, and whether to create a new folder at the destination to put it in. So I have to create it first, it gets created with the placeholder name from the template, then I can go back in to the parent entry and set the URL properly. Once I do that, the variables I used in other places all pick up their values properly and so then everything gets populated the way it should.

My question - is there a way we could make the template group prompt for hostname or URL (perhaps depending on entry type) on creation, or just open the full Properties window for the parent entry in the group, similar to how it does when we create an entry from a single template. Or is there a different workflow I can use to achieve this?

I am on v2026.2.29 using SQL Server as the data source. Any help is appreciated.

Best regards,

David Willis

All Comments (1)

avatar

Hello David,

Thank you for the detailed description.

When you create entries from a template group, Remote Desktop Manager only asks for the destination.

It does not open the Properties window like a single template does, so there is no prompt for the host or URL at that point.

There is another workflow that gives you the result you want:

  1. Create the Website entry first with Add > Add entry (or from a single Website template), and enter the real URL in its properties.

  2. Right-click the new entry and select Edit > Edit (special actions), then choose Convert with template and click OK.

  3. Select your template group, tick Add template subentries, make sure your entry’s URL is kept, and click OK.

The template group’s subentries are then added under your entry.

Their variables resolve against the URL you have already entered, so there is no need to edit the parent afterwards.

The steps are also described here: https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/convert-an-entry-with-template-groups/

Best regards,

Carl Marien