<?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 Why is Query for apps by username and portalUrl failing? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782983#M2869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When WAB opens and I sign in, my app cards are not visible anymore. &amp;nbsp;The request to the database with my username and portalUrl is not returning any entries. &amp;nbsp;However, I can still access the apps with the url followed by the app id. &amp;nbsp;How can I repair the backend database so that it will return my apps in the WAB content page. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this and began working with the backend db of Web App Builder to repair?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 20:18:48 GMT</pubDate>
    <dc:creator>RichardHughes2</dc:creator>
    <dc:date>2017-01-26T20:18:48Z</dc:date>
    <item>
      <title>Why is Query for apps by username and portalUrl failing?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782983#M2869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When WAB opens and I sign in, my app cards are not visible anymore. &amp;nbsp;The request to the database with my username and portalUrl is not returning any entries. &amp;nbsp;However, I can still access the apps with the url followed by the app id. &amp;nbsp;How can I repair the backend database so that it will return my apps in the WAB content page. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this and began working with the backend db of Web App Builder to repair?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 20:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782983#M2869</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2017-01-26T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Query for apps by username and portalUrl failing?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782984#M2870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Are you talking AGOL WAB or WAB Dev Edition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 01:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782984#M2870</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-27T01:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Query for apps by username and portalUrl failing?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782985#M2871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WAB Dev Edition v2.2. &amp;nbsp;I've begun setting up v2.3 but will need to recreate the apps because I was not able to download the apps from the builder since the cards did not appear. &amp;nbsp;I did zip the folder for each app, but am unable to import it into the new builder&amp;nbsp;which is something I would like to figure out as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me like the builder app is using mongodb. &amp;nbsp;Have you tried connecting to the database and inspecting it for issues? &amp;nbsp;When the builder app loads, it runs a query against the database using the user_name and portalUrl. &amp;nbsp;The query is returning an empty list. &amp;nbsp;When I look at the apps file there are multiple apps shown, some even duplicate apps but with different last_updated values. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the app cards disappear what can we do to get them back?, then why did they disappear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 14:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782985#M2871</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2017-01-27T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Query for apps by username and portalUrl failing?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782986#M2872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It is actually TingoDB and editing it manually is very problematic. You can likely recover your apps by following this method:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Close WAB&lt;/LI&gt;&lt;LI&gt;Go to the [install dir]\server\db and delete the apps file.&lt;/LI&gt;&lt;LI&gt;Make a copy of all the folders inside the&amp;nbsp;&lt;SPAN&gt;[install dir]\server\apps folder.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Delete all the folders in the&amp;nbsp;[install dir]\server\apps folder.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Start WAB&lt;/LI&gt;&lt;LI&gt;Add a new app and set the name and description to the same as one of your apps you are trying to recover.&lt;/LI&gt;&lt;LI&gt;Do not worry about configuring anything about the app except the name and&amp;nbsp;desc.&lt;/LI&gt;&lt;LI&gt;Now in the&amp;nbsp;&lt;SPAN&gt;[install dir]\server\apps folder find the new apps folder based on the apps id.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Overwrite the apps\[app #] folder with the old equivalent app from the backup.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Repeat this process for other apps.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 14:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/why-is-query-for-apps-by-username-and-portalurl/m-p/782986#M2872</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-27T14:38:15Z</dc:date>
    </item>
  </channel>
</rss>

