An object with all FORMCYCLE-specific resources, such as database queries or plugin servlets. To access the URLs for the currently opened form, use XFC_METADATA.urls. You should always use these URLs instead of hard-coding URLs. This way you can make sure that your code keeps working even when the URL to the FORMCYCLE system changes.

Hierarchy

  • MetadataUrls

Index

Properties

ajax_upload

ajax_upload: string

Base URL for accessing the AJAX upload servlet, as configured in the FORMCYCLE backend.

appointment_freeslots

appointment_freeslots: string

Base URL for accessing free appointment slots, as configured in the FORMCYCLE backend.

attachment

attachment: string

Base URL for accessing attachments uploaded via upload elements.

context

context: string

The current context path of the web application, eg. /formcycle.

counter_client

counter_client: string

Base URL for client counter queries as configured in the FORMCYCLE backend.

dataquery_db

dataquery_db: string

Base URL for accessing database queries as configured in the FORMCYCLE backend.

dataquery_ldap

dataquery_ldap: string

Base URL for accessing LDAP queries as configured in the FORMCYCLE backend.

datasource_csv

datasource_csv: string

Base URL for accessing CSV data sources as configured in the FORMCYCLE backend.

datasource_db

datasource_db: string
deprecated

Use dataquery_db instead.

datasource_json

datasource_json: string

Base URL for accessing JSON data sources as configured in the FORMCYCLE backend.

datasource_xml

datasource_xml: string

Base URL for accessing XML data sources as configured in the FORMCYCLE backend.

keepalive

keepalive: string

URL for keeping the current session alive. Similar to a ping.

plugin

plugin: string

URL for executing servlet plugins.

previewAction

previewAction: string

URL for requesting a preview of a form. A preview cannot be submitted.

request

request: string

URL for requesting the form itself, without the fragment and any query parameters. This is the URL that was used to open the form. It is different depending on how the form was opened, e.g. whether it was opened by a frontend user or in the inbox.

requestBase

requestBase: string

URL for requesting the form itself, with the fragment and all query parameters. This is the URL that was used to open the form. It is different depending on how the form was opened, e.g. whether it was opened by a frontend user or in the inbox.

submitAction

submitAction: string

URL to which the form data is submitted.