6 Replies Latest reply on Jun 28, 2017 1:55 AM by jshah-2 RSS
    jshah-2 Explorer

    addorupdatealert method not working?

    I  ran AddOrUpdateAlert() code through a service in order to create an alert progamatically

    the code is taken from ptc page  Digital Media Publisher


    when I run the service it executes successfully
    I cannot see the alert on my property
    I ran the generic method GetAlertDefinition()
    It showed my thing but it is not showing it on the property

    also when I save the Thing the alert disappears from  GetAlertDefinition() also

    I cannot figure out why?
    I have made sure that persistent is set to true in AddOrUpdateAlert()
    also i tried restarting and enabling thing

    Thank you for any help