Chris Abbott's Profile
Advanced
2916
Points

Questions
7

Answers
654

  • Advanced Asked on November 12, 2019 in SuiteScript.

    It looks like there might be a different process for TypeScript in WebStorm:

    https://blog.jetbrains.com/webstorm/2016/03/how-to-compile-typescript-in-webstorm/

     

    I’m not yet planning to use TS but am experimenting with the latest versions of JavaScript.

     

    I’ve not got as far as a fully working solution once the compiled code is generated but am working on a couple of possibilities:

    • Having a separate folder tree for source code (not included in deploy.xml) that is then transpiled into the deployable section.
    • Having the transpiled files alongside the source files but excluding the source file types from deploy.xml.

    In either case, I’m not yet certain what deploy.xml offers in terms of filtering, selection, exclusion, etc.

    Thanks,

    Chris

    • 2273 views
    • 2 answers
    • 1 votes
  • Advanced Asked on November 12, 2019 in SuiteTalk.

    I’d expect that sort of error based on custom form setup, etc.

    Are you able to share the request that you’re sending?

    and

    Are you able to log in as the integration user and create the desired transaction through the UI?

    • 2836 views
    • 9 answers
    • 0 votes
  • Advanced Asked on November 12, 2019 in SuiteScript.

    I think you’ll have to create some sort of custom build/deploy process that compiles the TS and then deploys the compiled file.

    A lot will depend on the IDE you’re using. For example, I’m currently exploring using WebStorm’s File Watchers to continually output transpiled JavaScript (ES.NEXT to ES5.1) and then use that when deploying via SDF.

    • 2273 views
    • 2 answers
    • 1 votes
  • Advanced Asked on November 12, 2019 in SuiteScript.

    I seem to think handling for files above 10mb is only for text. Can I ask what you’re looking to do with the file?

    Thanks,

    Chris

    • 1775 views
    • 1 answers
    • 0 votes