(sv) LEB Plugin (fi2)
Translation needed
The content of this page was copied from another page tree and needs to be translated or updated.
When you finish translation, make sure to
-
Replace the label NEEDS-TRANSLATING with TRANSLATED
-
Remove this macro from the page
Intro
 In Data Exchange section you should prepare a domain that is configured for Fi2 exports:
Please note the Field Type and Field Value (reference: (sv) Fi2 Mappings )
If any of the fields are missing, you can add them here, select how they should be emitted, and they will be added to the output XML.
Output file
For test and debug, set the debug parameter to true. In that case a file will also be written to provided location.
Running the Export
Export can be activated from any object starting from Property – down to Space. It must be an object that is present in Fastighet perspective.
Plugin config
Proper plugin config must be set in order for a specific, selected export type to function.
Various parameter options should be selected based on export type.
Please review the parameters and select proper sections based on your desired export format: (sv) Plugin config for export
General Fi2 configs and mappings: (sv) Fi2 Export
Sample output headers based on config
<?xml version="1.0"?>
<fi2propertymessage
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://www.fi2.se/schemas/1.3 http://www.fi2.se/schemas/1.3/fi2propertymessage.xsd
xmlns=http://www.fi2.se/schemas/1.3>
<fi2messageheader>
<fi2sender>
<fi2reference>
<fi2value_code>A</fi2value_code>
<fi2value_scheme>
<fi2scheme_url>http://www.fi2.se/valuelist/VA000_004_004.xml</fi2scheme_url>
</fi2value_scheme>
<fi2value_value>Service Works Global Nordic AB</fi2value_value>
</fi2reference>
<fi2reference>
<fi2value_code>B</fi2value_code>
<fi2value_scheme>
<fi2scheme_url>http://www.fi2.se/valuelist/VA000_004_004.xml</fi2scheme_url>
</fi2value_scheme>
<fi2value_value>FM Access</fi2value_value>
</fi2reference>
<fi2systemidentity>-</fi2systemidentity>
</fi2sender>
<fi2version>1.3</fi2version>
<fi2messageversion>1.3</fi2messageversion>
<fi2messageid>8f55fdc6-7ada-41bb-87bb-d70ff604f5b6</fi2messageid> (SWG comment: id to be generated for every new export)
<fi2messagedate>2018-10-15T08:58:27.242528+02:00</fi2messagedate> (SWG comment: date time to be generated for every new export)
<fi2sessionidentity>772bc2b8-6e9e-4a3c-866d-433f3ae4851c</fi2sessionidentity> (SWG comment: sessionidentity to be generated for every new export)
<fi2messagecount>1</fi2messagecount>
<fi2messagetask>
<fi2verb>
<fi2class_code>SHOW</fi2class_code>
<fi2class_scheme>
<fi2scheme_id>CA000_002_003</fi2scheme_id>
</fi2class_scheme>
</fi2verb>
<fi2noun>
<fi2class_code>A000.F</fi2class_code>
<fi2class_scheme>
<fi2scheme_id>CA000_003_005</fi2scheme_id>
</fi2class_scheme>
</fi2noun>
</fi2messagetask>
</fi2messageheader>
Â