Scoped GlideSPScriptable - getValue(String name)

Returns the value of the specified parameter.

Table 1. Parameters
Name Type Description
name String Name of the parameter
Table 2. Returns
Type Description
Object Value of the specified parameter. Null if the request does not exist or has no such parameter, the rectangle does not exist or has no such parameter, or the portal is null or has no such parameter.
//Server script
(function() {
    data.title = $sp.getValue("title");
    data.catalog = $sp.getValue("sc_catalog");
})();

//HTML templage
<div>
    <h1>sp_instance.title: {{::data.title}}</h1>
    <h1>sp_portal.sc_catalog: {{::data.catalog}}</h1>
</div>