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.

authLoginBase

authLoginBase: string

Base URL for the logging in via some login service.

authLogout

authLogout: string

URL for logging out the current, if they are logged in.

authLogoutBase

authLogoutBase: string

Base URL for logging out the current, without parameters.

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.

template

template: string

Base URL for requesting a template configured in the backend, used for example when a footer template is configured in the designer.