This topic is locked

Hide a master data field on a standalone master detail page

5/22/2020 11:44:07 AM
PHPRunner General questions
K
kohle author

Hi,
I have a master detail page type NONE. I want to hide a datafield of the

master record.
In the manual it says for getMasterPage() :
Returns the RunnerPage object representing the master page.

Returns null when there is no master page available, i.e., when the Details

Page is displayed in the standalone mode.
But there is no explanation how to handle the type : NONE (standalone)
With type: INLINE this works fine :
var master = pageObj.getMasterPage();

if( master ) {

master.hideField( 'datum_ende' );
}
How I do it in standalone mode ? I tried this :
pageObj.hideField("datum_ende");
But dont work.
Thanks for some help.