Jahia Dev Forum > customize save/update...

0 (0 Good)
0 (0 Bad)

customize save/update event of Edit Page

by  bharatkasodariya »  2016/05/13 13:06

Need to write some custom action after page save. For example to create some node on page edit/save. 

Is there any callback provided for it in admin or any other option to do that

  • customize save/update event of Edit Page
    2016/05/13 13:06

    bharatkasodariya <p>Need to write some custom action after page save. For example to create some node on page edit/save.&nbsp;</p> <p>Is there any callback provided for it in admin or any other option to do that</p>

  • Number of messages  57
    Registration date May 13, 2016
    0 (0 Good)
    0 (0 Bad)

    Re: customize save/update event of Edit Page

    by  jordannroussel »  2016/05/13 14:11

    You can catch the creation of a node and perform operations on it using rules : https://www.jahia.com/community/extend/developers-techwiki/events-rules-jobs/rules

  • Re: customize save/update event of Edit Page
    2016/05/13 14:11

    jordannroussel <p>You can catch the creation of a node and perform operations on it using rules :&nbsp;https://www.jahia.com/community/extend/developers-techwiki/events-rules-jobs/rules</p>

  • Number of messages  13
    Registration date May 13, 2016
    0 (0 Good)
    0 (0 Bad)

    Re: customize save/update event of Edit Page

    by  bharatkasodariya »  2016/05/14 09:58

    Thanks,
    I tried to execute below rule on page creation but its not getting called with node type condition.
    
    Here is the node type check, is it correct condtion?
    
    A new node is created
        - the node has the type jnt:page
  • Re: customize save/update event of Edit Page
    2016/05/14 09:58

    bharatkasodariya <pre style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 9pt;"> Thanks, I tried to execute below rule on page creation but its not getting called with node type condition. Here is the node type check, is it correct condtion? A new node is created - the node has the type <strong>jnt:page</strong></pre>

  • Number of messages  57
    Registration date May 14, 2016
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page