To create hints in health report | Adobe Higher Education
Skip to main content
October 16, 2015
Resuelto

To create hints in health report

  • October 16, 2015
  • 1 respuesta
  • 551 visualizaciones

Hi,

I am creating a custom health report and linking it with maintenance dashboard in AEM6.

I have created a health check and a maintenance task. Now I need to create a hint in health report and link it with the maintenance task.

Can some one help with some docs for creating the hint in health check.

Attached the SS of hint available for default hc.

Thanks

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Lokesh_Shivalingaiah

Hi,

You can refer the OOB implementation. Please check here

http://<host>:<port>/crx/de/index.jsp#/libs/granite/operations/components/mbean/body/body.jsp

This has the code to display the hint and from here you can refer its implementation 

<% for (String[] hint : hints) { %> <div class="coral-Alert coral-Alert--notice"> <i class="coral-Alert-typeIcon coral-Icon coral-Icon--sizeS coral-Icon--alert"></i> <strong class='coral-Alert-title'><%= i18n.get("HINT") %></strong> <div class='coral-Alert-message'><a href="<%= xssRequestAPI.getValidHref(hint[1]) %>"><%=xssRequestAPI.encodeForHTML(hint[0]) %></a></div> </div> <% } %>

1 respuesta

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Hi,

You can refer the OOB implementation. Please check here

http://<host>:<port>/crx/de/index.jsp#/libs/granite/operations/components/mbean/body/body.jsp

This has the code to display the hint and from here you can refer its implementation 

<% for (String[] hint : hints) { %> <div class="coral-Alert coral-Alert--notice"> <i class="coral-Alert-typeIcon coral-Icon coral-Icon--sizeS coral-Icon--alert"></i> <strong class='coral-Alert-title'><%= i18n.get("HINT") %></strong> <div class='coral-Alert-message'><a href="<%= xssRequestAPI.getValidHref(hint[1]) %>"><%=xssRequestAPI.encodeForHTML(hint[0]) %></a></div> </div> <% } %>