Dynamic Parameter nodes UI

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
AkshayKhanolkar
Posts: 44
Joined: May 2nd, 2022, 11:53 am
Contact:

Dynamic Parameter nodes UI

Unread post 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
word count: 103

Tags:
JustinVanRegenmorter
Posts: 572
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Dynamic Parameter nodes UI

Unread post 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
word count: 35
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Dynamic Parameter nodes UI

Unread post by CathyC »

Here is how we set that up with in the method
image.png
image.png (9.79 KiB) Viewed 591 times
image.png
image.png (9.79 KiB) Viewed 591 times
And then when called from elsewhere, the xml/xsl mode is not needed to pass in the array
image.png
word count: 45
Post Reply