Is there any way to call custom API while saving the page type

Pritam Gupta asked on November 8, 2017 09:40

Hello Everyone,

Is tehre any way to call a custom API on Save button of Page Type, If yes than please let me know


Recent Answers

David te Kloese answered on November 8, 2017 09:46 (last edited on November 8, 2017 10:24)

You should be looking into the Global event handlers (

In there you can check for you specific page type and do custom actions.

In your DocumentEvents.Update.After += Document_Update_After; event:

You can check the type like:

private void Document_Update_After(object sender, DocumentEventArgs e)
        if(e.Node.NodeClassName == "abc.YourPageType")
             // Add custom actions here
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.