The following annotations are available for properties, including properties defined as complex types.
Annotation |
Description |
Default |
---|---|---|
gp |
The gp (generic player) namespace represents the annotations necessary to drive the Mobile Instant Value Applications generic player. |
N/A |
visible-in-list |
Determines whether the field is visible on the list view of the collection. |
False |
group-name |
Groups properties together (free text entry). Properties with the same group-name will be in the same group (only used in Employee Lookup). |
Null |
use-in-search |
Searchable attributes are used for the client-side search (search in the cache). Fields with the value true are involved in the search. |
False |
visible-in-detail |
Determines whether the field is visible in the details view. |
False |
display-order |
Number specifying the position of the collection on the home screen (free text entry). The lower the number, the higher the position it will occupy, for example, 0010 is tenth position and 0999 is a very low position. The lowest existing number occupies the highest position, then the next highest number and so on. For example, if 0010 is the lowest number, it occupies the highest position and displays first on the screen. |
0 (zero) |
group-label |
Label of the group (only used in Employee Lookup). Language-dependent free text. |
Null |
m |
Microsoft namespace from OData (standard namespace). |
N/A |
FC_ TargetPath |
Name of the target element of the resulting feed to map the property. This element can be an element defined by the Atom specification or a custom element. See FC_ TargetPath Keywords below for a list of keywords. |
|
FC_KeepInContent |
Indicates that the referenced property value should be included both in the content section of the feed and in the mapped location. Valid values are true and false. To make the resulting feed backward-compatible with earlier versions of WCF Data Services, specify a value of true to make sure that the value is included in the content section of the feed. |
The following keywords are predefined syndication target-path values that point to specific location in an OData feed. These keywords are equivalent to the values of the SyndicationItemProperty enumeration used with the reflection provider.
Keyword |
Description |
---|---|
SyndicationAuthorEmail |
atom:email child element of the atom:author. |
SyndicationAuthorName |
atom:name child element of the atom:author element. |
SyndicationAuthorUri |
atom:uri child element of the atom:author element. |
SyndicationContributorEmail |
atom:email child element of the atom:contributor element. |
SyndicationContributorName |
atom:name child element of the atom:contributor element. |
SyndicationContributorUri |
atom:uri child element of the atom:contributor element. |
SyndicationCustomProperty |
Custom property element. When mapping to a custom element, the target must be a path expression in which nested elements are separated by a backslash (/) and attributes are specified by an ampersand (@). When the target is a custom element name, you must also specify the FC_NsPrefix and FC_NsUri attributes. |
SyndicationPublished |
atom:published element. |
SyndicationRights |
atom:rights element. |
SyndicationSummary |
atom:summary element. |
SyndicationTitle |
atom:title element. |
SyndicationUpdated |
atom:updated element. |