<?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: How do to include help doc with custom widget deployed to Portal? in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295979#M3950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pete,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at these GeoNet threads,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/169754"&gt;Activate help link on home made widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/669750-help-widget"&gt;https://community.esri.com/message/669750-help-widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these help,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Dec 2018 03:57:50 GMT</pubDate>
    <dc:creator>DerekLaw</dc:creator>
    <dc:date>2018-12-08T03:57:50Z</dc:date>
    <item>
      <title>How do to include help doc with custom widget deployed to Portal?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295978#M3949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We deploy custom widgets to ArcGIS Portal (following prescribed workflow -&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/10.5/use/add-custom-widgets.htm" title="https://enterprise.arcgis.com/en/portal/10.5/use/add-custom-widgets.htm"&gt;Add custom widgets—Portal for ArcGIS | ArcGIS Enterprise&lt;/A&gt;) but we'd like to include a help doc along with our widget (like you can in Dev Edition -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/guide/add-help-for-your-widget.htm" title="https://developers.arcgis.com/web-appbuilder/guide/add-help-for-your-widget.htm"&gt;Add help for your widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;).&amp;nbsp; Is there a supported way to do that?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missing learn more link" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/431130_2018-12-07_8-36-52.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 15:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295978#M3949</guid>
      <dc:creator>deleted-user-997AEHHSB7nZ</dc:creator>
      <dc:date>2018-12-07T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do to include help doc with custom widget deployed to Portal?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295979#M3950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pete,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at these GeoNet threads,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/169754"&gt;Activate help link on home made widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/669750-help-widget"&gt;https://community.esri.com/message/669750-help-widget&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these help,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Dec 2018 03:57:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295979#M3950</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2018-12-08T03:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do to include help doc with custom widget deployed to Portal?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295980#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Derek's links are what the WAB dev team have provided for adding help to a custom widget. I still find this to be a bit to involved and heavy handed when try to provide a simple help link for your custom widget. Here is a hack snippet of code I use to make my widgets link to help docs on a web server.&lt;/P&gt;&lt;P&gt;In the widget settings.js setConfig function.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setConfig&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;config&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//hack the 'Learn more about this widget link'&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;setTimeout&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; helpLink &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; dojo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;query&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'.help-link'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; helpLink&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;href &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgis.calhouncounty.org%2FWAB%2FV2.9%2Fwidgets%2FeSearch%2Fhelp%2FeSearch_Help.htm" target="_blank"&gt;https://gis.calhouncounty.org/WAB/V2.9/widgets/eSearch/help/eSearch_Help.htm&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setStyle&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;helpLink&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'display'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'block'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;600&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or you can have the link go to a help doc in the widgets folder by using a url like this.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;helpLink&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;href &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;location&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;href&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;replace&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'?id='&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'apps/'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'/widgets/eSearch/help/eSearch_Help.html'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295980#M3951</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T14:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do to include help doc with custom widget deployed to Portal?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295981#M3952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys - appreciate the quick answers!&amp;nbsp; The snippet you provided&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;‌ works in our test environment just fine thank you.&amp;nbsp; One question, why the setTimeout?&amp;nbsp; What needs to happen in that 600 ms before you run that code?&amp;nbsp; Is the help link not actually there yet?&amp;nbsp; I just wonder if there's a way to get this done without some kind of race condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295981#M3952</guid>
      <dc:creator>deleted-user-997AEHHSB7nZ</dc:creator>
      <dc:date>2018-12-10T20:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do to include help doc with custom widget deployed to Portal?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295982#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pete that is because the WAB core code searches for the help doc in the path that WAB expects to find the help in and when it can not it hides the link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/how-do-to-include-help-doc-with-custom-widget/m-p/295982#M3953</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-12-10T20:16:13Z</dc:date>
    </item>
  </channel>
</rss>

