I'm trying to format a datasheet in our CMS (CommonSpot) and I have this code:
<cfscript>
eventData = application.ADF.ceData.getCEData(
customElementName = "Event",
customElementFieldName="event_name",
item=request.datasheet.currentColumnValue
);
</cfscript>
<!---<cfdump var="#eventdata#">--->
<cfsavecontent variable="request.dataSheet.currentFormattedValue">
<cfoutput><td style="padding-right:10px;" valign="top"
align="left"><a
href="#application.ADF.csData.getCSPageURL(eventData[1].pageID)#">
#eventData[1].values.event_name#
</a></td></cfoutput>
</cfsavecontent>
And I'm getting this error for a segment of the records (about 20% of the
records): The element at position 1 of dimension 1, of array variable
"EVENTDATA," cannot be found.
If I do the dump I get the data returned so I know the data is there.
Any ideas? The page is still behind the scenes so I can't share a URL.
Thanks,
Pam
________________________________
Pamela Corey
IT Specialist
Public and Business Affairs Office
National Institute of Standards and Technology (NIST)
301-975-2170
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5840
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm