Desktop and UI Extensibility

Get Involved. Join the Conversation.

Topic

    Arpana Singh
    Access Custom Field in Custom Package
    Topic posted October 5, 2019 by Arpana SinghGreen Ribbon: 100+ Points 
    29 Views, 1 Comment
    Title:
    Access Custom Field in Custom Package
    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.
    Could anyone help me with this if i am doing anything wrong.
     
    Regards,
    Arpana Singh

    Comment