This topic contains 1 reply, has 0 voices, and was last updated by pcutler 6 years, 6 months ago.

  • Author
    Posts
  • #17906

    thaidnguyen91

    I was wondering if it is possible to run a clientscript without clicking a button.

    My goal is to have a button run a Workflow Action Script(that is in 1.0), which creates PDF of payment and invoices and saved it to the file cabinet. Once the Workflow Action Script is complete the page reload and I want to use the ui/message or ui/dialog module to display a message that the file were completed.

    Attached Files
    This is a cached copy. Click here to see the original post.

  • #17907

    pcutler

    You can write a client script that calls window.setInterval in its page init event to periodically check if the file is available, and display a message when it’s available. Be careful not to exceed NetSuite’s API governance limits though.

You must be logged in to reply to this topic.