(all you have to do is pick a BO and a specific ID, and a field name. replace my AA,1,TenantName
I'm trying to get a field value in a grid render script. There's an aware function to do just this.
And it works!, but...
per this post: https://www.awareim.com/forum/viewtopic ... 442#p51442
my code:
Code: Select all
widget.bind("dataBound", function (e) {
console.log ("Getting the value");
var theVal = new AwareApp_GetAttributeValueAction ( "AA", 1, "TenantName", null, null, function (value) {
/** Do something with the received value */ <-- VLAD wrote this
/** but I don't know how to reference the returned values ??? */ <-- me
console.log( "inside value = " , theVal );
console.log( "this inside value = " , this.theVal );
});
theVal.run ();
console.log ("outside theVal = " , theVal );
})
The Problem
I don't know how to reference the data that was returned from the server.
I can't find any examples.
Using Chrome Inspector, I can see the Network call and the valid response of the attribute value returned to the browser.
But I don't know the syntax to get to my data.