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

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.

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.

submitAction

submitAction: string

URL to which the form data is submitted.