Creatio Custom Component | Remote Module

Is it possible to run the angular app locally for develpment? I am trying to tailor the component quickly without having to compile it in Creatio. When I run 'npm start' the app fails to load with the following error: 
'ERROR Error: Remote entry with name 'sdk_remote_module_package' does not exist
   at checkRemoteName (creatio-devkit-common.mjs:1713:15)
   at bootstrapCrtModule (creatio-devkit-common.mjs:1993:13)'

Like 0

Like

2 comments

Hi Grant

You’re hitting this because a Creatio remote module is not a fully standalone Angular app.

`npm start` tries to bootstrap modules that are normally provided by Creatio runtime (including `sdk_remote_module_package`), so outside Creatio you get:

`Remote entry with name 'sdk_remote_module_package' does not exist`.

Short answer:

  • Can you run it fully local without Creatio? Usually no (not in a practical way for real component behavior).
  • The component depends on Creatio runtime (`crt`, designer context, requests, etc.).

Fast development workflow
1. Run Angular build in watch mode:
  `npm run build -- --watch`
2. Auto-copy `dist/...` to your package `Files/src/js/<YourRemoteModule>`
3. Compile only your package (not full configuration):
  `clio compile-package <YourPackage> -e <YourEnv>`
4. Hard refresh Designer (`Ctrl+F5`)

This is the fastest stable loop today for remote module development.
 

Regards,

Julio Falcón

NCS.JulioFalcon,

Thank you :)

Show all comments