Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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 Business Object values in page?

edited Nov 15, 2017 8:00AM in Visual Builder 7 comments

Summary

How to get Business Object values in page?

Content

Hi,

I have busniess object that contains employee details.I added a button in page design and I need to get employee name (firstName) to be shown in alert message when i click button.

I've tried this sample code to read values but without condition. I just need to get the firstname value in alert message when i click button. But alert message displays as[object Object].

require([ 'operation/js/api/Conditions', 'operation/js/api/Operator' ],

function(Conditions, Operator)

{

var employee = Abcs.Entities().findById('EmployeeDetails');

var firstName = employee.getProperty('firstName'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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