Approval Workflow Customization RRS feed

  • Question

  • I am trying to customize a workflow initialize form for the "Approval - SharePoint 2010" workflow. I write some JQuery function to hide some rows. The Jquery script is included in Master file. When the workflow form is loaded (with URL /15/IniWrkflIP.aspx) my function will be fired and it works as expected.

    However, when I click on "Add a New Stage" button. it will call default event return (InDocUI.OnClick(this, event)), the form trigger a postback (towards /_layouts/15/Postback.FormServer.aspx). Then all the rows come back again! How can I trigger my JQuery function again after every Postback?

    Wednesday, March 15, 2017 7:09 AM

All replies

  • Hi,

    Please try to add your code into a setInterval() method.

    Or please provide some screenshots and more detailed information for further research.

    The IniWrkflIP.aspx and Postback.FormServer.aspx in (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS), you can also try to write the code into the pages.

    Best Regards,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Friday, March 17, 2017 5:26 AM