Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Intro

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

It exports object information grouped by Floor/Plan (see format below).

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

Subsequently, the mechanism will seek out objects belonging to sub-classes of the BUILDING type.

For these BUILDING objects, the mechanism will then gather all associated FLOOR objects.

Therefore, the external domain must define classes of PROPERTY, BUILDING and FLOOR types, with appropriate properties mapped for each class.

Required configuration

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

Set the export type:

  • FI2_DATA_VIEW: LOCATION_INFORMATION

Start with setting external class names that will be used for corresponding objects:

image-20240628-113313.pngImage Modified

Then, mapping for these fields must be provided:

  • Plan (FLOOR):

    • Plan_GUID

    • Planbenämning

    • Planbeteckning

image-20240628-114158.pngImage Modified
  • Byggnad (BUILDING):

    • Byggnads_GUID

    • Byggnadsbeskrivning

    • Byggnadsbeteckning

image-20240628-114233.pngImage Modified
  • Fastighet (PROPERTY)

    • Fastighets_GUID

    • Fastighetsbeskrivning

    • Fastighetsbeteckning

image-20240628-114222.pngImage Modified

Now, map these classes to internal system classes and match with required fields:

image-20240628-114355.pngImage Modified

Do the same for fastighet and byggna

Format

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

Code Block
languagexml
<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>

View file
nameLägesinformation_sample.xml