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

  • Author
    Posts
  • #4328 Score: 0

    mshuman
    • Contributions: 0
    • Level 1

    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 Score: 0

    javier
    • Contributions: 0
    • Level 1

    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 Score: 0

    mshuman
    • Contributions: 0
    • Level 1

    RE: How to Bundle Email Templates

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

  • #4331 Score: 0

    elham
    • Contributions: 0
    • Level 1

    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 Score: 0

    mshuman
    • Contributions: 0
    • Level 1

    RE: How to Bundle Email Templates

    Thanks Elham. Just voted.

  • #4333 Score: 0

    Rama Krishna
    • Contributions: 0
    • Level 1

    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 Score: 0

    smehta
    • Contributions: 0
    • Level 1

    Rama,

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

  • #26102 Score: 0

    Vidyasagar Kuppireddy
    Member
    • Contributions: 1
    • Level 1
    @vidyasagar_kuppireddy

    Hi…How can i see Enh #162130

You must be logged in to reply to this topic.