
Javascript button in a backend form
Hi,
I know that you can create Javacript button in a backend form through which you pass the id of the current record to an endpoint, like this:
window.open("https://my_app.bettywebblocks.com/system/my_endpoint?id=" + this.record().get('id'));return false;
I've experienced that you can also do this for other properties in the model.
Then I tried to pass properties of a related table like:
this.record().get('address.city'))
It seems that is not possible? Or is my syntax incorrect?
Ciao,
Hans
Hi,
I know that you can create Javacript button in a backend form through which you pass the id of the current record to an endpoint, like this:
window.open("https://my_app.bettywebblocks.com/system/my_endpoint?id=" + this.record().get('id'));return false;
I've experienced that you can also do this for other properties in the model.
Then I tried to pass properties of a related table like:
this.record().get('address.city'))
It seems that is not possible? Or is my syntax incorrect?
Ciao,
Hans
Login to reply