Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
accessing a dcr field value in wft
amigo
I need to parse a DCR, get the value of a dropdownbox and assign it to a variable defined in the workflow template. This will serve as the timeout value for a dummy task in the wft. Please guide me on coding this.
Thanks in advance.
Find more posts tagged with
Comments
jbonifaci
Use your favorite xml parser, perhaps TeamSite::XMLnode, to open the DCR and parse it. Read out the values you want and do what you want with them. Pretty straight forward.
~Jeff
gzevin
did you mean TeamSite:
CRNode or theer has been a new module done recently?
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
Adam Stoller
TeamSite:
CRnode and TeamSite::XMLnode have both existed for some time now - and are *virtually* identical.
The primary difference seems to be that XMLnode "does not work with Templating's tags (e.g. <iw_iterate>, <iw_value>, etc.)" -- according to the perldoc info.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
gzevin
hm.. interesting.. I never used it.... mea culpa
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
jbonifaci
What Adam said...