This topic is locked
[SOLVED]

Runner.displayPopup - Open ADD page from Dashboard

7/17/2024 9:13:28 PM
PHPRunner General questions
P
Pierre author

PHPRunner version: 10.91 (Build 41619 x64)

Hello,
The issue I am facing is as follow...

There is a Dashboard with a Master table list in it.
The Master table is having 5 Details table lists, out of which 2 are used in the dashboard.
In one of these Details table list, there is a custom buttom that is expected to open an ADD form from another table (not linked to the Master table).
I am trying to use the Runner.displayPopup function to do so, using the format:
var url = "table_add.php";
var header = 'Title-Header';
window.popup = Runner.displayPopup({url : url,
width: 900,
height: 550,
header: header
});

The result I get is a popup with the Dashboard in it.
When I try any associated Details tables (ADD view), I get the LIST view from the table, not the ADD view.

Any suggestions?
Thank you in advance!

fhumanes 7/18/2024

Hello,

From what you explain, I think your problems is derived because the connected user is not authorized to the ADD page of this table.

Anyway, verify that outside the Dashboard that coding is working for you.

Greetings,
Fernando

P
Pierre author 7/20/2024

Thanks a lot Fernando!
I feel a bit idiot since I should have thought about this... this what is happening when I am too close from a tree to see the forest...
It works.
Thanks again!