Substitute com.glideapp.servicecatalog_category_view with com.glideapp.my_custom_view

Greg42
Mega Guru

Hi All,

I am trying to change the way items/categories are displayed it a catalogue - namely, to display it as a grid not a list. I don't want to change existing code from obvious reasons. I did some research and looked around the system of how those thing work together but can't see where the link item - using SNC.CatalogURLGenerator - generates com.glideapp.servicecatalog_category_view - can't see source code for it anywhere. I would like to change it to my custom view allowing me to work on it without worrying about future updates.

Is there a way to change the path generated by CatalogURLGenerator to point somewhere else than default com.glideapp.servicecatalog_category_view?

Any help will be much appreciated.

Cheers

Greg

1 ACCEPTED SOLUTION

Greg42
Mega Guru

I have managed to style the view as I wanted. Used addLoadEvent and checked for com.glideapp.servicecatalog_category_view.do then used jQuery for styling.


View solution in original post

39 REPLIES 39

User166992
Tera Guru

Hello Greg,



I'm getting the same error.



Thanks,


Jaikumar


Hi Jaikumar,



If you getting the same error that could mean that the cached script is loading. Have you double checked that the script that loads is the updated one not the old cached one? If it is a new one just debug it and see what is wrong there.




Cheers



Greg


User166992
Tera Guru

Hello Greg,



I found the issue for IE 8. Actually textContent method also doesnt work in IE 8.


I have declared the same with the help of below link:



http://stackoverflow.com/questions/18063402/how-to-get-textcontent-to-work-in-internet-explorer-8-ja...



Thanks,


Jaikumar


Hi Jaikumar,



Ahh that's why I never trusted IE emulation mode and it didn't detect it in IE8 mode. We are supporting IE10+ and going to IE11 soon. Hope you were able to solve your problem.




Cheers



Greg


User166992
Tera Guru

Yes, I was able to resolve the issue.



Thanks for the help



Regards,


Jaikumar