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

BUI copy a workspace value on button click

Received Response
45
Views
4
Comments
edited Mar 2, 2020 7:19PM in UI Extensibility 4 comments

Summary

Looking for a method to copy an unsaved value to a custom field

Content

Hi everyone,

Let me describe the business requirement. 

A new incident is in the process of being created. The agent selects a contact to be the primary contact. This contact's address display in the incident workspace. We have a button "copy contact address" that will use the contact's home address as the value to fill a custom field that stores the incident address. Using the BUI extensibility framework, I am only able access the field value of an incident that has already been saved. 
My question then is how can I access the contact's address without first saving the incident? The code below returns null unless the record has been saved (which I'm assuming is intended). 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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