How to get field value of workspace record through BUI framework
Summary
How to get field value of workspace record through BUI frameworkContent
Hi,
I am having issue getting field value through BUI framework. The output whiich i am getting is complex and i dont understand where the value is being stored . I have used below code to get field value :
<a class="xref" href="https://documentation.custhelp.com/euf/assets/devdocs/unversioned/BUI_Extensibility/topicrefs/IExtensionProvider.html" style="box-sizing: border-box; background: white; color: rgb(29, 90, 171); text-decoration-line: none;" title="The extensionProvider (IExtensionProvider) class registers the Agent Browser UI extensions.">IExtensionProvider</a>.registerWorkspaceExtension(function(WorkspaceRecord)
{
<a class="xref" href="https://documentation.custhelp.com/euf/assets/devdocs/unversioned/BUI_Extensibility/topicrefs/WorkspaceRecord.html" style="box-sizing: border-box; background: white; color: rgb(29, 90, 171); text-decoration-line: none;" title="The WorkspaceRecord class is the main object used to implement workspace extensions.">WorkspaceRecord</a>.getFieldValues(['Incident.Status']).then(function(IFieldDetails)
{
console.log(IFieldDetails.getField('Incident.Status').getLabel());
});
});
Tagged:
0