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

Access Custom Field in Custom Package

Received Response
30
Views
1
Comments
edited Oct 5, 2019 7:33AM in UI Extensibility 1 comment

Summary

NOt able to access custom field in custom object

Content

Hi Folks,

I have created a custom package say ABC and inside custome package i have created custom object say XYZ. I have created a custom field in object XYZ say Organization which is coming from Organization Object. So according to BUI documentaion , to access the Organization field on XYZ object , the syntax should be as below :

extensionProvider.registerWorkspaceExtension(function (WorkspaceRecord) {
 
WorkspaceRecord.getFieldValues(['ABCXYZ.Organization']).then(function (IFieldDetails) {
                            console.log(IFieldDetails.getField('ABCXYZ.Organization').getLabel());
                        });
})
But i am not getting any value for above. I have created a workspace BUI add-in and added the above code to access the Organization field value in XYZ workspace.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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