Export Result from Query

With this export custom tool, the results of a query on layers can be copied to the clipboard more easily and then transferred to GeoOffice, for example.

 

icon_comment

Check if the export_from_result. jsp file is located in your pub/custom_pages/ directory.

 

Configuration

1) First you have to add the menu item Integration of external applications in WebOffice author standalone in the search result view of a selected layer search and configure the item Integration (Call FROM WebOffice).

 

howto_export_from_results1

 

Action/Parameter

Description

Application name

Name of the application (displayed in the user interface in the search results page).

Base URL

Complete base URL of the external web application that can process parameterized calls and display them in detail (result page) e. g. http://myserver.at/mywebapp/mysearch.htm http://myserver/Web_GDB/viewkey.asp (example call convention for VertiGIS WebGDB).

Encoding of the URL query string

Coding of the URL data part

Use

Used for single hit calls (single hit), multiple hit lists (multipe hits) and single and multiple hit lists.

The additional option (External) enables you to completely replace the WebOffice search result with the search result display of the external application.

icon_comment

If the External option is used, no multiple search result views or multiple calls to external applications are available.

Call Multihit Automatically?

With true a configured coupling for multiple hits is called automatically.

Use HTTP Get

Specifies whether the parameters of WebOffice are passed to the external application via HTTP Get (true) or HTTP Post (false).

Resultcolumn: Name as Header?

With true the name of the application is not only used as a tooltip of the link, but also as a column header.

Column size

Width of the column in the result page [unit in characters]. A value smaller than 3 is ignored. A value greater than 5 should be avoided.

Delimiter

Separator that is used for passing value lists (for example, if the values abc, tre, wrt exist, a parameter value abc; tre; wrt is passed when using ; as separator).

Final Delimiter?

Specifies whether or not a separator should be added at the end of the value list:

Example:

Yes: 123;456;789;

No: 123;456;789

Provide coordinates?

Determines whether coordinates are transferred in addition to object data (key):

If the Identify/Info tool was used and no result is found, the click point is passed.

If a result with one or more hits was found, the determined label point (labeling point) is transferred for each object.

icon_comment

There is no coordinate transfer when passing hit lists.

Pass user context (x-syn-login header field)?

Specifies if the user context of the user logged on to WebOffice will get passed in the HTTP header.

icon_comment

If providing a user context to an external application the URL will be redirected (URL changes from http://extserver/extpage.htm?...to http://webofficeserver/webofficeapplication/synredirect?...) Therefore all paths used in the external Application have to be full qualified!

Pass user context (Base 64)?

Specifies if the user context of the user logged on to WebOffice will get passed in the HTTP header Authorization, using base64 encoding, basic authentication.

icon_comment

If providing a user context to an external application the URL will be redirected (URL changes from http://extserver/extpage.htm?...to http://webofficeserver/webofficeapplication/synredirect?...) Therefore all paths used in the external Application have to be full qualified!

Popup window width

When using pop-up windows for displaying external content, you can configure the size of the pop-up window.

Popup window height

When using pop-up windows for displaying external content, you can configure the size of the pop-up window.

Buttons available?

Specifies whether the external application can be called via a button (true) or via a hyperlink (false) in the user interface.

If buttons are used, 5 different standard icons are available in the application. Any other icon can be configured. The setting has no effect on applications with static hyperlinks.

Icon for application call

In WebOffice, there are ten different templates available in the pub/images directory (extapp_01. gif to extapp_10. gif). The icons must all have the size 16x16 pixels.

Icon for application call (mobile)

In WebOffice folder pub/images/mobile 10 sample icons are available (extapp_01.png to extapp_10.png).

Icon for application call (flex)

In WebOffice folder pub/images/flexjs sample icons are available.

Access control ID

Authorization ID required for access control.

If an ID is defined in this attribute (for example,LINK_ALKIS_COLORMAP) and the WebOffice UserManagement module is used, the system checks whether the user role has the corresponding application right (according to the example LINK_ALKIS_COLORMAP). If this is not the case, the button/link and thus access to the external application from the WebOffice search result is not allowed.

Provide current client Parameter?

Specifies if the client parameter is being added at the end of the URL. This is useful for sites which can change their styles accordingly with the value of the parameter.

Provide current language Parameter?

Specifies if the language parameter is being added at the end of the URL. This is useful for sites which can change their language accordingly with the value of the parameter.

Configuration properties

 

2) Afterwards, you must define the key fields to be used for the tool.

 

Configuration properties

Configuration properties

 

3) Finally, the display mode must be selected: IFrame - Floating

 

Utilization

 

First, the plots must be selected with the correct selection theme. Afterwards, the result table can be prepared for copying to the clipboard with the export function (4). Land plots are automatically sorted by the cadastral municipality. By clicking the button (5) the plots are copied to the clipboard.

 

howto_export_from_results3