Cognos Analytics

Expand all | Collapse all

Shared image folder on network drive, is it possible?

  • 1.  Shared image folder on network drive, is it possible?

    Posted 16 days ago
    I'm new to multi-server setup for Cognos Analytics.  Most of my images I've used in dashboards have been saved in the "webcontent/bi/samples/images" folder but now with a primary CM and standby CM server I like to have a single location for all images.  Is it possible to use a network folder for all images in Cognos?  Can I set up WebDev to use this folder and allow browsing for images?

    IBM site didn't give me much to go on for setting something like this.  I have to assume those of you out there that have multi-server installations know how to make this work. I would appreciate your guidance on this.

    Thanks in advance for your expertise and advice.

    ------------------------------
    Scott
    Cognos Administrator
    Wenatchee WA
    ------------------------------


  • 2.  RE: Shared image folder on network drive, is it possible?

    Posted 16 days ago
    If browsing image gallery is fine, there is sample media extension to upload images instead of putting them on Server.


    ------------------------------
    Buddhi Gupta
    ------------------------------



  • 3.  RE: Shared image folder on network drive, is it possible?

    Posted 15 days ago

    I would be really interested how to use images in Dashboards without the need to save them in "webcontent/bi/samples/images"

    Is there an article on the media extension that give instructions on install and use?



    ------------------------------
    Jonathan berry
    ------------------------------



  • 4.  RE: Shared image folder on network drive, is it possible?

    Posted 15 days ago
      |   view attached
    Attached find a sample extension to upload (as administrator > customization > extensions ) SVG images to be used in Dashboard gallery (I imagine that JPEGs also work - have not tested it).

    You might use the images (without) browsing anywhere else:
    https://<server>/cognos/bi/v1/ext/AmvaraCommonShapes/images/myimage.jpg


    ------------------------------
    Ralf Roeber
    ------------------------------

    Attachment(s)

    zip
    AmvaraCustomShapes.zip   5K 1 version


  • 5.  RE: Shared image folder on network drive, is it possible?

    Posted 15 days ago
    IBM provides sample Extensions - Sample_Custom_Media_All

    I am using jpg and png images in my extension so they should also work.

    Please note that there can be only one extension to keep all Images.

    Only thing I am not clear is whether we can create subfolders and show them to organize images or will it hide them?

    ------------------------------
    Buddhi Gupta
    ------------------------------



  • 6.  RE: Shared image folder on network drive, is it possible?

    Posted 15 days ago
    I understand about the Media extension but my question was about the multi-server setup. With 2 content manager servers 'can' i have one folder for all my images or are you saying I need to duplicate images on both machines.  I want to have a shared folder that users (specific users) that can add images to the folder to be used in Cognos.  I don't want them to have to copy to multiple folders on the Cognos server.
    Thanks again for your insight.

    ------------------------------
    Scott
    Cognos Administrator
    Wenatchee WA
    ------------------------------



  • 7.  RE: Shared image folder on network drive, is it possible?

    Posted 15 days ago

    Since we are on IBM Cloud, we are using it as easy approach without need to copy on multiple servers. 

    IBM Cloud architecture doesn't allow search when images are uploaded on servers so need to remember exact path for usage.

    For On premise set up, probably you can have shared mount between servers similar to Deployment Folder.

    Other method could be to have common folder (where all users can copy/manage images) and make it mounted on all Cognos Servers. You can write a shell script to copy over to each server path. 




    ------------------------------
    Buddhi Gupta
    ------------------------------



  • 8.  RE: Shared image folder on network drive, is it possible?

    Posted 11 days ago
    We're still using Cognos 10.x here, and I don't have a direct answer as to whether a single shared network location for images can be made to work, but I can offer the solution I've used in our multi-server environment, based on IBM's tech notes on the "missing images" in output issue.

    I always use the relative path "../images/[imagename].jpg" when adding images to a report (have to edit the property if I browse to select). I copy any new images into the primary Content Manager's /images directory, then drop it onto a small .bat file I wrote to copy the image out to the /images folders on all three dispatcher servers in our environment (note that just having it on the CM's won't do).

    It works just fine for us.

    ------------------------------
    Michael Walter
    ------------------------------



  • 9.  RE: Shared image folder on network drive, is it possible?

    Posted 11 days ago

    Thank you to everyone who responded to my request for help.  I reviewed the extension idea and it didn't address the question I had. I appreciate the information though.  I think I figured out what would work best for us.  We'll use a shared folder for holding images (only authorized BI users can write to it). Using a script we'll copy the images to the 2 content store servers default image folder.  This way both CM systems will be in sync and users will have the images to use in their dashboards and reports.

     

    Appreciate all the information shared with me – thanks.

     

    Scott