Debugging Adobe Campaign Javascript
Being new to Campaign I am having trouble debugging JS code In Campaign..
I have a general question on the debugging aspect of the Code ( javascript )
- How to see the XML that is being returned . I tried doing logInfo( response ) in the below code, but nothing is shown
var query = xtk.queryDef.create(
<queryDef schema="nms:recipient" operation="get">
<select>
<node expr="@firstName"/>
<node expr="@lastName"/>
<node expr="@email"/>
</select>
</queryDef>)
var response = query.ExecuteQuery()
lofInfo( response.recipient ); => shows nothing
2. What are the tips/guidelines for debugging the javascirpt code in Campaign ? how do the experts do it :-)
cheers
akshay
