Zum Hauptinhalt gehen

A refeance to the included ./desktop-landscape.xml does not exist in the .json file

Kommentare

2 Kommentare

  • Gareth Evans

    Hey Paal Pedersen,

    It looks like the error is referencing a "Layout (Desktop-Landscape)" that isn't defined in your app. However, I wouldn't focus too much on that specific error just yet.

    From what you're describing, it seems like you're trying to add a Feature Action to a sublayer item. The best approach for this is through the Designer interface, as it ensures your app configuration remains valid. Have you already tried this? If so, is there a particular reason you're not configuring Feature Actions directly on the Map component?

    As a best practice, I recommend avoiding manual edits to the app JSON whenever possible. If you do need to make manual changes, I suggest using the JSON editor in Designer (press Ctrl+Shift+E to access it) or leveraging Item Manager to view and edit the app item content. These tools provide a safer and more controlled environment for making changes.

    0
  • Alison Orlandi

    Hi Paal,

    I received the same error a few months back whenever I tried to upload a .zip for an application I had made any changes to, despite the reference to the xml not being altered in any way. It ended up being an issue with how the files were re-zipped. Using an extension like WinZip seemed to resolve the issue, though I'm not sure why and it hasn't been consistent for all of my team members.

    It would be great to have this issue investigated, as it can really hinder SDK development. 

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.