BUI get assigned account email
Summary:
Fetch assigned account email
Content (required):
Hello everyone,
I am new to BUI extensions. Was browsing community/documentation, but could not find relevant info. I apologize in advance if this question was already addressed.
I am trying to retrieve the email address of the assigned account to incident. I am able to get Account ID, Account Name, but can't find property Email (shouldn't it be something like Incident.Assigned.AcctEmail? )
Thanks in advance,
Max
Code Snippet (add any code snippets that support your topic, if applicable):
document.getElementById("submitBtn").addEventListener("click", function () { (async () => { try { const extensionProvider = await ORACLE_SERVICE_CLOUD.extension_loader.load("Global Extension", "1"); const globalContext = await extensionProvider.getGlobalContext(); const sessionToken = await globalContext.getSessionToken(); const loggedInAccountId = await globalContext.getAccountId(); extensionProvider.registerWorkspaceExtension(async function (workspaceRecord) { // get fields start const IFieldDetails = await workspaceRecord.getFieldValues([ "Incident.Assigned.AcctId",
Tagged:
0