> For the complete documentation index, see [llms.txt](https://o2oa.gitbook.io/course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://o2oa.gitbook.io/course/liu-cheng-guan-li/untitled-2/xiang-guan-jie-kou.md).

# 相关接口

接口文档地址：<http://www.o2oa.net/x_desktop/portal.html?id=dcd8e168-2da0-4496-83ee-137dc976c7f6>

主要常用几个接口方法介绍

1、获取表单元素对象this.form.get(name)  //name元素标志

2、字段取值和赋值 field.getData(),field.setData("xxx")

3、打开应用

&#x20;        this.form.openCMS(name) //打开cms一个栏目

&#x20;        this.form.openProcess(name) //打开流程应用

&#x20;       this.form.openApplication(name) //打开其他应用

&#x20;     //启动一个发文管理实例，标题为：my file title，启动后提示`this.form.startProcess("公文管理", "发文管理", {"title": "my file title"}, function(json){                  this.form.notice("create file success!", "success"); });`
