How to get Business Object values in page?
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'
1