Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Intro

The Location Information XML export function operates on objects selected within the hierarchy tree.

The specific object class is irrelevant; the export mechanism will identify the top-level class, ideally FASTIGHET, and select the first one it encounters.

Subsequently, the mechanism will seek out objects belonging to subclasses of the BYGNNAD type.

For these BYGNNAD objects, the mechanism will then gather all associated PLAN objects.

Therefore, the external domain must define classes of FASTIGHET, BYGNNAD, and PLAN types, with appropriate properties mapped for each class. These properties should correspond directly to the XML PLAN tag elements.

Please review plugin setting required to obtain “Lägesinformation” export: Plugin config for export

Format

Typical content of such export is a set of objects (floors) with flat structure:

<plan>
  <Fastighetsbeteckning>Karlstad Universitetet 1</Fastighetsbeteckning>
  <Fastighetsbeskrivning>102</Fastighetsbeskrivning>
  <Fastighets_GUID>db7d3849-2c11-4f20-a02c-58de754f97d7</Fastighets_GUID>
  <Byggnadsbeteckning>S0014002</Byggnadsbeteckning>
  <Byggnadsbeskrivning>Studenternas Hus</Byggnadsbeskrivning>
  <Byggnads_GUID>4d084043-ad95-42e9-ab71-a0a7ae12002a</Byggnads_GUID>
  <Planbeteckning>Plan 1</Planbeteckning>
  <Planbenämning>01</Planbenämning>
  <Plan_GUID>41ba9d67-75ca-4c0c-b570-c598e4594bfb</Plan_GUID>
</plan>

Required config

Mapping for these fields must be provided:

  • Plan_GUID

  • Planbenämning

  • Byggnads_GUID

  • Planbeteckning

  • Byggnadsbeskrivning

  • Byggnadsbeteckning

  • Fastighets_GUID

  • Fastighetsbeskrivning

  • Fastighetsbeteckning

  • No labels