We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Organization Address coming as null in BUI workspace extension

Received Response
16
Views
4
Comments
edited Mar 3, 2021 9:07AM in UI Extensibility 4 comments

Content

Hi All,

I am trying to access the Organization Billing Address field value, but it is returning as null value whereas the data is present in it (Attached the Screenshot).

Added the code snippet.

I have also tried the getValue(); method as well but same null is returned. Can anyone let me know the correct way to fetch the data for organization address?

Version

Oracle Service Cloud 20D (Build 268), Browser UI Version : 3.21.02.12-b0003

Code Snippet

workspaceRecordEventParameter.getWorkspaceRecord().getFieldValues(['Org.C$CorpStatus','Org.C$IdentificationType','Org.OrgId','Org.C$OrgCode','Org.Name','Org.Oaddr_Billing']).then(function(IFieldDetails)
        {
            var corp_status = IFieldDetails.getField('Org.C$CorpStatus').getLabel();
            IdType = IFieldDetails.getField('Org.C$IdentificationType').getValue();
                orgId = IFieldDetails.getField('Org.OrgId').getValue();
                orgCode = IFieldDetails.getField('Org.C$OrgCode').getValue();
                orgName = IFieldDetails.getField('Org.Name').getValue();
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!