Version: Cognos 11.1.6
I have three questions concerning customizing the code within the spec.json for the SampleExtensionsAll.zip file.
To make heavily used folders from Team Content easily accessible, I have modified the code that adds a button to the navigation bar to easily access the folder. However, the issues that I have encountered are:
1.) There is no icon that shows to the left of the folder so when it (the Nav bar) is in collapsed mode, the area looks blank.
2.) When choosing the folder, the file listing of the folder is sorted in alphabetical order. In Team Content, the file listing is sorted by Type with all "Folders" listed first. I would like the list to behave by default the same as Team Content with Folders listed at the top and then Reports listed afterward.
3.) Some Reports in the listing have long names. Is there a way to set the width of the flyoutPane to greater than 400px (which is the default)
Is it possible to include these changes in the json file (or an extension)?
The sample code provided by Cognos to add in the json file:
{
"comment": "This code adds a button to easily access an important folder.",
"id": "sample.folder.opener",
"containerId": "com.ibm.bi.glass.navbarLeadingGroup",
"label": "2016 reports",
"type": "Button",
"icon": "ba_content_nav-folder_24",
"weight": 700,
"comment": "The higher the weight, the earlier it appears in the container.",
"push": "true",
"actionController": "bi/glass/api/FolderOpener",
"options": {"path": ".public_folders/Samples/By feature/Extensions"}
},
#CognosAnalyticswithWatson