We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Get workspace record value using Browser UI

Accepted answer
14
Views
7
Comments
edited Sep 2, 2018 2:53PM in Customer Portal 7 comments

Content

Hi friends,

I want to get  all Workspace record value using Agent browser scripts  and check  validation before save .

I'm not  able  to get value of workspace (custom object). Please check my code and  let us know your suggestions

Code Snippet

             <script>
alert ("start");
var myAppId = 'Customapp'; // Application ID
var extensibilityApiVersion = '1.0'; // Extensibility API version (optional because the current version is 1.0)
ORACLE_SERVICE_CLOUD.extension_loader.load(myAppId , extensibilityApiVersion).then(function(extensionProvider)
	{
	
	extensionProvider.registerWorkspaceExtension(function(WorkspaceRecord)
		{	
	       var test= WorkspaceRecord.getFieldValues(['$Co$Inventory.UnitNumber']);
		   alert (test);
		   });
	});
</script> 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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