<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Activate help link on home made widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615244#M16283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; No I just took what esri had for their widget help docs (at one point in the past) and tweaked it from my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2015 15:38:33 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-12-14T15:38:33Z</dc:date>
    <item>
      <title>Activate help link on home made widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615241#M16280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generic web appbuilder widgets setting page displays a link to access the help.&lt;/P&gt;&lt;P&gt;However home made widgets do not display such link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution is the following hack :&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;_help: '&amp;lt;my own help url&amp;gt;',

startup: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojoQuery(".help-link").forEach(lang.hitch(this, function (node, index) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domStyle.set(node, "display", "inline-block");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domAttr.set(node, "href", this._help);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ce message a été modifié par&amp;nbsp;: Mathieu VILLEMONT
My initial post did not include the hack &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615241#M16280</guid>
      <dc:creator>MathieuVILLEMONT1</dc:creator>
      <dc:date>2021-12-12T02:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activate help link on home made widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615242#M16281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have discussed this with the development team last year at the Dev Summit. that custom widget developers need the ability to add help links to custom widgets. I informed them of the Hack I am having to use in all my widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;setConfig:function(config){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //hack the 'Learn more about this widget link'
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var helpLink = dojo.query('.help-link');
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; helpLink[0].href = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgis.calhouncounty.org%2FWAB%2FV1.2%2Fwidgets%2FeSearch%2Fhelp%2FeSearch_Help.htm%27%3B" target="_blank"&gt;http://gis.calhouncounty.org/WAB/V1.2/widgets/eSearch/help/eSearch_Help.htm';&lt;/A&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(helpLink[0],'display','block');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },600);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615242#M16281</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T02:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activate help link on home made widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615243#M16282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed because the &amp;lt;a&amp;gt; is there anyway it would be nice to simply set it with a variable instead of hacking the DOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice help page btw. Did you use a template ? Markdown maybe ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 15:14:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615243#M16282</guid>
      <dc:creator>MathieuVILLEMONT1</dc:creator>
      <dc:date>2015-12-14T15:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Activate help link on home made widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615244#M16283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; No I just took what esri had for their widget help docs (at one point in the past) and tweaked it from my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 15:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/activate-help-link-on-home-made-widget/m-p/615244#M16283</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-14T15:38:33Z</dc:date>
    </item>
  </channel>
</rss>

