Hoppa till huvudinnehållet

Export to xlsx , csv etc. has stopped working

Kommentarer

9 kommentarer

  • Longguang Fan
    Hi Bobbi,

     

    Have you checked fiddler request? which version of viewer do you use? I tested in GVH 2.8, exporting to files all work.

     

    Long
    0
  • Permanently deleted user
    Same.  2.8.0

     

    Here is our viewer if you're interested:

     

    https://maps.kpb.us/gc/Html5Viewer/Index.html?viewer=P_BasicParcelViewer

     

    I'll try fiddler now.
    0
  • Permanently deleted user
    Literally zero network activity when export is selected.
    0
  • Permanently deleted user
    Zero network activity when exported is selected.
    0
  • Permanently deleted user

    Hi Bobbi,

     

    Anything in the console? Does it fail all the time regardless of the layers that are in the results list? I tried to use the viewer you provided and I managed to export:

     

    User-added image

     

    - Sergio
    0
  • Permanently deleted user
    Thanks!  I've just figured out that it is only a single service that does not work: tax parcels.  The rest work.  This has data links and relationships.  Could they somehow confound the export?
    0
  • Longguang Fan
    Hi Bobbi,

     

    Cory and I take a look this issue. It does fail to export tax parcels results in your site. We found a few issues on this map service.

     

    1. console error: mixed content. The feature description reference a site is http instead of https.

     

    2. console error: TypeError: Cannot read property 'displayField' of null. When opening buildings related table.

     

    3. there was error fetching related features when opening owner related table. The object id is empty, you can see the request: https://maps.kpb.us/gis/rest/services/txparcel/MapServer/2/queryRelatedRecords?f=json&definitionExpression=&relationshipId=1&returnGeometry=false&objectIds=&outFields=*

     

    We are not sure if these errors cause exporting files fail. Also, you said there is a datalink for tax parcel, but I can't find it in the feature details panel. 

     

    However, I tested the tax parcel map service in my site, I didn't see any of these issues, and also exporting the tax parcel results works fine to me. Maybe you reconfig the map service in your manager, and see if these errors are resolved, if you still have trouble to export files, please contact support team and provide more information, such as site.xml etc. for further troubleshooting.

     

    Cheers

     

    Long
    0
  • Longguang Fan
    The screen shot of errors:

     

    User-added image
    0
  • Permanently deleted user
    UPDATE!

     

    I never did solve the problem on that other site but I have narrowed it down on a bare bones, super clean site.  It is adding a data link that does it. 

     

    1. No datalink on the layer: identify and export results to xlsx -> works great.

     

    2. Add datalink

     

    3. Refresh and identify layers.  Attempt to export to xlsx -> nothing.

     

     
    0

Du måste logga in om du vill lämna en kommentar.