Cognos Analytics

 View Only
  • 1.  Cognos Analytics icons

    Posted Tue June 21, 2022 09:17 AM
    I've been customizing my Cognos Analytics 11.2 home page with the help of Tim Aston's blog post (Customizing the Cognos Analytics 11.2 home page) but I was wondering about the icons that are used on the home page.

    When adding custom quick launch tiles, I also want to add icons to them, but I can't find anywhere a list of icons that are available to use. The existing icons seem to be under a class called 'ba-common-svgIcon' but I couldn't find any information about that. I tried adding my own icons too but that didn't work. Any help? Thanks!

    ------------------------------
    Emily
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos Analytics icons

    IBM Champion
    Posted Tue June 21, 2022 10:04 AM
    Hi Emily,

    The icons are based on IBM Carbon icons.

    In the sample from the blog post, the icon is:
    "icon": "common-collaborate-group",
    If you look in this page, you will see all the available icons:
    https://carbon-elements.netlify.app/icons/examples/preview/

    Well, at this time, I am not able to find in which file you can locate the icon name, such as common-collaborate-group... It might be a "dummy" name created in the javascript file, and you just need to add the same name to the file in image folder for your extension.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 3.  RE: Cognos Analytics icons

    IBM Champion
    Posted Tue June 21, 2022 10:36 AM
    You can get the full list of SVG symbols by pasting this into the browser developer console (press F12) and pasting in the following:

    [...document.getElementById('images_ba_portal_common_icons_svg').querySelectorAll('symbol')].map(x=>x.id).join(', ')

    In my 11.2.1 environment I get the following list:
    'add-new_32, admin-administrator_24, admin-my_parameters_icon, admin-pause, admin-play, administrator_24, analytics_32, authoring-database, authoring-lock, authoring-page, authoring-query, authoring-refresh, authoring-run, authoring-unlock, authoring-view, ba_content_nav-activereport_16, ba_content_nav-arrow_down_16, ba_content_nav-arrow_up_16, ba_content_nav-back-previous_16, ba_content_nav-cloud_32, ba_content_nav-custom-folder_24, ba_content_nav-data_16, ba_content_nav-data_model_16, ba_content_nav-folder-overflow_16, ba_content_nav-folder-portal-pages_16, ba_content_nav-folder-portal-pages_24, ba_content_nav-folder_16, ba_content_nav-job_16, ba_content_nav-password-key, ba_content_nav-personal_24, ba_content_nav-powerplayreport_16, ba_content_nav-recent_24, ba_content_nav-reporttemplate_16, ba_content_nav-role_24, ba_content_nav-save_16, ba_content_nav-search_24, ba_content_nav-shared_24, ba_content_nav-social-insights-project_16, ba_content_nav-sort_16, ba_content_nav-template_32, ba_content_nav-text-file_24, ba_content_nav-url_32, ba_content_nav-workspace-16, ba_menu_24, ba_portal-app_24, ba_portal-create-new_24, ba_portal-help_24, ba_portal-home_16, ba_portal-home_24, ba_portal-notifications_24, ba_portal-recent_24, ba_portal-stacked-scrolling--1, ba_portal-user_24, ca-modeller-breaklink, ca-modeller-compass_16, ca-modeller-data-cache-expiry_16, ca-modeller-eye, ca-modeller-fullJoin, ca-modeller-innerJoin, ca-modeller-intent, ca-modeller-join, ca-modeller-leftJoin, ca-modeller-rightJoin, ca-modeller-sort, ca-modeller-split-column_16, ca-modeller-table, ca-modeller-validateGrid, ca_portal-apps_24, ca_portal-home_24, ca_portal-other_24, classic-run, cloud_32, column_heading, common-CA_Avatar_Black_24, common-CA_Avatar_Colour_24, common-CA_Avatar_Colour_64, common-MyContent, common-TreeFolderClosed, common-TreeFolderOpened, common-about_dialog_logo, common-accounts, common-add-folder, common-add-new, common-add, common-add_32, common-add_to_group, common-add_to_role, common-add_user, common-admin, common-agent, common-agentDefinition, common-analysis_32, common-analysis_studio, common-analysis_studio_report, common-app, common-appbar, common-appendFile, common-archive, common-bee, common-calculation, common-calculation_fact, common-calendar, common-catalog, common-center-align, common-checkbox, common-checkbox_checked, common-checkbox_partiallyChecked, common-checkmark, common-chevron_left, common-chevron_right, common-clock-time, common-close-cancel-error, common-close_16, common-close_icon, common-cloud, common-coachmark-inner, common-coachmark-outer, common-cognos_analytics, common-cognoslogo, common-collaborate-group, common-collections, common-comment_24, common-companion-apps-arrow, common-compressed-file, common-configure-manage, common-content, common-contextmenus, common-controller, common-copy, common-copy_16, common-create, common-create_folder, common-create_group, common-create_role, common-create_user, common-csv_icon, common-customcontent, common-cut_16, common-cut_24, common-dashboard, common-dashboard_24, common-dataMovement, common-data_source, common-database-server, common-dataset, common-dataset_number, common-dataset_text, common-debug, common-default_perm, common-deny_perm, common-diagnostic_logging, common-disable_schedule, common-disabled, common-discover, common-document, common-document_export, common-document_import, common-download, common-draggable_32, common-drill_through_definition, common-drillgroup, common-dropdown, common-edit, common-email, common-email_icon, common-embed, common-enable_schedule, common-error, common-error_dialog, common-event-announcement, common-excel_icon, common-exploration, common-explore, common-failed, common-filter-small, common-filter, common-folder-black, common-folder-overflow_24, common-folder-small, common-folder-white, common-folder, common-folder_16, common-format, common-fullscreen, common-global-parameters, common-grant_perm, common-group, common-handle, common-hat_32, common-hierarchy, common-highlight-small, common-highlight, common-home, common-html_icon, common-image, common-import, common-info-moreinfo, common-information, common-information_32, common-insights, common-interactiveReport, common-job, common-justify-align, common-launch, common-left-align, common-left_collapse, common-level, common-licenses, common-link, common-linkdecorator, common-location, common-log, common-manage_24, common-measureDimension, common-media, common-menu-overflow, common-menuoverflow-vertical, common-menuoverflow, common-metrics, common-metricsDataSource, common-metricsExport, common-metricsImport, common-metricsMaintenance, common-metricsNewPackage, common-missing, common-mobile_icon, common-models, common-module, common-multi_tenant, common-mypreferences, common-namedSet, common-named_set, common-namespace, common-namespaceFolder, common-namespace_24, common-navbar, common-nodrop, common-notify_navbar_none, common-notify_read, common-notify_sidebar_new, common-notify_unread, common-open-tab, common-other_apps, common-package, common-pagelet, common-paste_16, common-paste_24, common-pause, common-pdf_icon, common-personal, common-pin, common-planning, common-play, common-policy_32, common-powerPlay8_report, common-powerPlay8_view, common-powerPlayCube, common-powerPlay_designMode, common-powerPlay_report, common-previous, common-print_icon, common-properties, common-query, common-queryItem, common-queryItem_fact, common-queryItem_time, common-queryReport, common-querySubject, common-querySubject_shortcut, common-question-mark, common-redo, common-refresh, common-refreshFile, common-regularDimension, common-remove-delete-grey, common-remove-delete, common-remove-trash, common-remove_schedule, common-report, common-report_32, common-report_view, common-repository-archive, common-required, common-retrieve, common-right-align, common-right_expand, common-role, common-run, common-save, common-saveExternal, common-savedoutput_report, common-savedoutput_reporthistory, common-schedule, common-schema, common-search, common-set_priority, common-settings-manage, common-settings, common-settings_32, common-shape, common-share-rss-feed, common-share, common-share_24, common-shared_folder, common-shortcut, common-signin, common-signout, common-slider-left-grip, common-slider-middle-grip, common-slider-right-grip, common-smarts-conversation_32, common-snapshotableDataModule, common-sort-icon, common-sort, common-story, common-subscribe_icon, common-subtract--alt_32, common-success, common-successful, common-swap, common-syntax-checker_24, common-teamFolders, common-template-select, common-terminate_sessions, common-text-bold, common-text-italic, common-text-size_24, common-text-underline, common-text, common-titan-arrow-down, common-titan-dialog-close, common-titan-model, common-titan_help, common-to-end, common-to-start, common-tools-toolbox, common-tools_32, common-undo, common-unloaded_schema, common-unsupportedformat_icon, common-upload, common-upload_measure, common-url, common-use_credentials, common-user-profile, common-user, common-versions, common-view, common-view_24, common-view_decorator, common-visualization, common-warning-hollow, common-warning, common-webpage, common-workspace, common-xml_icon, dashboard-calculate, dashboard-custom-widgets, dashboard-eventgroup-appbar, dashboard-fullscreen, dashboard-intent_based_authoring, dashboard-pin, dashboard-widget, data-notebook, dismiss_16, error_24, explore-card_list, get-information_16, modeller-TreeFolderClosed, modeller-TreeFolderOpened, modeller-bee_small, modeller-breaklink, modeller-calculation, modeller-calculation_attribute, modeller-calculation_fact, modeller-calculation_identifier, modeller-chevron, modeller-databases, modeller-eye, modeller-files, modeller-intent, modeller-join, modeller-joinAddIcon, modeller-joinCard121Icon, modeller-joinCard12NIcon, modeller-joinCardN21Icon, modeller-joinCardN2NIcon, modeller-joinLinkIcon, modeller-joinRefreshIcon, modeller-joinTypeFullIcon, modeller-joinTypeInnerIcon, modeller-joinTypeLeftIcon, modeller-joinTypeRightIcon, modeller-models, modeller-module, modeller-queryItem, modeller-queryItemNavGroup, modeller-queryItem_fact, modeller-queryItem_identifier, modeller-queryItem_time, modeller-querySubject, modeller-querySubject_shortcut, modeller-remove, modeller-repo, modeller-report, modeller-schema, modeller-snapshot, modeller-table, modeller-validateGrid, presentation-file_32, slot_colorBy, suppress-nulls_16, tree-view_32, upload-measure, visualizations-crosstab, visualizations-dataplayer, visualizations-hierarchy, visualizations-summary, visualizations-table'

    ------------------------------
    Paul Mendelson
    ------------------------------



  • 4.  RE: Cognos Analytics icons

    IBM Champion
    Posted Tue June 21, 2022 10:40 AM
    Thank you Paul, very useful.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 5.  RE: Cognos Analytics icons

    Posted Wed June 22, 2022 03:26 AM
    Thanks for the replies, Patrick and Paul! This helped a lot.

    ------------------------------
    Emily
    ------------------------------