<?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 can i list all services in Portal for ArcGIS connected to a datasource table in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526246#M20371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/343909"&gt;Christoph Römer&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE: 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a query layer, the SQL query that defines it is a static SQL statement that is executed inside the database every time the layer is displayed or used in the map. As such, it's probably why the tables used are not exposed; ArcGIS would only need to know where the database and the query is so that it can perform the query&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;against the tables and views.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;You would probably need to do a bit of manual back-tracing. i.e. locate the services which use such query layers, then inspect the aprjx file to inspect the query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE: 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace siteadmin/admin user with any user:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;/portal/sharing/rest/community/users/OnlyAViewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/501958_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can access all your items via the arcgisportal directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/501956_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or using ArcGIS Online Assistant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ago-assistant.esri.com/" title="https://ago-assistant.esri.com/"&gt;ArcGIS Online Assistant&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/501957_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Derrick&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;HR style="background-color: #ffffff;" /&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;If this answer was helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2020 02:41:28 GMT</pubDate>
    <dc:creator>DerrickWong</dc:creator>
    <dc:date>2020-07-31T02:41:28Z</dc:date>
    <item>
      <title>How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526243#M20368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how can i list all services in ArcGIS Enterprise connected to a datasource table.&lt;/P&gt;&lt;P&gt;We have a referenced standard geodatabase (SQL Server 2014) which is connected to a Portal for Arcgis. I want to check what services in Portal for ArcGIS (10.7.1) are referenced to a table in this database (full tables published or services out of joins in&amp;nbsp;db query layers)?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526243#M20368</guid>
      <dc:creator>ChristophRömer</dc:creator>
      <dc:date>2020-07-28T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526244#M20369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/343909"&gt;Christoph Römer&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would probably want to automate this process via a script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, determine which services you are looking for that uses that database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Server Admin, navigate to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https://server.FQDN.com:6443/arcgis/admin/services/FOLDER/SERVICE.MapServer/iteminfo/manifest/manifest.json?f=json&amp;amp;token… &lt;BR /&gt; &lt;BR /&gt;This gives you details of database/FGDB connections and layers for each. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/501838_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you a list of services that point to the said database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, in Portal Admin, navigate to&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://server.FQDN.com:7443/portal/sharing/rest/content/users/PRIMARY_SITEADMIN_USER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Filter item list based on type, e.g. Feature Service:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/501836_pastedImage_5.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For each item, locate the URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/501837_pastedImage_6.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All portal items that have this URL (which you have determined via the first step) would be the items you would be interested in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Derrick&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526244#M20369</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-07-30T07:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526245#M20370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Derrick for your detailed solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a script would be fine, but a manually way would also help me for the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My concrete problem is to extend a table in sql server with new columns and for this i want to stop all services to add the columns in pro and after that start the services again and configure the maps which are using the services.&lt;/P&gt;&lt;P&gt;Because different users might have published services out of that table i hope to see which services are connected with a table.&lt;/P&gt;&lt;P&gt;If i understand your solution right you explain the how to find the source to a service, so a solution from the other side.&lt;/P&gt;&lt;P&gt;And i had to write code searching through all services to find the database table names in the manifest.json files and list these files?&lt;/P&gt;&lt;P&gt;I have two problems in your explanation:&lt;/P&gt;&lt;P&gt;1. If the service is a published from a db-query layer in arcpro, the manifest.json shows under datasets not the tables used in the db-query but the alias-name of the db-query in&amp;nbsp;the&amp;nbsp;ArcPro-project&lt;/P&gt;&lt;P&gt;2. Listing the feature services in the portal admin i just can list the services published with the siteadmin/admin user etc. but i need to list the services from all users.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Christoph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Esri developers: A tool to show dependencies and links between &lt;BR /&gt;datasources &amp;lt;-&amp;gt; feature services &amp;lt;-&amp;gt; maps &amp;lt;-&amp;gt; all kinds of apps &amp;lt;-&amp;gt; widgets (using feature services)&amp;nbsp;&lt;BR /&gt;would be&amp;nbsp;great for portal admins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 13:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526245#M20370</guid>
      <dc:creator>ChristophRömer</dc:creator>
      <dc:date>2020-07-30T13:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526246#M20371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/343909"&gt;Christoph Römer&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE: 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a query layer, the SQL query that defines it is a static SQL statement that is executed inside the database every time the layer is displayed or used in the map. As such, it's probably why the tables used are not exposed; ArcGIS would only need to know where the database and the query is so that it can perform the query&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;against the tables and views.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;You would probably need to do a bit of manual back-tracing. i.e. locate the services which use such query layers, then inspect the aprjx file to inspect the query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE: 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace siteadmin/admin user with any user:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;/portal/sharing/rest/community/users/OnlyAViewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/501958_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can access all your items via the arcgisportal directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/501956_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or using ArcGIS Online Assistant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ago-assistant.esri.com/" title="https://ago-assistant.esri.com/"&gt;ArcGIS Online Assistant&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/501957_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Derrick&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;HR style="background-color: #ffffff;" /&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;If this answer was helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 02:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526246#M20371</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-07-31T02:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526247#M20372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Derrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for understanding more about the places to see relations between the objects. I hoped to find an easier way. Maybe somewhere out there already had this question and wrote a solution. I will check if i get the time to build that code or not.&lt;/P&gt;&lt;P&gt;Regards Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 06:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526247#M20372</guid>
      <dc:creator>ChristophRömer</dc:creator>
      <dc:date>2020-07-31T06:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526249#M20374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/343909"&gt;Christoph Römer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry I only just saw this post.&lt;/P&gt;&lt;P&gt;Another, probably easier option that requires no coding.&lt;/P&gt;&lt;P&gt;Try System Log Parser tool.&amp;nbsp;&lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=dacebd64a0a04c87b1c48905e2cfc70d#!" title="https://www.arcgis.com/home/item.html?id=dacebd64a0a04c87b1c48905e2cfc70d#!"&gt;https://www.arcgis.com/home/item.html?id=dacebd64a0a04c87b1c48905e2cfc70d#!&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This awesome utility queries your Hosting Server's logs and drills down to the underlying services to report many useful statistics and... most importantly for your question - reports for each service the data sources for the layers within the service.&lt;/P&gt;&lt;P&gt;There are a couple of excellent posts by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/260136"&gt;Jacob Boyle&lt;/A&gt;‌ that do a great job of getting you started with this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/community/implementing-arcgis/blog/2019/04/23/arcgis-server-tuning-and-optimization-with-system-log-parser"&gt;https://community.esri.com/community/implementing-arcgis/blog/2019/04/23/arcgis-server-tuning-and-optimization-with-system-log-parser&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/community/implementing-arcgis/blog/2019/04/23/system-log-parser-statistics-and-service-optimization"&gt;https://community.esri.com/community/implementing-arcgis/blog/2019/04/23/system-log-parser-statistics-and-service-optimization&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll learn some great things about your site.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2020 03:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526249#M20374</guid>
      <dc:creator>DavidHoy</dc:creator>
      <dc:date>2020-10-22T03:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can i list all services in Portal for ArcGIS connected to a datasource table</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526248#M20373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote some weeks ago some code in python to implement my task. The GUI isn't fancy (OnEnter doesn't work, ...), but it works for our purpose. So if someone wants to use it... One interesting thing about this:&amp;nbsp;we moved two weeks ago from ArcGIS Enterprise 10.7.1 to 10.8.1 and since&amp;nbsp;that time more services are listed with no datasource/tables? Did something changed in the Service Folder Structure on ArcGIS Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;from &lt;/SPAN&gt;arcgis.gis &lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;GIS
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;arcgis.gis.admin
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;json
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;pandas
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;pandastable
&lt;SPAN style="color: #cc7832;"&gt;from &lt;/SPAN&gt;pandastable &lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;Table&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;TableModel
&lt;SPAN style="color: #cc7832;"&gt;from &lt;/SPAN&gt;IPython.display &lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;display
&lt;SPAN style="color: #cc7832;"&gt;from &lt;/SPAN&gt;tkinter &lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;*

