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)
Inline command to generate DCT sections
mmb
I am trying to use an inline command in my DCT that will return a whole item section for display and inclusion in the user facing DCT. So far all of the examples for inline commands are based around returning individual option lists within an already defined DCT item. What I want to do is return a whole section of items from the inline command, so that the user sees a different list of DCT items dependant on their user role and location in the branching structure. Does anyone know if this is achievable (passing back a list of items.. I can obtain the user info from the %ENV hash..)
Find more posts tagged with
Comments
mmb
I managed to fix this myself, the problem was the way that I was printing the XML section returned from the inline command. The returned XML was returning an extra non-printing char that needed to be 'chomped' off the end so that the XML returned was well formed.