locked
Calling web service to update custom database when account is deleted --> what's the best way? RRS feed

  • Question

  • Hi everyone,
    Here's the scenario.
    Delete an account in CRM will need to call a webservice to update the legacy database and ensure that the record is also deleted.

    Since the delete (i.e. the X button) seems to be a javascript OnClick event, I was wondering what the best way is to call the web service after the OnClick event?

    thanks.
    Wednesday, September 9, 2009 7:00 PM

Answers

  • Hi.

    The best way is to write plugin which will handle Delete message.
    How to write plugins check this url .
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Proposed as answer by ckeller Wednesday, September 9, 2009 7:58 PM
    • Marked as answer by GreenWasabi Wednesday, September 9, 2009 9:28 PM
    Wednesday, September 9, 2009 7:12 PM
    Moderator

All replies

  • Hi.

    The best way is to write plugin which will handle Delete message.
    How to write plugins check this url .
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Proposed as answer by ckeller Wednesday, September 9, 2009 7:58 PM
    • Marked as answer by GreenWasabi Wednesday, September 9, 2009 9:28 PM
    Wednesday, September 9, 2009 7:12 PM
    Moderator
  • Thanks for the help.
    That's exactly what I ended up doing. I just got back from vacation and the mind was a mess.
    I tried to delete the question but it was too late.

    thanks for reply.

    Wednesday, September 9, 2009 9:28 PM