Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
Functions 
Data Conversion 
String Functions 
HTML/CSS/JavaScript 
decodeURI(...) 
diff(...) 
encodeURI(...) 
getButtonHTML(...) 
getButtonURL(...) 
getPopInScript(...) 
newJSONArray(...)
B.xmlToJsonString
 
newJSONObject(...)
B.xmlToJsonString
 
putContent(...)
B.pageContent
 
scriptIncl(...) 
scriptTag(...) 
toHTML(...) 
toPlainText(...) 
Array Functions 
Date/Time Functions 
Mathematical Functions 
Advanced Functions 
Restricted Functions 
Working with Relate Data 
How Formulas Work 
Related Topics 

The getButtonURL(...) function has only three variations, not counting syntax variations.  It generates a URL which corresponds to a dynamically generated button with any text you'd like and one of many predefined styles.  It can also optionally rotate the button to make vertical text.

Syntax:
getButtonURL( label )
getButtonURL(
label, style )
getButtonURL(
label, style, transform-type )
label.getButtonURL( )
label.getButtonURL( style )
label.getButtonURL( style, transform-type )

Parameter Description
label The String to use as the label. This may also be a BlueStep id. If so, the name of the object corresponding to the BlueStep id will be used as the button label in place of the id.
style The button style to use. Examples of each button type are listed here with the style name on the button face: default, dropdown, nopaddingdropdown, leftArrow, rightArrow, inactive, leftArrowInactive, rightArrowInactive, orange_sq, orange_sq_sm, blueSquareDropdown, BW10pt, BW10ptBold, BW12pt, BW12ptBold, BW14pt, BW14ptBold
transform-type An optional transform type which allows for rotated buttons and other types of transforms described in the article titled Image Transformations.

B.buttonUrl()