We are working on importing data on regular interval from external system into CMS (ver: 10.8). Once pages are created into CMS from external data, we want to give Editor an option for explicitly updating data for a single page. Can we provide a button on a page in EditMode so that Editor can fetch data for that page? Is this doable and if yes, what event we will fire at backend so that we can get data from external system again.
You can extend the Episerver UI in order to accomplish your goal. I'd recommend adding an item to the context menu (right click menu) since it's easy to do, and you won't need to learn too much Dojo to accomplish your goal. An example of plugging in a context menu command can be found here:
Make sure you properly secure your API to ensure it can only be called by Editors/Admins. Once the data sync finishes, you'll have a new version of your content, so you'll need to send that new content reference (with updated workId) back in the response, and refresh the view from Dojo. See "Changing the Current Context" in this article: https://world.episerver.com/documentation/developer-guides/CMS/user-interface/Context-sensitive-components/
I'd recommend you take a look at the User Interface section of the developer guides to familiarize yourself with the concepts before you get started.
Hope this helps,
Thanks for this detail information Matt. Is there something we can provide Editor on page so that editor can refersh data for that page only ( page may consist many blocks and other custom properties)