I use a controller.readOnly = true statement in different records when they have a certain status.
(For example invoices are set on readonly when the invoice is printed)
But there are some elements (buttons) on the readonly form from where I still need to activate methods from.
(For example ‘go to other related record’ methods…)
That’s working fine by using adding elements.mybutton.enabled = true at onRecordSelection.
My problem is that 'elements.mybutton.enabled = true ’ doesn’t work on elements in PORTALS.
How can I get these buttons working?