How do viewport tab communicate with each other?

Marianne Emmane
Kilo Explorer

Hello, we are currently working on a form in UI Builder and using the Tab set component configured as viewport tabs (which means every tab is a different page) so we can use a button to select the current tab index. And the issue we are experiencing is that, we cannot access the data on each of the tabs. We are aware of the properties, however:

  • Is it possible to declare Global variables to the main page that can be accessed on each viewport tabs?
  • And why are the field values gets cleared when switching tabs? (Pill component included – gets unselected when switching to other tabs)

 

Thank you for any help in advance!

10 REPLIES 10

Hi Vincenzo

You can define a page property on the child page and map it to a client state parameter from the parent page.

Regards,

Roy