JeanChristopheD
Enthusiast
Enthusiast

How to hide a tab in a Xaas form ?

Jump to solution

Hi,

I'm currently working with vRealize Automation 7.4.0 and vRealize Orchestrator 7.4.0 and I didn't find any way to hide a tab in a vRA Xaas.

Nevertheless, I know that it is possible as the "CodeStream" tool provided by VMware itself is able to.

There are two tabs in this Xaas at the time of it's opening :

two tabs at xaas opening.PNG

As soon as you select options on the second tab, more tabs appear :

new tabs appearing as the checkboxes are enabled.PNG

Editing the Xaas did not show anything that could explain this capability : the tab *seems* the same than those I use.

Can some give me a clue about how it is doable ?

I suspect that there is a more capable Xaas editor than the one I'm currenlty using in vRA 😉

Thanks a lot for your help and ideas !

Tags (3)
1 Solution

Accepted Solutions
NuggetGTR
VMware Employee
VMware Employee

Yep this is a doable but is done via the presentation layer in vRO.

You shound never use the XaaS form editor in vRA as it is rubbish and everytime you need to refresh the form you need to make all your changes again. if all the smarts are in the presentation layer most will surface up into vRA, This is how you can hide tabs or populate drop downs with actions using OGNL. And it is much much faster to load the forms. I have done a couple videos on my vblog in regards to xaas and vra https://www.youtube.com/channel/UCWfyTiUBwRKjB_qckVPVpcQ

________________________________________ Blog: http://virtualiseme.net.au VCDX #201 Author of Mastering vRealize Operations Manager

View solution in original post

3 Replies
NuggetGTR
VMware Employee
VMware Employee

Yep this is a doable but is done via the presentation layer in vRO.

You shound never use the XaaS form editor in vRA as it is rubbish and everytime you need to refresh the form you need to make all your changes again. if all the smarts are in the presentation layer most will surface up into vRA, This is how you can hide tabs or populate drop downs with actions using OGNL. And it is much much faster to load the forms. I have done a couple videos on my vblog in regards to xaas and vra https://www.youtube.com/channel/UCWfyTiUBwRKjB_qckVPVpcQ

________________________________________ Blog: http://virtualiseme.net.au VCDX #201 Author of Mastering vRealize Operations Manager
JeanChristopheD
Enthusiast
Enthusiast

Hi,

Thanks a lot for that solution !

In fact, this is sad not to have the same tuning directly in vRA as the presentation layer in able to handle it.

May-you know if hidding a tab also disables the computing of all the fields that it hosts ?

Regards.

0 Kudos
NuggetGTR
VMware Employee
VMware Employee

Yes, with XaaS it will only run the compute when navigating to the Tab, you can still reference fields on the hiden tab etc, but an action for example will only execute when navigated to. This is good for complex forms as it speeds up the loading time. If you were run the same workflow directly in vRO it does attempt to process every field at load time.

Custom forms it is all inbuilt to vRA to hide tabs.

________________________________________ Blog: http://virtualiseme.net.au VCDX #201 Author of Mastering vRealize Operations Manager