Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// GETTING THE SUBJECT
var subject = Request.Form.Item("subject");
if(subject.Count == 0)
{
if (!server_default)
{
// FORM DOESN'T HAVE IT. GET IT FROM THE OBJECT
try
{
subject = pi.Subject;
}
catch (e)
{
subject = "";
}
}
else // Seed with our default value. v9 customization
// (substring strips the file extension; report long-name is not readily available) v9 customization
subject = "OEFRS " + Title.substr(0,Title.length-4) + " Report"; // Add. v9 customization
}
else
{
// ASSIGN TO THE OBJECT
pi.Subject = subject;
}