Can we show Category images in the Service Portal?

craigschotke
Tera Contributor

Is there any way to show category images in the service portal? By default, when you navigate to the service catalog, it shows a carousel on the catalog home page and has a list of categories on the left. When selecting a category, the carousel goes away and all catalog items for that category are shown.

I would like to be able to show either a customized carousel or single image on the top of the page depending on which category is chosen. I'd imagine we could do this using the 'Header Icon' or similar field on the category record.

Does anyone know of a way to do this in Service Portal?

Thank you

1 ACCEPTED SOLUTION

nathanfirth
Tera Guru

Yes you can certainly do this, but you would need to clone and customize the widget to do so. The category page is driven by the sc_category table, so you could add an image field and then create a custom widget to display it. To use the carousel, you would need multiple images. We've done similar implementations, shoot me an email and I can give you some pointers on how to write the widget.


View solution in original post

6 REPLIES 6

dvp
Mega Sage
Mega Sage

I would like to be able to show either a customized carousel


Can you tell us what do you mean by customized carousel??


craigschotke
Tera Contributor

I would like to show different images/links based on the category we are viewing.  


nathanfirth
Tera Guru

Yes you can certainly do this, but you would need to clone and customize the widget to do so. The category page is driven by the sc_category table, so you could add an image field and then create a custom widget to display it. To use the carousel, you would need multiple images. We've done similar implementations, shoot me an email and I can give you some pointers on how to write the widget.


I was able to create a widget for this using Nathan's help.



I created the u_sp_header_image and u_sp_header_text fields on the Category table. When those fields are populated, they will display on the top of the Category page in the portal.



SC Category Header.png