Our plan is to transfer all our custom code to a customer file, such as customCrm.js. In the framework.js, we will utilize the messaging mechanism using postMessage.
However, I have a slight concern regarding the location for uploading the customCrm.js file.
1-Should we also upload it on AppFoundry? If so, what would be the process?
2-How will customers install our connector? Will they contact us through AppFoundry, or can they directly install it from the platform?
The customCRM.js is a middle layer file deployed on CRM/Cloud/on-premise. The framework.js is embedded inside it. All the communication has happened through the post-message scheme.
Further, we can add any kind of customization/Library/API in the middle layer while keeping the framework.js file to a minimum.