MasterScript icon indicating copy to clipboard operation
MasterScript copied to clipboard

Delete other master items

Open gmen85 opened this issue 6 years ago • 4 comments

Dear AnalyticsEarth,

Congratulations and a big thank you for your very useful extension! It works great and will provide much ease to our complicated multi-app model!

As a new functionality, we woud like to have the choice of automatically deleting any master item non-created and non-updated by your extension. When opening the extension interface, maybe there could be an additional button to delete master items not present in the extension data table, or maybe a checkbox to do it when pressing the already existing button.

Thanks again

George Menoutis

gmen85 avatar Mar 30 '18 09:03 gmen85

Hi George,

Not sure if this would help, but I assuming you have many dashboard and only want certain master items to appear in certain dashboards. If this is the case, I would do the following. Delete all the master items manually and then add a extra field to the master spreadsheet with the part name of the dashboard name. Then do a where clause wildmatch on the Document file name and load only the master items needed for that particular dashboard. I hope this helps!

arperyan avatar Mar 30 '18 10:03 arperyan

Forgot to mention if you need an item to go into all then add a where clause which equals wildmatch doc name or equals all.

arperyan avatar Mar 30 '18 10:03 arperyan

If i understand the original requirement from @gmen85 it is to make sure the data table is maintained as the master and essentially remove anything either no longer present in thetable or created manually in the app?

@arperyan your comment is valid for splitting the data source by app, but i don't think that is the requirement in this case. its the sync rules between the master items and the table.

I will keep this open and have a look at what is required to make it happen.

AnalyticsEarth avatar Mar 30 '18 10:03 AnalyticsEarth

Indeed AnalyticsEarth it is just as you understood. arperyan you have a nice idea, and indeed I can use that - I just want to remove the "manually" delete part.

gmen85 avatar Mar 30 '18 17:03 gmen85