Select to view content in your preferred language

Webhook trigger for when an item's metadata is changed in metadata editor?

120
1
Jump to solution
02-14-2025 03:18 AM
DarrenSmith
Regular Contributor

Hi,

I have been given a task to trigger a WPS service that updates the GetCapabilities file for a WMS service ideally whenever the service's metadata is changed in the metadata editor (i.e. not the metadata seen in the item description - Metadata is enabled under org settings).

I'm hoping that this can be achieved via use of a webhook in Enterprise. So my first question is, is there a trigger event that fires specifically when metadata is updated? My guess is that the answer to that question is no, so then my alternate second question is: do any higher level trigger events fire when metadata is updated for an item - for example the item update trigger?

Kind regards,

Darren 

0 Kudos
1 Solution

Accepted Solutions
DarrenSmith
Regular Contributor

For the record: The solution I employed was to create a webhook that fires each time any item is updated in portal, then the custom webhook listener performs a callback for each payload, to get an item's type, and if it is WMS, then the call is made to the WPS.

View solution in original post

0 Kudos
1 Reply
DarrenSmith
Regular Contributor

For the record: The solution I employed was to create a webhook that fires each time any item is updated in portal, then the custom webhook listener performs a callback for each payload, to get an item's type, and if it is WMS, then the call is made to the WPS.

0 Kudos