Hoppa till huvudinnehållet

Warning pop up message appears when I initiate the site for missing layers, even If the layers are existing in the site.

Kommentarer

4 kommentarer

  • Cam Barnard

    Hi Rawan - suggest once the app is loaded that you drill into the map component and look for an Edit Items at the bottom of the list of layers.

    Entering Edit mode will put a trash can next to any layer configuration in your app that doesn't have a corresponding entry in your webmap.

    You can remove those, and this should resolve this.

    edit items?remove layer extensions

    0
  • Permanently deleted user

    Thanks Cam for you answer!

     

    I tried to do what you mentioned above but it didn't solve my problem, these warning ids is coming from a related table to some of the removed layers. I removed the layers from the map section as you described above but I couldn't find a way to remove the related tables or even to locate them in the map component.

     

    any suggestion please?

     

    Thansk,

    Rawan

    0
  • Cam Barnard

    Ah yes. Table Extensions don't have a simple solution yet.

    You can use ItemManager to view the app's JSON content.

    Look for the section labeled tableExtensions

     

          "tableExtensions": [

            "item://table-extension/abc-123-xyz-456",

    "item://table-extension/def-789-xyz-456"

          ],

     

    You can then remove the entries corresponding to those that are no longer valid (the IDs from your screenshot) and save your app.

     

    I'm working on exposing those table extensions now that the Esri JavaScript 4.x API gives me what is needed which will both allow for configuring what is searched, and also a way to remove those left behind.

     

    I'm also looking toward re-enabling the more aggressive cleanup by default in Web Designer and giving folks the ability to 'opt in' to leaving extensions that aren't backed by your webmap as this appears to be the less-common use case.

    0
  • Permanently deleted user

    Thanks Cam, my problem is solved! it would be much easier If we can do this from the web designer it self :)

    0

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