WAB: attribute table not loading

2964
31
Jump to solution
04-02-2018 09:14 AM
FrancescoTonini2
Occasional Contributor II

Hello everyone,

Recently, I have been having issues in my WAB-based web application when trying to view the attribute table of any layer in it, no matter whether that data is pulled from AGOL or from a local shapefile. Keep in mind that I am testing this with data where there is a small number of features in it. The attribute table (attached image) show a buffering/loading GIF and no table is pulled up. Do you have any idea what can be causing this? I checked my remote server and RAM is running at 40%, CPU < 10% so does not seem to be related to any overhead issue. Any help troubleshooting is much appreciated!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

You should test 2.7 and see if the issue goes away

View solution in original post

31 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

What errors are present in the browsers web console?

0 Kudos
FrancescoTonini2
Occasional Contributor II

Basically, no matter what data source I use/upload, when I click on View Attribute table from the Layer List widget, I get the following error in the Console portion of the dev tools on Chrome: 

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

So it looks like you have not added .woff2 as a mime type in your web servers mime types (this is not the main issue though). I need to see what one of the >>f error has under it.

FrancescoTonini2
Occasional Contributor II

Thanks! How would I correct the (minor issue) addition of .woff2 as mime type? I am not familiar with what that is...I am using it off a WAB dev edition (2.5) customized template. Here is the expanded version of 2 of the >>f errors:

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor
FrancescoTonini2
Occasional Contributor II

But that should not be the source of errors in my dev tools and why the attribute table won't open correct?

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Correct the woff2 mime type is not the main issue the main issue is the failure to draw the graphics from the url that is listed in the error. Has the permission level for that feature changed lately? Can you go into the AT widget settings dialog and uncheck "Enable Filter by map extent by default" and test again?

FrancescoTonini2
Occasional Contributor II

Sure. That option was already unchecked (see image 1 below).

The specific resource was just pulled for example from LivingAtlas using the Add Data Widget...I just picked US countries to pick one. However, when I use the Add Data and pick a zipped shapefile from my local PC, and then click on View Attribute Table from the Layer List, it still buffers not loading and I do not get any errors in the console...(image 2).

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

You should test 2.7 and see if the issue goes away