Home Analyst Portal

Displaying Service Offering Image

Caleb_jefferyCaleb_jeffery Customer IT Monkey ✭
HI I have been asked to provide a service catalog that has an image for each Service Offering.
After some research I discovered Service Catalog is getting it's data via the 
JSON API /ServiceCatalog/GetServiceCatalogWithSOGroup

When I look at this data there is no image data being sent for the Service Offerings
However the image data is present within the JSON API /ServiceCatalog/GetServiceCatalog

Is there a way of either combining these api sources into one source so that I can get the Image data.

Note:
I can display the image data by using the following <img src="data:image/png;base64,#=ServiceImage64#">

Answers

  • Brett_MoffettBrett_Moffett Cireson PACE Super IT Monkey ✭✭✭✭✭
    One way I have seen this done is to replace the initial home page with a custom page all together.
    This gives the flexibility to custom skin the whole page and then just call the links that are generated for the Service Offerings.
    One draw back is if new Service Offerings are added or existing ones removed, then the page won't dynamically update, but I'm sure with a bit of JScript wizardry this could be achieved.
  • Caleb_jefferyCaleb_jeffery Customer IT Monkey ✭
    The dynamic option would be what I am after and can achieve this if i can combine the to data sources 
  • Brett_MoffettBrett_Moffett Cireson PACE Super IT Monkey ✭✭✭✭✭
    A dynamic solution would require a custom solution that would need to be built. This is usually done via some Dev Ops and would be a cost for professional services to achieve this.

    If you believe that others in the community would also like this type of feature, please raise it as a feature request here on the community site and see if others vote the solution up. If there are sufficient votes, the product team will then see it and consider it for a future release.

    I hope this is a satisfactory answer to your question.
  • Veljko_SeroVeljko_Sero Customer IT Monkey ✭

    Hi , can somebody really explain to me how the images get published in Cireson portal. I had  to change the images on 8 service offerings and add images to 3 service requests which never had any image before. After I did this 3, All service offerings are in the same catalog. After I did that in SCSM from 8 old service offering the a new images appears in 5 of them , but not in 3. Also a new images appears on service offerings which  did not have any image before. So what can be wrong here, I restarted  a builder several times, restarted IIS, restarted server , reload image. No luck., Then I updated an image again on one of the service request which just worked on my initial change and now that image does not get updated.

  • merlenette_jonesmerlenette_jones Member Advanced IT Monkey ✭✭✭

    Hi , can somebody really explain to me how the images get published in Cireson portal. I had  to change the images on 8 service offerings and add images to 3 service requests which never had any image before. After I did this 3, All service offerings are in the same catalog. After I did that in SCSM from 8 old service offering the a new images appears in 5 of them , but not in 3. Also a new images appears on service offerings which  did not have any image before. So what can be wrong here, I restarted  a builder several times, restarted IIS, restarted server , reload image. No luck., Then I updated an image again on one of the service request which just worked on my initial change and now that image does not get updated.

    Hello,

    I think it would be best for you to raise this as an incident in our Portal 

    https://support.cireson.com/ServiceCatalog/RequestOffering/5a0d0595-9096-6cfe-911c-9a03cb2817f9,bebefee7-84c5-5dc8-7fed-adc7345da87e

    Please provide logging information and screenshots so we can help to remedy the issue. 

    Merle
  • Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭

    Hi , can somebody really explain to me how the images get published in Cireson portal. I had  to change the images on 8 service offerings and add images to 3 service requests which never had any image before. After I did this 3, All service offerings are in the same catalog. After I did that in SCSM from 8 old service offering the a new images appears in 5 of them , but not in 3. Also a new images appears on service offerings which  did not have any image before. So what can be wrong here, I restarted  a builder several times, restarted IIS, restarted server , reload image. No luck., Then I updated an image again on one of the service request which just worked on my initial change and now that image does not get updated.

    Hi Veliko

    Check out the below KB for the steps to update offering images these cache in a few different places so make have to be cleared following these steps
    https://support.cireson.com/KnowledgeBase/View/1220

    Regards
    Joe
  • Veljko_SeroVeljko_Sero Customer IT Monkey ✭
    Hi Joe, thank you for your notes. After I run the SQL query the correct images got displayed.  However, as article stated all previous disabled enumerations got re-enabled. :( I am wondering if there is any logical reason why is this happening. Was this one off  or something I can expect very often. Updating service request offering is the often task so truncating the table and disabling enumeration is not so fun to do all over again.
  • Veljko_SeroVeljko_Sero Customer IT Monkey ✭

    by the way since I did that I again changed the tow images for testing . After I changed the icons I also restarted cachebuilder services but the portal still displays the old 2 images. I am not sure if this is some timing issue or I need to restart IIS. I need to know what actually is "normal scenario"  when I update service offering image? !. 1. When should updated image be available in the portal if I do not restart the services. 2, What needs to be done to force it. I think  Merlenette from Cireson advised me to open a ticket with them which I did. However I may missing something here.


  • Joe_BurrowsJoe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭
    edited July 2016
    Hi Veljko
    Just need to follow the order outlined in the KB to get rid of the stale image cache.

    Another way if you didn't want to truncate would be to unpublish and republish from drafts to clear the old image from cache and restart the cachebuilder

    Hope that helps!

    Any further issues lets discuss in the ticket as this thread is for a different topic of using the API.

    Cheers
    Joe
  • Veljko_SeroVeljko_Sero Customer IT Monkey ✭

    Okay, the ticket is fine even I am not sure I get any update. I follow the order and it worked , but you need to agreed that doing this is pain and cannot believe it is per design. looking forward to discuss it in my ticket.

Sign In or Register to comment.