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

How to get field value of workspace record through BUI framework

Received Response
82
Views
10
Comments
edited Jun 13, 2022 4:11AM in General Technical Discussions 10 comments

Summary

How to get field value of workspace record through BUI framework

Content

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([&#39;Incident.Status&#39;]).then(function(IFieldDetails)
			{
			console.log(IFieldDetails.getField(&#39;Incident.Status&#39;).getLabel());
			});
		});

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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