Skip to Content
0
Mar 24, 2020 at 04:59 PM

How to refresh/reload CMSCockpit's current element by a button?

46 Views

Hi!

Let's say my task is to create a button in CMSCockpit, which has to be displayed on every XY type object. My button has some logic in it, for eg. the user is able to upload some child objects under the current XY object, but after the upload the button's task is to refresh/reload the current object, so the user is able to see the uploaded child elements.

How could I implement the second task (refreshing/reloading the current object)?

Cheers,
Adam