Nesting Super Genies

I wondering if its possible to nest super genie popups while adding to the suffix of the association on the second popup call.

I'm calling the first popup using a button using this code...

AssMetadata(-2);
WinNewAt("Pop_FCP_BESS_PCS_DATA", 120,200, 2)

Metadata: [Name: __EquipmentRef, value:Fresno_U4.BESS.ESS1.PCS_1]

The associations work fine on the first popup, but I need to call a six popups from the first one, but I need to add (concatenate) to the association reference by added a suffix to complete the equipment name for the second popup. I tried the following, but it does not work.

AssChain(-2, WinNumber(), 0)
WinNewAt("Pop_FCP_BESS_MODULE_DATA", 120,200, 2)

Metadata: [Name: __EquipmentRef, value:?__EquipmentRef?.PE_Multi_PCSK_Module1]

The second popup equipment reference should = Fresno_U4.BESS.ESS1.PCS_1.PE_Multi_PCSK_Module1...Fresno_U4.BESS.ESS1.PCS_1.PE_Multi_PCSK_Module6

Using 2018 R2 June 2022 update

Thanks,

  • I think I figured it out. I had to pre-defined all the combinations of my equipment on the button's metadata the calls the first pop-up. I then configured the same named associations on the first pop-up page properties. For the button that calls the second pop-up from the first, I just use the base association function to map the first page's association to the second pages association.

    First button config

    Second button config from first pop-up

    Let me know if the is the preferred method or if there is a better way.