&lt;SPAN style="color: #cc7832;"&gt;class &lt;/SPAN&gt;Window():

    &lt;SPAN style="color: #cc7832;"&gt;def &lt;/SPAN&gt;&lt;SPAN style="color: #b200b2;"&gt;__init__&lt;/SPAN&gt;(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;master):

        master.title(&lt;SPAN style="color: #6a8759;"&gt;"DataSources to Portal Featureservices"&lt;/SPAN&gt;)
        master.geometry(&lt;SPAN style="color: #6a8759;"&gt;"1600x876"&lt;/SPAN&gt;)
        master.configure(&lt;SPAN style="color: #aa4926;"&gt;background&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;'#F0F0F0'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;8&lt;/SPAN&gt;)
        &lt;SPAN style="color: #72737a;"&gt;source_gis &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;None
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.anmeldung_label = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Portal Login (maybe not necessary):"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.user_label = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Username:"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.user_tbox = Entry(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;width&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;30&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.pw_label = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Password:"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.pw_tbox = Entry(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;show&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;'*'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;width&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;30&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"           "&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label2 = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"                                                 "&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label3 = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"                                                 "&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label4 = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"                                                 "&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label5 = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;justify&lt;/SPAN&gt;=LEFT&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"                                                 "&lt;/SPAN&gt;)

        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_label = Label(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Search"&lt;/SPAN&gt;)
        rbwert = IntVar()
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.dienstname_rb = Radiobutton(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;value&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;variable&lt;/SPAN&gt;=rbwert&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Servicename"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_rb = Radiobutton(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;value&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;variable&lt;/SPAN&gt;=rbwert&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Table"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_tbox = Entry(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;width&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;30&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tableframe = Frame(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;width&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1506&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;height&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;640&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;borderwidth&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;relief&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"groove"&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table = pt = Table(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tableframe&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;width&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1506&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;height&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;640&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;rows&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;cols&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;editable&lt;/SPAN&gt;=&lt;SPAN style="color: #cc7832;"&gt;False, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;enable_menus&lt;/SPAN&gt;=&lt;SPAN style="color: #cc7832;"&gt;False&lt;/SPAN&gt;)
        emptylist = []
        emptylist.append([&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;])
        col = [&lt;SPAN style="color: #6a8759;"&gt;'FEATURESERVICE NAME'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'DATASOURCE'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'TABLES'&lt;/SPAN&gt;]
        result = pandas.DataFrame(emptylist&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;columns&lt;/SPAN&gt;=col)
        pt.updateModel(TableModel(result))
        pt.autoResizeColumns()
        pt.show()
        rbwert.set(&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.list_button = Button(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"List Tables"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;command&lt;/SPAN&gt;=&lt;SPAN style="color: #cc7832;"&gt;lambda&lt;/SPAN&gt;: &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.bt_list_tables(
            &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.user_tbox.get()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.pw_tbox.get()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_tbox.get()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;rbwert.get()))
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.exit_button = Button(master&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;text&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;"Close"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;command&lt;/SPAN&gt;=fenster.quit)

        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.anmeldung_label.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.user_label.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.user_tbox.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.pw_label.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.pw_tbox.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_label.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.dienstname_rb.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_rb.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=E&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tabname_tbox.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.list_button.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label2.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label3.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label4.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.empty_label4.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=W&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.tableframe.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;columnspan&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;7&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.grid()
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.resizeColumn(&lt;SPAN style="color: #6897bb;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;300&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.resizeColumn(&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;745&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.resizeColumn(&lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;460&lt;/SPAN&gt;)
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.redraw()
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.exit_button.grid(&lt;SPAN style="color: #aa4926;"&gt;row&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;9&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;column&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;sticky&lt;/SPAN&gt;=E&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;pady&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;padx&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;12&lt;/SPAN&gt;)


    &lt;SPAN style="color: #cc7832;"&gt;def &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;login&lt;/SPAN&gt;(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;username&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;pw):
        source_gis = GIS(&lt;SPAN style="color: #6a8759;"&gt;'PORTALNAME/WEBADAPTER'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;username&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;pw&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;verify_cert&lt;/SPAN&gt;=&lt;SPAN style="color: #cc7832;"&gt;False&lt;/SPAN&gt;)
        source_gis.users.me
        display(source_gis)
        &lt;SPAN style="color: #cc7832;"&gt;return &lt;/SPAN&gt;source_gis


    &lt;SPAN style="color: #cc7832;"&gt;def &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;color_red&lt;/SPAN&gt;(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;val):
        color = &lt;SPAN style="color: #6a8759;"&gt;'#DC143C' &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;val == &lt;SPAN style="color: #6a8759;"&gt;"!!! NO DATENSOURCE !!!" &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;or &lt;/SPAN&gt;val == &lt;SPAN style="color: #6a8759;"&gt;"!!! NO TABLES !!!" &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;else &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'black'
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;return &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'color: %s' &lt;/SPAN&gt;% color


    &lt;SPAN style="color: #cc7832;"&gt;def &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;bt_list_tables&lt;/SPAN&gt;(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;username&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;pw&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;searchstring&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;rbvar):
        source_gis = &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.login(username&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;pw)

        columns = [&lt;SPAN style="color: #6a8759;"&gt;'FEATURESERVICE NAME'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'DATASOURCE'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'TABLES'&lt;/SPAN&gt;]
        resultlist = []
        gis_servers = source_gis.admin.servers.list()
        &lt;SPAN style="color: #cc7832;"&gt;for &lt;/SPAN&gt;server &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;gis_servers:
            serviceManager = server.services
            &lt;SPAN style="color: #cc7832;"&gt;for &lt;/SPAN&gt;folder &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;serviceManager.folders:
                &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;folder &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;'Geocoding'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Routing'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'System'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Utilities'&lt;/SPAN&gt;):
                    &lt;SPAN style="color: #cc7832;"&gt;continue
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;                for &lt;/SPAN&gt;service &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;server.services.list(folder):
                    &lt;SPAN style="color: #808080;"&gt;#print(service.url + "/iteminfo/manifest/manifest.json")
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                    &lt;/SPAN&gt;json_string = service._service_manifest()
                    json_dict = json.loads(json_string)
                    &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'databases' &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;json_dict:
                        databases = json_dict[&lt;SPAN style="color: #6a8759;"&gt;'databases'&lt;/SPAN&gt;]
                        &lt;SPAN style="color: #cc7832;"&gt;for &lt;/SPAN&gt;database &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;databases:
                            databasename = &lt;SPAN style="color: #6a8759;"&gt;""
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# DatabaseNames
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'onPremiseConnectionString' &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;database:
                                databasename = database[&lt;SPAN style="color: #6a8759;"&gt;'onPremiseConnectionString'&lt;/SPAN&gt;]
                                &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"SERVER=" &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;databasename:
                                    dbnameshort = &lt;SPAN style="color: #6a8759;"&gt;""
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;                                    &lt;/SPAN&gt;entrylist = databasename.split(&lt;SPAN style="color: #6a8759;"&gt;';'&lt;/SPAN&gt;)
                                    &lt;SPAN style="color: #cc7832;"&gt;for &lt;/SPAN&gt;entry &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;entrylist:
                                        &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"INSTANCE=" &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;entry:
                                            dbnameshort += entry.replace(&lt;SPAN style="color: #6a8759;"&gt;"INSTANCE="&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;) + &lt;SPAN style="color: #6a8759;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;\\&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;                                        &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"DATABASE=" &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;entry:
                                            dbnameshort += entry.replace(&lt;SPAN style="color: #6a8759;"&gt;"DATABASE="&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;)
                                    databasename = dbnameshort
                                &lt;SPAN style="color: #cc7832;"&gt;else&lt;/SPAN&gt;:
                                    databasename = databasename.replace(&lt;SPAN style="color: #6a8759;"&gt;"DATABASE="&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;)
                            &lt;SPAN style="color: #808080;"&gt;# Tables:
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'datasets' &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;database:
                                datasets = database[&lt;SPAN style="color: #6a8759;"&gt;'datasets'&lt;/SPAN&gt;]
                                &lt;SPAN style="color: #cc7832;"&gt;for &lt;/SPAN&gt;table &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;datasets:
                                    &lt;SPAN style="color: #808080;"&gt;# Search Tables with searchstring
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                                    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(rbvar == &lt;SPAN style="color: #6897bb;"&gt;2 &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;and &lt;/SPAN&gt;searchstring.upper() &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;table[&lt;SPAN style="color: #6a8759;"&gt;'onServerName'&lt;/SPAN&gt;].upper()):
                                        resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;databasename&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;table[&lt;SPAN style="color: #6a8759;"&gt;'onServerName'&lt;/SPAN&gt;]])
                                    &lt;SPAN style="color: #808080;"&gt;# Search Services
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                                    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(rbvar == &lt;SPAN style="color: #6897bb;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;and &lt;/SPAN&gt;searchstring.upper() &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;service.properties.serviceName.upper()):
                                        resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;databasename&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;table[&lt;SPAN style="color: #6a8759;"&gt;'onServerName'&lt;/SPAN&gt;]])
                            &lt;SPAN style="color: #808080;"&gt;# Search Services with a searchstring, but the service has no tables assigned
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;elif &lt;/SPAN&gt;(rbvar == &lt;SPAN style="color: #6897bb;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;and &lt;/SPAN&gt;searchstring.upper() &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;service.properties.serviceName.upper()):
                                resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;databasename&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO TABLES ASSIGNED !!!"&lt;/SPAN&gt;])
                            &lt;SPAN style="color: #808080;"&gt;# No searchstring but the service has no tables assigned
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                            &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;elif &lt;/SPAN&gt;(searchstring==&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;):
                                resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;databasename&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO TABLES ASSIGNED !!!"&lt;/SPAN&gt;])
                                &lt;SPAN style="color: #808080;"&gt;# No searchstring, but the service has no Database/-source
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;elif &lt;/SPAN&gt;(rbvar == &lt;SPAN style="color: #6897bb;"&gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;and &lt;/SPAN&gt;searchstring.upper() &lt;SPAN style="color: #cc7832;"&gt;in &lt;/SPAN&gt;service.properties.serviceName.upper()):
                        resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO DATABASE/-SOURCE !!!"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO TABLES ASSIGNED !!!"&lt;/SPAN&gt;])
                    &lt;SPAN style="color: #808080;"&gt;# No searchstring, but the service has no Database/-source
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;elif &lt;/SPAN&gt;(searchstring==&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;):
                        resultlist.append([service.properties.serviceName&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO DATABASE/-SOURCE !!!"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"!!! NO TABLES ASSIGNED !!!"&lt;/SPAN&gt;])
        &lt;SPAN style="color: #72737a;"&gt;result &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;None
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        if &lt;/SPAN&gt;resultlist:
            result = pandas.DataFrame(resultlist&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;columns&lt;/SPAN&gt;=columns)
        &lt;SPAN style="color: #cc7832;"&gt;else&lt;/SPAN&gt;:
            templist = []
            templist.append([&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;''&lt;/SPAN&gt;])
            result = pandas.DataFrame(templist&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;columns&lt;/SPAN&gt;=columns)
        (result
         .style.applymap(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.color_red)
         .hide_index()
         .set_table_styles([&lt;SPAN style="color: #8888c6;"&gt;dict&lt;/SPAN&gt;(&lt;SPAN style="color: #aa4926;"&gt;selector&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;'th'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;props&lt;/SPAN&gt;=[(&lt;SPAN style="color: #6a8759;"&gt;'text-align'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'left'&lt;/SPAN&gt;)])])
         .set_properties(**{&lt;SPAN style="color: #6a8759;"&gt;'text-align'&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;'left'&lt;/SPAN&gt;}))
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.updateModel(TableModel(result))
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.redraw()
        &lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.table.show()
        fenster.config(&lt;SPAN style="color: #aa4926;"&gt;cursor&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;""&lt;/SPAN&gt;)




&lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;__name__ == &lt;SPAN style="color: #6a8759;"&gt;'__main__'&lt;/SPAN&gt;:
    fenster = Tk()
    app=Window(fenster)
    fenster.mainloop()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-can-i-list-all-services-in-portal-for-arcgis/m-p/526248#M20373</guid>
      <dc:creator>ChristophRömer</dc:creator>
      <dc:date>2021-12-11T22:55:18Z</dc:date>
    </item>
  </channel>
</rss>

