OfficeDev / microsoft-teams-apps-greatideas

An “innovation challenge” system that lets employees submit and share ideas and insights, with voting and contests. An app using which employees can submit an innovative idea in a selected category to be visible to all colleagues and leadership, ideas can be voted upon and a leader board of best idea contributors can be shared. This app can also be a route to file patent ideas by anyone in an organization.
MIT License
84 stars 35 forks source link

How to delete an approved idea from end users? #54

Open goksu999 opened 1 year ago

goksu999 commented 1 year ago
Screenshot_4

How can I delete 2 ideas, they were approved by the admin by mistake. I deleted the storage account from the Azure portal, but the boxes are not deleted. Can you help me, I need to delete empty boxes.

Thanks.

krapluka commented 1 year ago

You need to update the index in order to remove the data from the search engine - where it is stored.

  1. Proposal (best) Implement the proper functionality to update the index and remove the deleted documents from it once you deleted them from the database

  2. Proposal ( Quick n Dirty) Delete indexer and index in the search engine in the Azure Portal and open the app again / enter data. The index will be created newly and your old / wrongly approved documents are gone.

I highly recommend to have a look at the documentation and read about how Azure Search works and what you have set up in your subscription.

I hope I was able to help you.