This topic is locked

need some help over the weekend with masterrecord

11/19/2016 9:01:14 AM
PHPRunner General questions
A
andreas.knab author

Hi together ,

I could Need some help.
I want to access data from masterrecord. it is working perfectly as long I establish MD relationship with "id".
In before display:
$data = $pageObject->getMasterRecord();

$_SESSION["idmaster"]=$data["id"];
But when I establish MD relationship with a "name" field it is not working anymore...
I also want to get the "id" of the masterrecord.
Help pls

THX

Andreas
Update:

THX to suppoort for the fast weekend answer. Like expected master field must be unique... A Workaround would be interesting....