Displaying Service Offering Image
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.
I can display the image data by using the following <img src="data:image/png;base64,#=ServiceImage64#">
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.
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.
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.
I think it would be best for you to raise this as an incident in our Portal
Please provide logging information and screenshots so we can help to remedy the issue.
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
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.
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.
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.