As described above, the custom fields are not defined in the document type directly; instead, they are defined in a property sheet and then added to the document type.
如前所述,定制字段不是在文档类型中直接定义的;相反,它们是在属性表中定义的,然后再添加到文档类型。
In addition to the predefined fields, you can add extra custom fields to the extension mappings by defining custom attributes on the mappings.
除了预定义的字段外,通过对映射定义定制属性,您还可以向扩展映射添加额外的定制字段。
Each work item type can have its own state transitions and custom fields.
每个工作项类型可以具有自己的状态转换和自定义字段。
After the property sheet type is created, we must add it to a document type, so that we can use this property sheet type as custom fields in a document.
在创建了属性表类型之后,我们必须将它添加到文档类型,这样才能在文档中将该属性表类型用作定制字段。
We now add custom fields to the documents that describe the books by attaching the property sheet type to the book document.
现在,我们向文档添加定制字段。这些定制字段通过向图书文档添加属性表类型来描述图书。
A document type provides a mechanism by which the behaviors of a document can be defined, including document templates, versioning, workflow definition, and custom fields.
文档类型提供一个可以定义文档行为的机制,包括文档模板、版本化、工作流定义和定制字段。
The custom fields are short text fields that can only display a maximum of 400 bytes of text.
这些自定义字段就是短文本字段,并且最大只能显示400个字节的文本。
We then show how to create custom fields by creating property sheet types and document types, how to create a document with custom fields, and how to update the values in the custom fields.
然后我们演示如何通过创建属性表类型和文档类型来创建定制字段,如何创建带定制字段的文档,以及如何更新定制字段中的值。
The example code in listing 4 shows the HTTP request to create a document with custom fields.
清单4中的示例代码显示了用于创建带有定制字段的文档的HTTP请求。
Because we already have a property sheet type to describe our custom fields and have added it to a document type, we can create documents with the custom fields.
我们已经拥有描述定制字段所需的属性表类型并将其添加到文档类型中,接下来可以创建带定制字段的文档。
NOTE: in the previous section of this article, we used the term "property sheet" to describe both the custom field definitions and the custom fields implemented in a document.
注意:在本文的上一节中,我们使用同一个术语“属性表”来描述定制字段的定义和在文档中实现的定制字段。
Here we get an existing document's entry with custom fields and then update the fields.
现在我们有一个带有定制字段的文档条目,接下来要更新它的字段。
Updating a document with custom fields is quite similar to creating one.
更新带定制字段的文档与创建它们非常相似。
To create custom fields, we must first create a property sheet type.
要创建定制字段,必须先创建属性表类型。
Now the document is attached with the custom fields that we have defined.
现在,文档已经带有我们定义的定制字段。
In the REST programming model, however, the term "property sheet type" is used to describe the definition of custom fields.
但是,在REST编程模型中使用术语“属性表类型”来描述定制字段的定义。
Remember that these custom fields can contain only a small amount of data; therefore, check the short string or numeric fields (see Figure 14).
切记这些自定义字段可以仅仅包含数据的极少一部分;因此,要核查简短字符串或者数字化的字段(请看图14)。
Postpone major customizations in areas such as test plan and test case templates, process support, and custom fields until users become more familiar with the new setup though real use.
在测试规划和测试用例模板,过程支持,以及通用字段这些领域,将会出现延迟的定制情况,直到用户通过实际的应用更了解新创建为止。
As a result, custom fields were introduced, which are a set of extended properties that users can define and provide for a specific type of document.
因此引入了定制字段,它是一组用户针对特定类型的文档定义的扩展属性。
Click the ellipsis and the RPM Custom fields dialog displays, as shown in Figure 18.
点击这个省略号,RPMCustom字段对话框将会显示,如图18所示。
Creating a property sheet type that includes custom fields.
创建一个包含定制字段的属性表类型。
Updating a document with custom fields.
更新带定制字段的文档。
Using custom fields in a sample application.
在样例应用程序中使用定制字段。
Creating a document with custom fields.
创建带定制字段的文档。
Notice the __c convention that clarifies names of the custom fields from the mileage object.
请注意,__c约定将定制字段名称与此里程对象名称区分开来。
Figure 6 shows an example of a book document, with custom fields added, on a Web UI.
图6展示了一个图书文档示例,其中在 Web UI上添加了定制字段。
As stated above, in Lotus Quickr we describe custom fields by creating property sheet types.
如前所述,我们在LotusQuickr中通过创建属性表类型来描述定制字段。
Managing custom fields using the REST programming model
使用REST编程模型管理定制字段
Creating a document with custom fields by associating a document type and specifying property values in an Atom entry.
通过关联文档类型和在AtomEntry中指定属性值来创建带定制字段的文档。
That's it for constructing the Atom entry representing the document with custom fields.
现在,构建表示带定制字段的文档的Atom条目的步骤已经完成。
应用推荐