dynamicdata insite a checked in idoc files
Hi,
I have an .idoc file checked into the content server with dynamichtml includes.
example:
test.idoc --> dDocName=theTestFile
<@dynamichtml test_include@>
....
<@end@>
including this in a resource file like this:
<$docLoadResourceIncludes("dDocName=theTestFile&RevisionSelectionMethod=Latest")\
$>
<$exec inc("test_include")$>
This is working like it should.
... but how is it possible to use dynamicdata includes in the checked in idoc file?
I want to use it like this:
<@dynamicdata dynamicdataTabelName@>
...
<@end@>
<$exec ddLoadResultSet("dynamicdataTabelName", "resultSetTable")$>
<$exec rsFirst("resultSetTable")$>
but i got the error:
!csDynHTMLReportErrorTrace,\!csDynHTMLEvalGrammarError\,csDynHTMLReportMsgFunction\,rsFirst\!csResultSetNotFound\,resultSetTable
It is working with this code insite a normal resource file, but not if it is in a checked in idoc file.
I have an .idoc file checked into the content server with dynamichtml includes.
example:
test.idoc --> dDocName=theTestFile
<@dynamichtml test_include@>
....
<@end@>
including this in a resource file like this:
<$docLoadResourceIncludes("dDocName=theTestFile&RevisionSelectionMethod=Latest")\
$>
<$exec inc("test_include")$>
This is working like it should.
... but how is it possible to use dynamicdata includes in the checked in idoc file?
I want to use it like this:
<@dynamicdata dynamicdataTabelName@>
...
<@end@>
<$exec ddLoadResultSet("dynamicdataTabelName", "resultSetTable")$>
<$exec rsFirst("resultSetTable")$>
but i got the error:
!csDynHTMLReportErrorTrace,\!csDynHTMLEvalGrammarError\,csDynHTMLReportMsgFunction\,rsFirst\!csResultSetNotFound\,resultSetTable
It is working with this code insite a normal resource file, but not if it is in a checked in idoc file.
0