Skip Headers
Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
E10726-01
  Go To Documentation Library
Library
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

ddSetLocal

This function takes a dynamicdata table and iterates over it, setting local data values for each row. The first column of the table is used as the list of keys, while the second column is used as the list of values.

Type and Usage

Parameters

This function has one parameter, dataTableName, which is the name of the dynamicdata table to load.

Output

If the dynamicdata table exists, it returns True.

Example

<@dynamicdata MyDataTable@>key, valuefoo, 15bar, 23baz, 77<@end@>


<$exec ddSetLocal("MyDataTable")$><$tmp1 = #local.foo$>   [[% (tmp1 == '15') %]]<$tmp2 = #local.bar$>   [[% (tmp2 == '23') %]]<$tmp3 = #local.baz$>   [[% (tmp3 == '77') %]]

See Also