Mapping of fields for $ file in Format control
We are implementing a functionality within Incident management by which a popup window will be generated that will help user select an assignment group from a list and populate in incident ticket.
I don't know how to map the database fields to $file in Format Control (fc command) for probsummary.
Should that be done in Initiatilzation tab or subroutine tab where we call RAD Functions. We also need to know where $file values are stored. Please check and assist, We need information on this ASAP.
There is not an explicit "mapping of fields" as described.
$L.file Used for all document engine objects and related tasks, such as data policy, notification engine, alerts, RAD expressions in process designer rules, etc.
$file The file variable used by format control.
$File The file variable used by links
$L.filed The file variable used by the Display Application (historically). As HPSM has been updated you can increasingly use $L.file for display objects, but you'll see both used.
For example, the following references the update.action field in the probsummary (Incident) record.
I have a text field on a form in SM, and I am trying to utilize the input text in it using statement like --
var sitescope=system.vars.$_file.SiteScope.caption ; (SiteScope is name of text field in the form.)
print("site= ",sitescope) ;
However it is printing as site=null.
It is not accepting the value (caption) entered in the textbox named SiteScope.