How do I create a new tab in the person viewer which shows me the page of my PHP script? ...

... well, just use iframe ;-)

... to be translated ...

Q

Bei den Personen Tabs (zb zugriffrechte, links, logs, bild, mail, unternehmen) möchten wir zb aus einem fremd system daten anzeigen
=> wäre in jenem fall ein link, welcher eine html seite wieder gibt.

kann das mit Formularen oder irgendwie in der Art gelöst werden?

A

Formulare wirken nur in der Projektapplikation.

Man muesste hier also direkt die Templates anfassen und zB einen "<iframe>" verwenden um eine fremde Seite einzubinden.

The correct template is SkyPersonViewer.html where you could add an additional tab in the tabview, for example:

SkyPersonViewer.html
  <#MyPHPTab><#MyIFrame/></#MyPHPTab>
SkyPersonViewer.wod
MyPHPTab: SkyTabItem {
  key       = "myphp";
  label     = "Mein Tool"
}
MyIFrame: WOIFrame {
  src = "/myscript.php";
  ?personLogin = person.login;
  ?personFirstname = person.firstname;
  ?personLastname = person.lastname;
  ?login = session.activeLogin;
  ?loginID = session.activeAccount.companyId;
}

Note that you only need the WOIFrame element if you want to pass dynamic query parameters to the "foreign" script. If you just want to display a static link, you don't need to touch the .wod and just write down the "<iframe>" tag in the .html template file.

Of course updates will remove the changes, so you should first create a diff of your changes and then use patch to apply the diff after each update.