Cognos Analytics

 View Only
  • 1.  Deleting and Creating Extensions

    Posted Mon April 01, 2019 10:17 AM
    ​Hi All,
    we are using cognos 11.1 R1.
    I was bale to create and delete the extensions for navigation purposes.Now all of sudden  I am getting this error message when I  try to delete certain extensions.(Failed to delete extension ‪Sample public folders.)
    I rebooted  the server but still cant delete the extension.
    Other issue which I am noticing is  I have created the extensions and uploaded it and when I see my extensions list I see that extensions added in my extensions list but that extension is not reflecting in the Navigation and now when I try to delete it I cant delete it .
    I never use to have these problem before all of sudden I am seeing all these happening.
    Any idea why this is happening. Thanks

    Regards,
    Pradeep Sahay

    ------------------------------
    pradeep sahay
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Deleting and Creating Extensions

    Posted Mon April 01, 2019 01:40 PM

    @Pradeep Sahay

    Thank you for posting to the community!

    The issue you've come across could be related to multiple causes.  Please log a support request at the site below so we can investigate this further with you. 

    https://ibm.com/mysupport

    Thank you,



    ------------------------------
    Sami El Cheikh
    Offering Manager
    IBM Cognos Analytics
    ------------------------------



  • 3.  RE: Deleting and Creating Extensions

    Posted Tue April 09, 2019 03:51 AM
    Edited by System Fri January 20, 2023 04:47 PM

    Hi Pradeep, I encountered the same issue.
    In my opinion this was caused by two possible issues:
     - invalid JSON syntax
     - name of Extension contained spaces
    If you have uploaded an Extension, while the name of the Extension contains spaces, it will upload but you'll won't be able to delete the extension. I havent figure out how to manually delete it..
    Make sure you use a json validator (google it) to check your Extension syntax-wise



    ------------------------------
    Peter Brusse
    ------------------------------



  • 4.  RE: Deleting and Creating Extensions

    Posted Tue April 09, 2019 05:55 AM
    I use a template project for my extension and theme projects that checks the spec.json for validity before uploading (it compares it to the json schema). It also zips your code and uploads it. Very useful during development.

    Here is the code: https://github.com/CognosExt/cognos-ext-template

    ------------------------------
    Reinier Battenberg
    https://github.com/CognosExt
    ------------------------------