Open popups in different UIs
Posted: Wed Mar 30, 2022 12:21 pm
Good morning,
In the project I am working on, an Area has a dpe that is a list of "to-do" tasks. If a user owns the Area, a pop up should appear with a list of these tasks. If the user closes the panel without marking them as Done, the pop up should appear periodically (every 5 mins or so).
For these kind of things I always use "timedFunc", but the dpConnect is on the UI and we cannot use "timedFunc" on UI. I have been thinking on doing the dpConnect on a manager, but I need the popup to appear in the UI of the user who owns the Area.
I have been researching through the code, and I have seen a function named childPanel() but I don't know if it is a good idea. I also tried to dpSet all the "_Ui_x.ChildPanelOn.*" but it seems there could be a problem with permissions (I am not using root).
Any recommendations on this? Thanks in advance.
In the project I am working on, an Area has a dpe that is a list of "to-do" tasks. If a user owns the Area, a pop up should appear with a list of these tasks. If the user closes the panel without marking them as Done, the pop up should appear periodically (every 5 mins or so).
For these kind of things I always use "timedFunc", but the dpConnect is on the UI and we cannot use "timedFunc" on UI. I have been thinking on doing the dpConnect on a manager, but I need the popup to appear in the UI of the user who owns the Area.
I have been researching through the code, and I have seen a function named childPanel() but I don't know if it is a good idea. I also tried to dpSet all the "_Ui_x.ChildPanelOn.*" but it seems there could be a problem with permissions (I am not using root).
Any recommendations on this? Thanks in advance.