Referencing a Custom Script Field in a mapreducescript SDF Custom Object
As part of supporting map/reduce scripts in SuiteCloud Development Framework (SDF), to specify the script parameters in a mapreducescript
object, use the customscriptfields
structure and elements. For example:
<mapreducescript scriptid="customscript_mr">
...
<scriptcustomfields>
<scriptcustomfield scriptid="custscript1">
<accesslevel>2</accesslevel>
<applyformatting>F</applyformatting>
<checkspelling>F</checkspelling>
<defaultchecked>F</defaultchecked>
<displaytype>NORMAL</displaytype>
<fieldtype>TEXT</fieldtype>
<isformula>F</isformula>
<ismandatory>F</ismandatory>
<label>test</label>
<onparentdelete>NO_ACTION</onparentdelete>
<searchlevel>2</searchlevel>
<storevalue>T</storevalue>
</scriptcustomfield>
</scriptcustomfields>
...
</mapreducescript>
For more information about custom script fields in SuiteScript, see Creating Script Parameters.
Related Topics
- Map/Reduce Script Objects as XML Definitions
- Defining a Map/Reduce Script Deployment in XML
- Setting a Concurrency Limit on Your Map/Reduce Script Deployment in SDF
- Referencing a Script File in a mapreducescript SDF Custom Object
- Referencing a Custom Plug-in in a mapreducescript SDF Custom Object
- Example of a mapreducescript SDF Custom Object