Once again Awaresoft's over the top and totally bloody Awaresome support has shone through....
The issue is that I was doing this from a DISPLAY LAYOUT and apparently getPanelId does not currently work from a DISPLAY LAYOUT.
However, add this to it's own .js file in Custom/JS
function spr_getLayoutPanelId (frameType, tabName, panelName)
{
var t = AwareApp.getPanelId(frameType, tabName, panelName);
var s = "[id*='" + t + "']";
var p = $("#aware_app").find (s);
return p.attr("id");
};
and change the call from AwareApp.getPanelId(frameType, tabName, panelName) to just spr_getLayoutPanelId (frameType, tabName, panelName)
and it works.
Hopefully we might this little snippet of Gold in a future build. 😉
Awaresoft positively redefining the meaning of Support.