Touch UI HelpPath | Community
Skip to main content
crisr1
Level 4
Jan 20, 2016 12:21 AM UTC
Solved

Touch UI HelpPath

Along the top of Touch UI dialogs are a series of buttons. I need to configure the help button (leftmost) so it points to the documentation for the component. I see that helpPath is the property name I should use according to this example from Adobe. But it's not working, and instead always points to https://www.adobe.com/go/aem6_1_docs which is not what we need.

I've tried both helpPath (works in Classic UI) and helppath, but it is not working in the Touch UI. Any advice would be appreciated. Thanks!

{ jcr:primaryType: "nt:unstructured", helpPath: "/content/blah/en/aem-support/events.html", helppath: "/content/blah/en/aem-support/events.html", sling:resourceType: "cq/gui/components/authoring/dialog", content: { jcr:primaryType: "nt:unstructured", sling:resourceType: "granite/ui/components/foundation/container", layout: { jcr:primaryType: "nt:unstructured", type: "nav", sling:resourceType: "granite/ui/components/foundation/layouts/tabs" }, items: { jcr:primaryType: "nt:unstructured" } } }

looking at the code it seems pretty well hard-coded...

private AttrBuilder getHelpAttrs(SlingHttpServletRequest req, Config cfg, XSSAPI xssAPI, I18n i18n) {
String url = i18n.getVar("https://www.adobe.com/go/aem6_1_docs");

AttrBuilder attrs = new AttrBuilder(req, xssAPI);
attrs.add("type", "button");
attrs.addClass("coral-MinimalButton cq-dialog-header-action cq-dialog-help");
attrs.addHref("data-href", url);
attrs.add("title", i18n.get("Help"));

return attrs;
}
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Jan 20, 2016 6:57 AM UTC

This looks like a bug to me. Please raise a daycare ticket here to fix it at the platform level

https://helpx.adobe.com/marketing-cloud/contact-support.html

4 replies

abhishekraj
New Participant
Jan 24, 2018 9:49 AM UTC

does this issue got resolved?

Translate
Lokesh_Shivalingaiah
Level 10
Jan 20, 2016 12:53 PM UTC

That may not be the right solution as it will be generic to all the component and not specific to one component.

Translate
manishp24358677
New Participant
Jan 20, 2016 7:12 AM UTC

Hi,

Not sure if this is the correct solution, but I see the key is available in the i18 translator.

  1. You can go to "http://localhost:4502/libs/cq/i18n/translator.html"
  2. Filter by text- "https://www.adobe.com/go/aem6_1_docs" 
  3. Then set the values for "EN", "EN-GB" etc.

Let me know if this works. Contact support as well.

Thanks

Translate
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Jan 20, 2016 6:57 AM UTC

This looks like a bug to me. Please raise a daycare ticket here to fix it at the platform level

https://helpx.adobe.com/marketing-cloud/contact-support.html

Translate