cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1047
Views
0
Helpful
3
Replies

Limit to services displayed in categories and search results?

dajoyce
Cisco Employee
Cisco Employee

Hi,

I just wanted to check if there is any limit to the number of services that can be displayed in search results or on category pages.

Many Thanks,

Daniel Joyce

3 Replies 3

sotoh
Level 1
Level 1

It depends on which version you have.  On versions prior to Prime Service Catalog 10.0, the search result and listing in the category views will list all the services that the user has permissions for.

Starting with Prime Service Catalog 10.0, this number is configurable.  Since 10.0 service listings return more data, and we need to provide a snappy user experience, we made the number of services returned configurable.

The limit is in a JS file, so there is no need to restart the server after changing it.   The default configuration is in the APIManager.js file.   Do note that increasing the limit will likely cause the user experience to suffer with longer page load time.

limits: {

            images: 3,

            services: 50

        },

Thanks Song..

We have some really key follow on questions based on your response: If we set a limit on the API control to, say 50, then:

  1. Presumably that does not stop the Admin entering more Services than this. Right?
  2. Also, is the Entitlement check performed before the assessment of 50 is made?
  3. If there are more than 50 Services, is there any mechanism for the End User to navigate to the remaining Services (i.e. GT 50)? If so, what is this? (Pagination) If not, this seems like a pretty major issue to us.
  4. Are the Facet controls on the client-side (e.g. only affect Services in view / on the page in view) rather than server-side (e.g. apply to *all* services regardless whether they are in view)? For instance, if the User selects a Facet Value which should narrow down the total selection to under 50, will it go back to the Server to reassess which Services are shown)? Again, if not this seems like a pretty major issue to us.
  5. Also, does this same default limit also apply to Search results? If not, is there a separate configuration that should be considered for Search results?

If the functionality works as we think it might (i.e. in the above example only the 50 is ever available to the End User even when more than 50 exist i.e. no pagination, no Server side Facets) then we think that we would have to set a high Maximum (for examples, Desktop Software has approaching 200 Services and Users obviously need to be able to find all of them). Can you offer any advice on a reasonable limit to set?

Thanks! Caroline

Caroline,

  1. You can assign as many services to a category as you like.
  2. The role based access control (entitlement) check is done before the list of services is generated for the user.  The limit of 50 is a governor of how many services are retrieved into the UI display layer.
  3. The limit of 50 applies to the number of services that are retrieved for display.  The Service Catalog module will not retrieve more than the number specified in the limit.  If you need more than 50, then you can change the limit to be higher than 50.   That shouldn't be a blocking issue for an implementation.
  4. The facet control is on the client side only.
  5. The limit applies to the search result. 

Review Cisco Networking for a $25 gift card