I’m facing an issue with my Freshworks FDK where the button defined in the manifest is not showing up on the Contact page when I test using ?dev=true mode.
Issue Details:
- Custom button does not appear in the Contact page UI in dev mode.
- No errors in browser console or network logs regarding the button.html file.
- fdk run works and local server starts correctly.
File structure :
[devops@nodedbc FreshworksCRM]$ tree -L 4
.
├── app
│ ├── html
│ │ ├── button.html
│ │ ├── modal.html
│ │ ├── template.html
│ │ └── test.html
│ ├── log
│ ├── scripts
│ │ ├── app.js
│ │ └── call.js
│ └── web
│ └── assets
│ └── phone.svg
├── config
│ └── iparams.json
├── dist
│ └── FreshworksCRM.zip
├── log
│ └── fdk.log
└── manifest.json
9 directories, 11 files
manifest.json :
{
“platform-version”: “3.0”,
“supported_products”: [
“sales_crm”
],
“engines”: {
“node”: “18.17.1”,
“fdk”: “9.6.0”
},
“modules”: {
“common”: {
“location”: {
“full_page_app”: {
“icon”: “web/assets/phone.svg”,
“url”: “html/button.html”,
“label”: “ClickToCall”
}
}
},
“contact”: {
“location”: {
“contact_entity_menu”: {
“icon”: “web/assets/phone.svg”,
“url”: “html/button.html”,
“label”: “ClickTocall”
}
}
}
}
}
button.html
Click Button Click Me