Page 1 of 1

Dynamic Parameter nodes UI

Posted: May 17th, 2022, 4:07 pm
by AkshayKhanolkar
While creating the new EasyCommerece base in 5.1 MVC we have decided to use callMethods and the norm. Along with this, we have decided to have Parameters on instead of the XML Mode option.
However, because we are sending a lot of looped and iterating data, we are forced to use the XML mode. If there was a way to have some basic level of nesting or looping in the parameters UI we can achieve our functionality while keeping in terms with our convention.

Below is an example where we could use a way to Loop the BillingAddressIds with the Parameters UI.
image.png

Re: Dynamic Parameter nodes UI

Posted: May 19th, 2022, 12:58 pm
by JustinVanRegenmorter
When there is an array parameter in the Method parameters it will display with the Static and Dynamic choices when Xml/Xsl Mode is turned off. You can use these to pass in looped values.
Looped Parameters.PNG

Re: Dynamic Parameter nodes UI

Posted: May 1st, 2023, 11:50 am
by CathyC
Here is how we set that up with in the method
image.png
image.png (9.79 KiB) Viewed 584 times
image.png
image.png (9.79 KiB) Viewed 584 times
And then when called from elsewhere, the xml/xsl mode is not needed to pass in the array
image.png