currentFormatNames()



This function returns the list of currently displayed record formats in a Rich Display application. The list is returned as a JavaScript array. Unless multiple record formats are overlayed, there will only be 1 record format name in the list.

Example:

var names = currentFormatNames(); // get record format names var firstName = names[0]; // retrieve the first record format name in the list var lastName = names[names.length - 1]; // retrieve the last record format name in the list