dvdsmpsn
(David @ David Simpson Apps)
April 13, 2024, 8:01pm
1
A background script is a hidden html+js page that would be able to listen to context changes and any client-side events that happen to a board, item, workdoc or dashboard.
It allows your app to execute its functionality without adding unnecessary UI elements to the page.
I can see several use cases for such an app feature, so actively encourage this as a new feature.
dvdsmpsn
(David @ David Simpson Apps)
July 2, 2024, 10:46am
3
Here’s an example use case:
Hi @isaacsouza , I don’t think that’s possible right now.
One way that this could be made to happen in the future would be with the feature I’ve requested here:
Vote it up!
The button press could trigger an event that the background script would listen for, and then the background script could contain the logic to go whatever is required on the client side.
In your case:
read the board item
read the column in the board item
perform an openLinkInTab from monday.execute
dvdsmpsn
(David @ David Simpson Apps)
May 2, 2025, 11:18am
5
Another example use case:
@dipro @andrest05 It would be great if the board menu item feature could be just a button click which sends a message to a background script app feature – requested here:
That would mean that the user would trigger the button press, and then the background script would listen for the message and take care of everything else.
The background script could do external calls, then open a modal or display a success/fail message.
It would also have details of the context from the item or items.