function RequestRibbonCustomisation(primaryControl) {
var formContext = primaryControl;
alert("Coming soon! Work in Progress.")
}
function RequestRibbonCustomisation(primaryControl) {
var formContext = primaryControl;
alert("Coming soon! Work in Progress.")
}
isDirty()
→ This function is used to check whether the form data has been changed but not yet saved.
// JavaScript source code
function retrieveEntityInfo(executionContext) {
if (executionContext != null) {
var formContext = executionContext.getFormContext();
var accountId = formContext.data.entity.getId();
if (accountId) {
alert("Account GUID: " + accountId);
} else {
alert("This Account record has not been saved yet (no GUID).");
}
}
}
Formats the query result as JSON using the 'FOR JSON PATH' mode, where you have full control over the JSON structure by using column aliases.
SQL Query:-
SELECT
FirstName,
LastName
FOR JSON PATH, WITHOUT_ARRAY_WRAPPER
JSON Output-
{"FirstName":"Ajit","LastName":"Agarwal"}
function RequestRibbonCustomisation(primaryControl) { var formContext = primaryControl; alert("Coming soon! Work in Progress....