mvillemontesrifrance-fr-esridist

Activate help link on home made widget

Discussion created by mvillemontesrifrance-fr-esridist Employee on Dec 14, 2015
Latest reply on Dec 14, 2015 by rscheitlin

Generic web appbuilder widgets setting page displays a link to access the help.

However home made widgets do not display such link.

 

My solution is the following hack :

_help: '<my own help url>',

startup: function () {
     ...
     dojoQuery(".help-link").forEach(lang.hitch(this, function (node, index) {
          domStyle.set(node, "display", "inline-block");
          domAttr.set(node, "href", this._help);
     }));
}

 

Any other suggestions welcome.

 

Ce message a été modifié par : Mathieu VILLEMONT My initial post did not include the hack :-/

Outcomes