"Iβm using SuiteCRM 8. In my system, I placed Angular code inside:
extensions/defaultExt/app/src/containers/sidebar-widget/tasks
.
When I runyarn run build:defaultExt
, I can see the sidebar widget working correctly.
But when I packaged it (for Module Loader), I put the folder path as
extensions/defaultExt
, and also updated themanifest.php
to point fromextensions/defaultExt
toextensions/defaultExt
.
After I install the package using Module Loader, the folder is installed under
public/legacy/extensions/defaultExt
instead ofsuitecrm/extensions/defaultExt
. So the widget does not appear.
How can I make it work and get the output properly?"
Proper English Conversion:
Iβm currently using SuiteCRM 8.
In my development system, I placed the Angular widget code in the folder:
swift
CopyEdit
extensions/defaultExt/app/src/containers/sidebar-widget/tasks
When I run the command:
bash
CopyEdit
yarn run build:defaultExt
the sidebar widget loads and works correctly inside SuiteCRM.
Later, I tried to convert it into a package to install it using Module Loader.
For that, I added the folder extensions/defaultExt
into the package and updated the manifest.php
to copy it from:
bash
CopyEdit
from: extensions/defaultExt
to: extensions/defaultExt
But after installing the package through Module Loader, the folder gets copied into:
swift
CopyEdit
public/legacy/extensions/defaultExt
instead of the correct location:
bash
CopyEdit
suitecrm/extensions/defaultExt
As a result, the widget doesnβt work after installation.
Now my question is:
How can I correctly package and install this extension so that it gets placed in
suitecrm/extensions/defaultExt
and works properly with Angular build?