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 FASTIGHETPROPERTY, and select use the first one it encounters.

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

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

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

Required configuration

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

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

...

Then, mapping for these fields must be provided:

  • Plan (FLOOR):

    • Plan_GUID

    • Planbenämning

    • Planbeteckning

...

  • Byggnad (BUILDING):

    • Byggnads_GUID

    • Byggnadsbeskrivning

    • Byggnadsbeteckning

...

  • Fastighet (PROPERTY)

    • Fastighets_GUID

    • Fastighetsbeskrivning

    • Fastighetsbeteckning

...

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

...

Do the same for fastighet and byggna

Format

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

...

View file
nameLägesinformation_sample.xml

Required config

Mapping for these fields must be provided:

...

Plan_GUID

...

Planbenämning

...

Byggnads_GUID

...

Planbeteckning

...

Byggnadsbeskrivning

...

Byggnadsbeteckning

...

Fastighets_GUID

...

Fastighetsbeskrivning

...