You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/schema/column-element-view.md
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Column element (View)
3
3
manager: soliver
4
-
ms.date: 3/9/2015
4
+
ms.date: 03/28/2023
5
5
ms.audience: Developer
6
6
ms.topic: reference
7
7
ms.localizationpriority: medium
@@ -24,15 +24,15 @@ Returns the raw data value for a particular field, as opposed to the formatted v
24
24
AutoHyperLink = "TRUE" | "FALSE"
25
25
AutoHyperLinkNoEncoding = "TRUE" | "FALSE"
26
26
AutoNewLine = "TRUE" | "FALSE"
27
-
Default = "Text"
27
+
Default = "Text"
28
28
Format="DateTime"
29
-
HTMLEncode = "TRUE" | "FALSE"
30
-
Name = "Text"
31
-
ShowField = "Text"
32
-
StripWS = "TRUE" | "FALSE"
29
+
HTMLEncode = "TRUE" | "FALSE"
30
+
Name = "Text"
31
+
ShowField = "Text"
32
+
StripWS = "TRUE" | "FALSE"
33
33
SubColumnNumber = Integer
34
-
URLEncode = "TRUE" | "FALSE"
35
-
URLEncodeAsURL = "TRUE" | "FALSE">
34
+
URLEncode = "TRUE" | "FALSE"
35
+
URLEncodeAsURL = "TRUE" | "FALSE">
36
36
</Column>
37
37
```
38
38
@@ -42,20 +42,20 @@ The following sections describe attributes, child elements, and parent elements.
42
42
43
43
### Attributes
44
44
45
-
|**Attribute**|**Description**|
46
-
|:-----|:-----|
47
-
|**AutoHyperLink**<br/> |Optional **Boolean**. **TRUE** to surround text with `<A>` tags if the text appears like a hyperlink (for example, `www.microsoft.com`). <br/>|
48
-
|**AutoHyperLinkNoEncoding**<br/> |Optional **Boolean**. **TRUE** to surround text with `<A>` tags if the text appears like a hyperlink (for example, `www.microsoft.com`) but without HTML encoding. <br/>|
49
-
|**AutoNewLine**<br/> |Optional **Boolean**. **TRUE** to insert `<BR>` tags into the text stream and to replace multiple spaces with a nonbreaking space (` `). <br/>|
50
-
|**Default**<br/> |Optional **Text**. Renders the text assigned to this attribute if the value returned by a selection is an empty string (`""`). <br/>|
51
-
|**Format**<br/> |Optional **Text**. Controls the date formatting for date fields. Supported formats include **DateTime**, **DateOnly**, **TimeOnly**, **ISO8601**, **ISO8601Basic**, and **ISO8601Gregorian**. <br/>|
52
-
|**HTMLEncode**<br/> |Optional **Boolean**. **TRUE** to convert embedded characters so that they are displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities. <br/>|
53
-
|**Name**<br/> |Optional **Text**. Allows the **Column** element to be used outside the field rendering context by supplying an ID (for example, `<Column Name="`_ID_`"/>`). <br/>|
54
-
|**ShowField**<br/> |Optional **Text**. The **ShowField** attribute can be set to the column name to display. By default, a hyperlinked text from the **Title** column of the record in the external list is displayed. But the **ShowField** attribute can be used to override that and display another field from the external list. <br/> The following data types are allowed as targets of a **ShowField** attribute: **Text**, **Choice**, and **Counter**. <br/> |
55
-
|**StripWS**<br/> |Optional **Boolean**. **TRUE** to remove white space from the beginning and end of the value returned by the element. <br/>|
|**URLEncode**<br/> |Optional **Boolean**. **TRUE** to convert special characters, such as spaces, to quoted UTF-8 format (for example, `%c3%ab` for character `ë`). <br/>|
58
-
|**URLEncodeAsURL**<br/> |Optional **Boolean**. Like **URLEncode**, but **TRUE** to specify that the string to encode is a path component of a URL so that forward slashes (`/`) are not encoded. <br/>|
|**AutoHyperLink**|Optional **Boolean**. **TRUE** to surround text with `<A>` tags if the text appears like a hyperlink (for example, `www.microsoft.com`). |
48
+
|**AutoHyperLinkNoEncoding**|Optional **Boolean**. **TRUE** to surround text with `<A>` tags if the text appears like a hyperlink (for example, `www.microsoft.com`) but without HTML encoding. |
49
+
|**AutoNewLine**|Optional **Boolean**. **TRUE** to insert `<BR>` tags into the text stream and to replace multiple spaces with a nonbreaking space (` `). |
50
+
|**Default**|Optional **Text**. Renders the text assigned to this attribute if the value returned by a selection is an empty string (`""`). |
51
+
|**Format**|Optional **Text**. Controls the date formatting for date fields. Supported formats include **DateTime**, **DateOnly**, **TimeOnly**, **ISO8601**, **ISO8601Basic**, and **ISO8601Gregorian**. |
52
+
|**HTMLEncode**|Optional **Boolean**. **TRUE** to convert embedded characters so that they're displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities. |
53
+
|**Name**|Optional **Text**. Allows the **Column** element to be used outside the field rendering context by supplying an ID (for example, `<Column Name="_ID_"/>`). |
54
+
|**ShowField**|Optional **Text**. The **ShowField** attribute can be set to the column name to display. By default, a hyperlinked text from the **Title** column of the record in the external list is displayed. But the **ShowField** attribute can be used to override that and display another field from the external list. The following data types are allowed as targets of a **ShowField** attribute: **Text**, **Choice**, and **Counter**.|
55
+
|**StripWS**|Optional **Boolean**. **TRUE** to remove white space from the beginning and end of the value returned by the element. |
56
+
|**SubColumnNumber**|Optional **Integer**. |
57
+
|**URLEncode**|Optional **Boolean**. **TRUE** to convert special characters, such as spaces, to quoted UTF-8 format (for example, `%c3%ab` for character `ë`). |
58
+
|**URLEncodeAsURL**|Optional **Boolean**. Like **URLEncode**, but **TRUE** to specify that the string to encode is a path component of a URL so that forward slashes (`/`) aren't encoded. |
59
59
60
60
### Child elements
61
61
@@ -72,7 +72,7 @@ Numerous
72
72
73
73
### Remarks
74
74
75
-
Note that when an empty **Column** element (`<Column/>`) is used, it is sensitive to the current setting of the `DisplayMode` variable. The display mode is set implicitly according to the current command being used.
75
+
When an empty **Column** element (`<Column/>`) is used, it's sensitive to the current setting of the `DisplayMode` variable. The display mode is set implicitly according to the current command being used.
76
76
77
77
If a view or item is being displayed, `DisplayMode` is set to **Display**. If an item is being created from a form, `DisplayMode` is set to **New**. If an existing item is being edited, `DisplayMode` is set to **Edit**. The `DisplayMode` variable can be overridden in the page by setting it directly, for example, `<SetVar Name="DisplayMode">Edit</SetVar>`.
0 commit comments