Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwpt_dcr_list
MikeD
I'm trying to load a list with a nested list using iwpt_dcr_list. I am passing 'dcr.listOneName' for my first list, but am having problems retrieving the items for each replicant. What is the proper syntax when trying to iterate through multiple and/or nested lists with iwpt_dcr_list?
Find more posts tagged with
Comments
mogoo
Mike-
You can try this, it worked for me...
--------------------------------------------------------------------
@list
= iwpt_dcr_list('dcr.listOneName);
foreach $x (
@list){
@list2
= iwpt_dcr_list('$x.listTwoName');
foreach $y (
@list2)
{
$item = iwpt_dcr_value('$y.ItemName');
}
}
--------------------------------------------------------------------
Hope that helps,
maureen