Hello team,
I have install new version of c8y Application and done my setting, There are following
“c8y”: {
“application”: {
“name”: “Tools Application”,
“contextPath”: “tools-app”,
“key”: “tools-app-application-key”,
“brandingEntry”: “./branding/branding.less”,
“entryModule”: “app.module#AppModule”,
“globalTitle”: “Cumulocity IoT”,
“tabsHorizontal”: true,
“rightDrawer”: true,
“docs”: {
“links”: [
{
“label”: “Legacy link”,
“icon”: “c8y-icon c8y-icon-tools”,
“url”: “https://legacy-link.com”
},
{
“label”: “New doc link”,
“icon”: “c8y-icon c8y-icon-c8y”,
“url”: “https://new-doc-link.com”,
“type”: “doc”
},
{
“label”: “Quick link from package.json”,
“icon”: “c8y-icon c8y-icon-atom”,
“url”: “https://quick-link.com”,
“type”: “quicklink”
}
]
}
},
“cli”: {}
},
Now I am getting issue in user and logout button is not showing.
Here I am pasting screenshot for your better understanding
Please guide me, what am i doing wrong
Hi @rmishra1,
can you provide the version of the Web SDK you are using?
Have you tried to remove some of the customizations that you did in order to narrow down the root of the issue? You could e.g. start by removing the “brandingEntry”: “./branding/branding.less”,
line, to ensure that you are not hiding this section via some of your styles.
Do you see any error messages in your browsers console?
If you right click the location where the user icon should usually be, and select inspect
, can you find the HTML that belongs to the user icon there?
Regards,
Tristan
Thanks @Tristan_Bastian
Web SDK version is “version”: “1018.0.240”
I wanted to bring to your attention an issue I am encountering where a specific element is not rendering in the DOM. I have verified that the problem is not related to CSS, as the styles appear to be correctly applied.
If you have any insights or suggestions on troubleshooting this issue, I would greatly appreciate your help.
It is hard to support on this without having access to your sources or the actual application.
Just because styles are applied does not really mean that they can not be the issue. Can you provide the contents of your ./branding/branding.less
file?
As I guess you did not had the issue beforehand, what did modifications did you do between the working and none working versions?
Regards,
Tristan
Thanks @Tristan_Bastian
Now it is fixed, yes problem in branding.less