Hi Patrick!
Just reproducing the message I sent to you, to make public:
----
To be clear, follow theses steps:
Create a spec.json with this code:
{
"name":"Theme_CSS",
"schemaVersion": "2.0",
"extensions": [
{
"perspective": "home",
"features": [{
"id": "ca.home.perspective.theme.css",
"cssStyles": ["v1/ext/Theme_CSS/login/css/style.css"]
}]
}
]
}
Create folder structure /login/css, in root folder (where spec.json is located)
In folder login/css, create a style.css file and put this code:
div.ca-home-welcomeBanner-buttonsGroup , div.ca-home-welcomeBanner-closeButton{
display:none !important;
}
div.ca-home-welcomeBanner {
background-image: none !important;
background-image: linear-gradient(to bottom right, rgb(0, 54, 65), rgba(149, 207, 220, 0.5) ) !important;
height: 240px !important;
}
table.bx--data-table.bx--data-table--no-border.bx--data-table--sticky-header {
max-height: 2000px !important;
padding-bottom: 25px !important;
}
a.commonMenuLink img {
height: 18px !important;
width: 18px !important;
opacity: .8 !important;
}
This code has some customization for my environment. But, the most important part to hide watch button is
div.ca-home-welcomeBanner-buttonsGroup , div.ca-home-welcomeBanner-closeButton{
display:none !important;
}
Then, zip the folder where you create this customization and upload to Cognos at Manage > Customization > Extensions.
For your knowledge, I've create login/css structure because of this issue that sometimes can happen:
https://www.ibm.com/support/pages/441-error-when-uploading-theme-and-also-login-extension-calls-css-file-upon-login#:~:text=The%20441%20unauthorized%20error%20occurs,request%2C%20the%20response%20is%20441
------------------------------
JEAM COELHO
Cognos Solution Architect
LinkedIn:
https://www.linkedin.com/in/jeamcoelho/------------------------------
Original Message:
Sent: Thu June 09, 2022 05:54 AM
From: Patrick Neveu
Subject: Trying to get rid of Watch video button
Hi,
I'm struggling to get rid of "Watch video" button.
I've tried the solution proposed by @JEAM COELHO in Customizing the Cognos Analytics 11.2 home page, but I'm unable to succeed.
Best regards,
------------------------------
Patrick Neveu
Positive Thinking Company
------------------------------
#CognosAnalyticswithWatson