Skip Headers
Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)

Part Number E10726-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

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