Advanced Options vRealize Automation – Hide Properties & Snapshots tab

When you look at the item details for a Virtual Machine in the vRealize Automation Portal there are several tabs which show information. Most of this information is usable for the customer, like the CPU, memory and storage configuration.

Automate-it-properties1

Besides this tabs the tabs Properties and Snapshots are visible, during a deployment of a Virtual Machine you often use advanced properties which are of no use to the customer. This is also the case for the Snapshots tab, you might have disabled snapshotting on your blueprint so why show the Snapshots tab?

We didn’t expect this being a problem, but in several customer environments we got a lot of questions of customers about the information on the properties tab and why they cannot make a snapshot on the Virtual Machine. So we looked if it was possible to make the tabs invisible.

And it is possible by editing a configuration file on the IaaS web server called EditVirtualMachine.aspx, in our case on the default location:

c:\Program Files (x86)\VMware\vCAC\Server\Website\Leases\

You can edit this file with an editor like Notepad++.

Properties tab:
On line 265 in the EditVirtualMachine file you need the add ClientVisible=”False” so the line looks like this:

This can also be done for the Snapshots tab by editing line 278 in the EditVirtualMachine file and add ClientVisible=”False”

When you now refresh the Item Details the tabs are gone, so you don’t have to restart any services.

Automate-it-properties2

The downside, you as an admin are also no longer able to see the properties for this VM in the portal. I added a simple workflow so the properties are viewable with the use of Orchestrator.

Get Properties of vRA_VirtualMachine.workflow

3 thoughts on “Advanced Options vRealize Automation – Hide Properties & Snapshots tab”

  1. I have exactly the opposite problem. I would like to show the tab properties to all users. But it’s only displayed to admins. How can this be accomplished without elevating their rights to admin or manager. Thinking beeing smart i tried to set ClientVisible to true. But no success for that. I think it’s serverside coded. Is there a param to set or so to display properties tab in any case.

  2. Hello,

    We use VRA 7.3, this is solution is obviously for an older release. Can you point us to the section in the file instead of a line number to hide the properties? I’m not sure if the line numbers match between the versions. Unfortunately not in a position to test it at leisure as it’s a production environment. Can you maybe quote the surround blocks of code where it should be edited?

    Thanks

    1. Hi Stan,

      I had the exact same problem as I am running vRA 7.3 and this blog had the line “…so the line looks like this” but had no indication of the code.

      Luckily I have a dev environment so was able to ‘play’. It is a parameter of the tag, so…

      <dxtc:TabPage Text="” Name=”Properties”>

      becomes…

      <dxtc:TabPage Text="” Name=”Properties” ClientVisible=False>

      Notice ClientVisible is set with…

      ClientVisible=False

      not…

      ClientVisible=”False”

      The parameter has to be Boolean, not String.

      I would also like to hide various tabs on the request such as Storage etc but this is vRA content not IaaS. Does anyone know what file and code needs editing to hide tabs on the VM request?

      Cheers, Luke

Leave a Reply

Your email address will not be published. Required fields are marked *