Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
Functions 
Data Conversion 
String Functions 
HTML/CSS/JavaScript 
Array Functions 
Date/Time Functions 
Mathematical Functions 
Advanced Functions 
Alert Functions 
compileSASS(String Sass) 
createChart(...) 
doLookup(...)
B.lookup
 
drugAllergyByProductID(...)
B.Drug.allergyInteractionsWith
 
drugDrugByProductID(...)
B.Drug.drugInteractionsWith
 
drugFoodByProductID(...)
B.Drug.foodInteractions
 
getCurrentNav(...) 
getHTTPRequester(...)
B.fetch
 
getPageInfo()
B.pageInfo
 
getPDF(...)
B.pdf
 
getRecentRecords(...)
B.optRecentRecords,BaseRecord.optRecentRecords,User.recentRecords
 
getSecurityGroup(...)
B.findSecurityGroup
 
getUserData(...)
B.sessionData,User.userData
 
getZipOutput(...)
B.zip
 
isLayout() 
log(...) 
Medispan 
newEmail(...)
B.email
 
readZip(...)
B.zip
 
sendEmail(...)
B.email
 
sendIntramail(...) 
sendMessage(...)
B.sendMessage
 
sendRedirect(...)
B.response.sendRedirect
 
sleep(...) 
Restricted Functions 
Working with Relate Data 
How Formulas Work 
Related Topics 

The getPageInfo(...) returns an array of properties.

Syntax:
props = getPageInfo()

Index Description
applicationIcon Icon of application
applicationID ID of application
applicationName Application name
applicationNameFormatted
Application in a human readable form
currentID
Current iD of item on page
currentRecordID
Current iD of record on page
defaultModule
Name of default module
defaultModuleURL
URL of default module
homeURL URL of home page
hqURL
URL of HQ
logoName
Name of logo
manageURL URL of manage
name
Name of page
pageID
ID of page
relateID
ID of relate
userHQID
ID of user's HQ
userManageID
ID of user's manage HQ
rootHQID
ID of root HQ
rootMangeID
ID of root Manage
templateDefinitionID
ID of template definition
title
Title of page


Example:

props = getPageInfo();
currentID = props["currentID"];
currentRecordID = props["currentRecordID"];