The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
I would like to access the data from the infotable bound to my widget during design time (ide).
Are there any JS functions I can use? I saw there are some observers on the 'isBindingTarget':true properties but really would be thankful for some pointer in the right direction.
Solved! Go to Solution.
Hello,
There are two key methods you could look into:
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
}
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
const dataShape = this.getInfotableMetadataForProperty(propertyName);
}
Hope this helps.
Hello,
There are two key methods you could look into:
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
}
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
const dataShape = this.getInfotableMetadataForProperty(propertyName);
}
Hope this helps.
This is exactly what I was looking for.
Thanks!