Include service name to the list of applications in the developer portal
Environment
- Red Hat 3scale API Management Platform SaaS, 2.0 On-premises
Issue
- In the list of applications on the developer portal I want to see the service name that the application belongs to. How can I add it?
Resolution
Update the template 'Applications > Index' in the Developer Portal CMS the following way:
-
Change all occurrences of
{% if provider.multiple_services_allowed? %}to{% if provider.services.size > 1 %} -
Change
<td colspan="3">to<td colspan="{% if provider.services.size > 1 %}4{% else %}3{% endif %}">
After saving and publishing the updated template, a column "Service" will be added to the table with the list of all applications on the page /admin/applications on the developer portal.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.