Save time attaching documents to your SuiteCRM records by using Boru’s Drag and Drop add-on for the Documents module. With easy-to-use functionality, users can upload multiple documents to a record at once.
Requirements
Requirements For Hosted SuiteCRM Server.
- You need to have support to run NodeJS and Angular Cli application on the server where SuiteCRM is hosted.
- If NodeJS is not installed on hosted server, asked your Server Administrator to do it for you.
- You can take help from nodejs
- Or you can download and install NodeJS from enter link description here here by your own.
- Note the version: Angular Cli 12.1.0 and compatible NodeJS version
Requirements For BaoruDragAndDrop Configuration.
- Add Extension Config to angular.json file:
"BoruDragAndDrop": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "extensions/BoruDragAndDrop",
"sourceRoot": "extensions/BoruDragAndDrop/app/src",
"prefix": "app",
"architect": {
"build": {
"builder": "ngx-build-plus:browser",
"options": {
"namedChunks": true,
"commonChunk": false,
"sourceMap": true,
"aot": true,
"outputPath": "extensions/BoruDragAndDrop/public",
"index": "extensions/BoruDragAndDrop/app/src/index.html",
"main": "extensions/BoruDragAndDrop/app/src/main.ts",
"polyfills": "extensions/BoruDragAndDrop/app/src/polyfills.ts",
"tsConfig": "extensions/BoruDragAndDrop/app/tsconfig.app.json",
"assets": [
"extensions/BoruDragAndDrop/app/src/favicon.ico",
"extensions/BoruDragAndDrop/app/src/assets"
],
"styles": [
"extensions/BoruDragAndDrop/app/src/styles.scss"
],
"scripts": [],
"extraWebpackConfig": "extensions/BoruDragAndDrop/app/webpack.config.js"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "extensions/BoruDragAndDrop/app/src/environments/environment.ts",
"with": "extensions/BoruDragAndDrop/app/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
],
"extraWebpackConfig": "extensions/BoruDragAndDrop/app/webpack.prod.config.js"
},
"dev" : {
"outputPath": "public/extensions/BoruDragAndDrop"
}
}
},
"serve": {
"builder": "ngx-build-plus:dev-server",
"options": {
"browserTarget": "services:build",
"extraWebpackConfig": "extensions/BoruDragAndDrop/app/webpack.config.js",
"port": 3000
},
"configurations": {
"production": {
"browserTarget": "services:build:production",
"extraWebpackConfig": "extensions/BoruDragAndDrop/app/webpack.prod.config.js"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "services:build"
}
},
"test": {
"builder": "ngx-build-plus:karma",
"options": {
"main": "extensions/BoruDragAndDrop/app/src/test.ts",
"polyfills": "extensions/BoruDragAndDrop/app/src/polyfills.ts",
"tsConfig": "extensions/BoruDragAndDrop/app/tsconfig.spec.json",
"karmaConfig": "extensions/BoruDragAndDrop/app/karma.conf.js",
"assets": [
"extensions/BoruDragAndDrop/app/src/favicon.ico",
"extensions/BoruDragAndDrop/app/src/assets"
],
"styles": [
"extensions/BoruDragAndDrop/app/src/styles.scss"
],
"scripts": [],
"extraWebpackConfig": "extensions/BoruDragAndDrop/app/webpack.config.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"extensions/BoruDragAndDrop/app/tsconfig.app.json",
"extensions/BoruDragAndDrop/app/tsconfig.spec.json",
"extensions/BoruDragAndDrop/app/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "extensions/BoruDragAndDrop/app/e2e/protractor.conf.js",
"devServerTarget": "services:serve"
},
"configurations": {
"production": {
"devServerTarget": "services:serve:production"
}
}
}
}
}
Requirements For Build core
- You need to have support to run Build Core application on the server where SuiteCRM is hosted.
yarn run build:common
yarn run build:core
yarn run build:shell
ng build BoruDragAndDrop --configuration production
Saving Comment...