Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Everyone,
I have created a custom Dashboard in Umbraco 8 and now I want to add 2 tabs in that custom dashboard but seems I am not able to.
Does anyone know how to do it ?
Below is my package.manifest file content -
{"sections": [ { "name": "Custom", "alias": "Custom" } ], "dashboards": [ { "alias": "Custom", "sections": [ "Custom" ], "view": "~/App_Plugins/Custom/Backoffice/Views/report.html" } ], javascript: [ '~/App_Plugins/Custom/js/Custom.resource.js', '~/App_Plugins/Custom/js/Custom.control.js', '~/App_Plugins/Custom/js/smart-table.min.js'], css: [ '~/App_Plugins/Custom/css/Custom.css' ]}
Can anyone help if I can achieve this my package.manifest file or is there some other way around
any help would be highly appreciated
Hi Yogeshwer Sharma!
Im not that known with the package.manifest but I think it sould contain JSON, right?
I think your package.manifest contains some format errors. I think this way be the reason why your custom tab is not showing up.
You have added the .js files in the array called javascript however you should declare it as "javascript". This is also the case for css > "css"
javascript
"javascript"
css
"css"
Also the '~/App_Plugins/Custom/js/Custom.resource.js' should be "~/App_Plugins/Custom/js/Custom.resource.js". Single ' only contain CHARS not STRINGS.
'~/App_Plugins/Custom/js/Custom.resource.js'
"~/App_Plugins/Custom/js/Custom.resource.js"
The correct JSON should be:
{ "sections": [ { "name": "Custom", "alias": "Custom" } ], "dashboards": [ { "alias": "Custom", "sections": [ "Custom" ], "view": "~/App_Plugins/Custom/Backoffice/Views/report.html" } ], "javascript": [ "~/App_Plugins/Custom/js/Custom.resource.js", "~/App_Plugins/Custom/js/Custom.control.js", "~/App_Plugins/Custom/js/smart-table.min.js" ], "css": [ "~/App_Plugins/Custom/css/Custom.css" ] }
Let me know if this fixes the problem.
Greetings, Joppe
Thanks Joppe,
But my concern is not about showing the custom dashboard or json format my concern is about how I can show Tabs in Umbraco 8 in custom dashboard?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to add Tabs in custom Dashboard Umbraco 8
Hi Everyone,
I have created a custom Dashboard in Umbraco 8 and now I want to add 2 tabs in that custom dashboard but seems I am not able to.
Does anyone know how to do it ?
Below is my package.manifest file content -
Can anyone help if I can achieve this my package.manifest file or is there some other way around
any help would be highly appreciated
Hi Yogeshwer Sharma!
Im not that known with the package.manifest but I think it sould contain JSON, right?
I think your package.manifest contains some format errors. I think this way be the reason why your custom tab is not showing up.
You have added the .js files in the array called
javascript
however you should declare it as"javascript"
. This is also the case forcss
>"css"
Also the
'~/App_Plugins/Custom/js/Custom.resource.js'
should be"~/App_Plugins/Custom/js/Custom.resource.js"
. Single ' only contain CHARS not STRINGS.The correct JSON should be:
Let me know if this fixes the problem.
Greetings, Joppe
Thanks Joppe,
But my concern is not about showing the custom dashboard or json format my concern is about how I can show Tabs in Umbraco 8 in custom dashboard?
is working on a reply...