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)
Passing multiple values in a DCR
brooke
Has anyone found a way to pass multiple values as a result of a user checking one check box in their DCT?
For example, we have 9 check boxes to represent each state in a 9-state region. We then have an "All" check box that will cover all 9 states. We'd like this check box to generate nine <value>state name</value> tags in the DCR code, rather than just the normal one <value></value> set.
Any ideas? Thanks in advance!
Brooke
Find more posts tagged with
Comments
Migrateduser
In the past, I have handled this with an external task in workflow that would update the DCR by reading and writing the XML. The following libraries provide simple access:
TeamSite::WFtask
TeamSite::WFworkflow
TeamSite::XMLparser
TeamSite:
CRnode
The latest release of Templating (5.5.2) has an event system that should allow you to respond to the user selecting 'All' to check all the others in the Templating interface.
lazybee26
John :
How did you set multiple check box values using DCRnode?
I've successfully set single values using set_inner_xml and created fresh nodes using get_node_list/set_node_list.
Example:
<item name="format">
<value>Word </value>
</item>
But I know how to set only single values.
How do I set multiple values?
Example:
<item name="format">
<value>Word </value>
<value>Excel</value>
</item>
Thanks
Amit