This topic contains 7 replies, has 2 voices, and was last updated by Vidyasagar Kuppireddy 5 years, 7 months ago.

  • Author
    Posts
  • #4328

    mshuman

    I don’t see how we can bundle Email Templates. Often SuiteScripts reference a specific email template, but without a bundle it the script will invariably fail. It will need to be updated to reference the differently numbered email template that is added manually.

    Does anyone have a best practice for using email templates in SuiteScripts that are bundled?
    This is a cached copy. Click here to see the original post.

  • #4329

    javier

    RE: How to Bundle Email Templates

    Instead of hardcoding the template internal ID into your suitescript, create a script parameter to store the internal id. That way when you migrate the customization from one account to another, all you need to do is edit the deployment, not the script itself.

  • #4330

    mshuman

    RE: How to Bundle Email Templates

    Thanks for the suggestion. Does NetSuite have a way to do this without reconfiguring after deployment?

  • #4331

    elham

    I filed an enhancement to add script ID to email templates. With this change, you will be able to reference the script ID in your code which won’t change post bundle installation. Feel free to vote for Enh #162130.

  • #4332

    mshuman

    RE: How to Bundle Email Templates

    Thanks Elham. Just voted.

  • #4333

    Rama Krishna

    HI ,

    I am looking to Bundle Email Templates . But i didn’t found any option.

    Is there any way to do this ? Please help.

  • #4334

    smehta

    Rama,

    As Elham mentioned, please feel free to vote for Enh #162130.

  • #26102

    Vidyasagar Kuppireddy
    Member
    @vidyasagar_kuppireddy

    Hi…How can i see Enh #162130

You must be logged in to reply to this topic.