Xdoc Cloud service API (iv)

Source: Internet
Author: User

7. Reading Device

Display Reader, users can select local files, read online.

The Xdoc file with parameters displays the Parameter form, which the user can run after entering parameters.

Method

_func=viewer

Optional parameters

_key

account password

_locale

Language, selectable values, ZH_CN (Chinese, default), En (English)

Successful return value

Display the reader, such as:

8. Editor

Use the editor to create or edit Xdoc documents and save them to the server. You can also manage documents that have already been deployed on the server.

Method

_func=builder

Optional parameters

_key

Administrator account password

_xdoc

The document to be edited, with the document name beginning with "./", such as: _xdoc=./a.xdoc

Can be overridden by URI, such as: A.xdoc?_func=builder

With this parameter, for single-document editing mode, you cannot create new, open, save documents, or use server views.

_tdoc

The template is created with this template when the Xdoc specified by the _xdoc parameter does not exist.

Template constants: Text (text), table (table), page (pages), Web (Web page)

Support for server document templates beginning with "./", supporting Xdoc XML and JSON formats.

_clib

The current component library, which supports server documents beginning with "./", supports Xdoc XML and JSON formats.

_locale

Language, selectable values, ZH_CN (Chinese, default), En (English)

Successful return value

Display the designer, such as:


9. form

The form Xdoc file must be deployed on the Xdoc server.

Method

URI The way, such as: Xdoc file: A.xdoc, call the way: Http://xdoc.sinaapp.com/a.form

Complex interactive forms can be processed using Xdoc.js, via the API.

Optional parameters

_key

account password

_id

Storage ID

The specified ID is xdoc storage mode, and the form automatically reads and writes data from the Xdoc store.

_data

Data acquisition Address

_action

Data submission Address

Note: _id and (_data, _action) parameter two select one.

Successful return value

Flash Form

10. Parameter Form

The Parameter form is automatically generated according to the parameters defined in Xdoc, and the user can enter a value to run.

Method

_func=pdoc

Optional parameters

_key

account password

_xdoc

XDOC

XDOC the parameters defined in

Incoming parameter value

Successful return value

Flash Parameter form


Xdoc Cloud service API (iv)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.