GetMapData()
This code sample specifies the name and location of the HTML file that is displayed to the creator of a workflow map when they define the Table Values data type information for each task in a workflow map.
function Assoc GetMapData( \ Object prgCtx, \ Dynamic context, \ Dynamic data ) Dynamic retVal RecArray array //Create an Assoc that stores the name and location of the HTML //file that is displayed when the creator of a workflow map //clicks the Table Values tab on a Step Definition page in the //Workflow Designer. The file is called t_tablevalues.html and is //stored in the html folder in the module directory //structure (for example, c:/opentext/module/xxxxxx_1_0_0/html). if ( IsDefined( data ) ) retVal = Assoc.CreateAssoc() retVal.HTMLFile = 't_tablevalues.html' retVal.ModuleName = 'custMod' retVal.Data = Assoc.CreateAssoc() retVal.Data.taskInfo = context retVal.Data.Data = data end return( retVal ) end