Unable to load your extension. Please check your plugin-manifest or Resources.json.
Hi Team,
I am using the config module with multiple fields of different types, such as checkboxes and picklists. However, I am encountering the following issues:
Error Message:
When loading the extension, I get the error:
"Unable to load your extension. Please check your plugin-manifest or Resources.json."
Picklist Issue:
In some cases, when I remove the picklist field, the extension works, but instead of showing the displayName, the name field is displayed for checkbox fields.
Could you please advise why this is happening? Additionally, I couldn’t find an example of using the picklist field in the documentation.
For reference, below is the plugin-manifest.json file I am using.
- {
- "locale": ["en"],
- "service": "DESK",
- "storage": false,
- "type": "personal",
- "whiteListedDomains": ["https://api.com"],
- "modules": {
- "widgets": [
- {
- "location": "desk.ticket.detail.rightpanel",
- "url": "/app/widget.html",
- "name": "Sample app",
- "logo": "/app/img/logo.png",
- "icon": "/app/img/icon.png"
- },
- {
- "location": "desk.ticket.detail.lefttab",
- "url": "/app/widget.html",
- "name": "Sample Left Tab Widget",
- "logo": "/app/img/logo.png",
- "icon": "/app/img/icon.png"
- },
- {
- "location": "desk.background",
- "url": "/app/background.html",
- "name": "Sample Background Widget"
- }
- ]
- },
- "cspDomains": {
- "connect-src": []
- },
- "zohoAuthorisation": {},
- "connectors": [],
- "config": [
- {
- "name": "feature_one",
- "displayName": "Enable Feature One",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature One"
- },
- {
- "name": "feature_two",
- "displayName": "Enable Feature Two",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Two"
- },
- {
- "name": "feature_three",
- "displayName": "Enable Feature Three",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Three"
- },
- {
- "name": "feature_four",
- "displayName": "Enable Feature Four",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Four"
- },
- {
- "name": "feature_five",
- "displayName": "Enable Feature Five",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Five"
- },
- {
- "name": "feature_six",
- "displayName": "Enable Feature Six",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Six"
- },
- {
- "name": "feature_seven",
- "displayName": "Enable Feature Seven",
- "mandatory": false,
- "secure": false,
- "type": "checkbox",
- "userdefined": true,
- "authType": "personal",
- "defaultValue": false,
- "description": "Check this box to enable Feature Seven"
- },
- {
- "name": "priority",
- "displayName": "Set Priority",
- "mandatory": false,
- "secure": false,
- "type": "picklist",
- "userdefined": true,
- "authType": "personal",
- "options": [
- {
- "value": "low",
- "display": "Low"
- },
- {
- "value": "medium",
- "display": "Medium"
- },
- {
- "value": "high",
- "display": "High"
- }
- ],
- "defaultValue": "medium",
- "description": "Select the priority level"
- }
- ],
- "moduleSupport": true
- }
Looking forward to your guidance on resolving this issue. Thank you!