When you create pages in Page Designer in Microsoft Dynamics NAV, you set properties on the page that describe and format the page and the controls on the page. For more information, see How to: Create a Page.
Properties for a Page
The following table lists the properties that you set for a page in the Properties window.
Property | Description | ||
---|---|---|---|
ID |
The ID of the page—must be unique among pages. |
||
Name |
The name of the page. |
||
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
||
CaptionML |
The list of translations of the object’s caption. |
||
Editable |
Indicates if the page can be edited.
For more information, see Editable Property. |
||
Description |
Sets the description of the page. This description is for internal use and does not appear to end users. For more information, see Description Property. |
||
Permissions |
Sets whether a database object has additional permission required to perform some operations on one or more tables. The operations can be to read, insert, modify, and delete data. For more information, see Permissions Property. |
||
PageType |
Specifies how the page is displayed in the RoleTailored client The following options are available:
For more information, see PageType Property. |
||
InstructionalTextML |
Sets the multilanguage value of the InstructionalText of the object. Use this property as a label. The property can be set on a group control. For more information, see InstructionalTextML Property. |
||
CardFormID |
Use this property to associate an item in a list page with a card page. This is similar to the card to list functionality in forms. For example, see page 21, Customer Card. This page is associated with page 22, the Customer List page. Setting the CardFormID property enables users to launch the customer card when they double-click a customer in the list.
For more information, see CardFormID Property. |
||
DataCaptionExpr |
Sets a C/AL expression that is evaluated and displayed to the left of the page caption. For more information, see DataCaptionExpr Property. |
||
SourceTable |
Sets the ID of the table from which this form will display records. For more information, see SourceTable Property. |
||
SourceTableView |
Sets the key, sort order, and filter you want to use to determine the view of the source table presented to the user. For more information, see SourceTableView Property. |
||
InsertAllowed |
Sets a value to specify whether users can add records while using the page. For more information, see InsertAllowed Property. |
||
ModifyAllowed |
Sets the value to determine whether users can modify records while using this page. For more information, see ModifyAllowed Property. |
||
DeleteAllowed |
Sets a value that specifies whether users can delete records while using the page. For more information, see DeleteAllowed Property. |
||
DelayedInsert |
Sets a value that specifies whether a must user leaves a record before it is inserted into the database. By default, new records are inserted when the user leaves the control that shows the primary key in the table. For more information, see DelayedInsert Property. |
||
MultipleNewLines |
Sets a value that determines whether users can add multiple new lines between records. For more information, see MultipleNewLines Property. |
||
AutoSplitKey |
Sets whether a key is automatically created for a new record placed between the current record and the previous record. For more information, see AutoSplitKey Property. |
||
DataCaptionFields |
Sets the fields that appear to the left of the page caption that display the contents of this table. For more information, see DataCaptionFields Property. |
||
SourceTableTemporary |
Sets if the source table is a temporary table. For more information, see SourceTableTemporary Property. |
||
LinksAllowed |
Sets if links are allowed. For more information, see LinksAllowed Property. |
||
PopulateAllFields |
Sets whether fields are filled out automatically with a single filter value when a new record is inserted in a table. For more information, see PopulateAllFields Property. |
Pages contain different kinds of controls. The following table sections describe the properties that you set for controls in the Properties window.
Properties on Container Controls
The following table lists the properties that you set for a page in Page Designer. For more information, see How to: Create a Page.
Property | Description |
---|---|
ID |
The ID of the page—must be unique among controls on this page. |
Name |
The name of the control. |
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
CaptionML |
The list of translations of the object’s caption. |
Description |
Sets the description of the page. This description is for internal use and does not appear to end users. For more information, see Description Property. |
ContainerType |
Sets the type of the container control. The following options are available:
For more information, see ContainerType Property. |
Properties on Group Controls
The following table lists the properties that you set for group controls in the Properties window. For more information, see How to: Create a Page.
Property | Description | ||
---|---|---|---|
ID |
The ID of the group—must be unique among controls on this page. |
||
Name |
The name of the control. |
||
Visible |
Sets the visibility of a control.
For more information, see Visible Property. |
||
Enabled |
Indicates if a field or key is activated or deactivated, or if a control can respond to user-generated events.
For more information, see Enabled Property. |
||
Editable |
Indicates if the control can be edited.
For more information, see Editable Property. |
||
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
||
CaptionML |
The list of translations of the object’s caption. |
||
Description |
Sets the description of the control. This description is for internal use and does not appear to end users. For more information, see Description Property. |
||
InstructionalTextML |
Sets the multilanguage value of the InstructionalText of the object. Use this property as a label. |
||
GroupType |
Sets the type of the group control. The following options are available:
For more information, see GroupType Property. |
||
IndentationColumnName |
Sets the hidden column that controls the indentation of rows on a list page. This property can be set to a field or variable of type Integer. See page 16, Chart of Accounts, for an example of row indentation. For more information, see IndentationColumnName Property. |
||
IndentationControls |
Sets the indentation level of field controls on a list page. You set the indentation levels in the Indent Controls window, which lists all field controls within a group container on a list page. In the Properties window, the indented fields appear as comma-separated values in the IndentationControls property.
For more information, see IndentationControls Property. |
||
FreezeColumnID |
Sets that the last column in a repeater control is frozen.
|
||
ShowAsTree |
Use this property to change the indentation of rows on a list page to a tree view. If you enable this property you can expand or collapse indented rows on a list page. For more information, see ShowAsTree Property. |
Properties on Field Controls
The following table lists the properties that you set for field controls in the Properties window. For more information, see How to: Create a Page.
Property | Description | ||
---|---|---|---|
ID |
The ID of the field—must be unique among controls on this page. |
||
Name |
The name of the control. |
||
Visible |
Sets the visibility of a control.
For more information, see Visible Property. |
||
Enabled |
Indicates if a field or key is activated or deactivated, or if a control can respond to user-generated events.
For more information, see Enabled Property. |
||
Editable |
Indicates if the control can be edited.
For more information, see Editable Property. |
||
HideValue |
Sets if the value of the field is hidden from the user.
For more information, see HideValue Property. |
||
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
||
CaptionML |
The list of translations of the object’s caption. |
||
MultiLine |
Sets if the field can display multiple lines of text. For more information, see MultiLine Property. |
||
ToolTip |
Sets whether tooltips are provided for the given object. The tooltip value is taken from the ToolTipML property if this property is set. For more information, see ToolTip Property. |
||
ToolTipML |
Sets the text used tooltip for a control. For more information, see ToolTipML Property. |
||
Description |
Sets the description of the control. This description is for internal use and does not appear to end users. For more information, see Description Property. |
||
OptionCaption |
Sets the text string options that are displayed to the user. For more information, see OptionCaption Property. |
||
OptionCaptionML |
Sets the strings that are displayed to the user for selecting an option. OptionCaptionML is only used if the field has an OptionString property. For more information, see OptionCaptionML Property. |
||
DecimalPlaces |
Sets display and storage requirements for the value of the field if the field type is decimal. For more information, see DecimalPlaces Property. |
||
Title |
Set whether the first letter in each word the user types is capitalized. For more information, see Title Property. |
||
MinValue |
Sets the minimum value for a field. For more information, see MinValue Property. |
||
MaxValue |
Sets the maximum numeric value for a field. For more information, see MaxValue Property. |
||
NotBlank |
Sets a value that specifies whether users must enter a value in the selected field. For more information, see NotBlank Property. |
||
CharAllowed |
Sets the range of characters the user can enter into this field or text box. For more information, see CharAllowed Property. |
||
ValuesAllowed |
Sets the values that are allowed in the field. For more information, see ValuesAllowed Property. |
||
BlankNumbers |
Indicates whether the system will clear a range of numbers as it formats them. For more information, see BlankNumbers Property. |
||
BlankZero |
Indicates whether the system displays zeros (0) and No. For more information, see BlankZero Property. |
||
AutoFormatType |
Determines how data is formatted. For more information, see AutoFormatType Property. |
||
AutoFormatExpr |
Determines how data is formatted. For more information, see AutoFormatExpr Property. |
||
SourceExpr |
Sets the source expression for this control. For more information, see SourceExpr Property. |
||
TableRelation |
Defines relationships to other tables. For more information, see TableRelation Property. |
||
Importance |
Sets the amount of information that is visible in a window or dialog box. For more information, see Importance Property. |
||
CaptionClass |
Controls the caption that is used in the label of a field in a database table or in the label of a control on a form. For more information, see CaptionClass Property. |
||
DrillDownFormID |
Sets the ID of the form to use as a drill-down. For more information, see DrillDownFormID Property. |
||
LookupFormID |
Sets the ID of the form to use as a lookup. For more information, see LookupFormID Property. |
||
Lookup |
Sets a lookup for the field. For more information, see Lookup Property. |
||
DrillDown |
Sets a drill-down for the field. For more information, see DrillDown Property. |
||
AssistEdit |
Sets an ellipsis (…) for the field. For more information, see AssistEdit Property. |
||
ClosingDates |
Sets a value that determines whether users can enter a closing date in this field. For more information, see ClosingDates Property. |
||
Numeric |
Sets a value that requires users to enter only numbers in the field. For more information, see Numeric Property. |
||
DateFormula |
Sets a date formula used to verify that the date the user enters is correct. For more information, see DateFormula Property. |
||
ExtendedDatatype |
Sets the extended data type of a control. The value of this property overrides the value of the table field. For more information, see ExtendedDataType Property. |
Properties on Part Controls
The following table lists the properties that you set for part controls in the Properties window. Parts are used to build FactBox areas. For more information, see How to: Create a Page.
Property | Description | ||
---|---|---|---|
ID |
The ID of the part—must be unique among controls on this page. |
||
Name |
The name of the control. |
||
Visible |
Sets the visibility of a control.
For more information, see Visible Property. |
||
Enabled |
Indicates if a field or key is activated or deactivated, or if a control can respond to user-generated events.
For more information, see Enabled Property. |
||
Editable |
Indicates if the control can be edited.
For more information, see Editable Property. |
||
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
||
CaptionML |
The list of translations of the object’s caption. |
||
ToolTip |
Sets whether tooltips are provided for the given object. The tooltip value is taken from the ToolTipML property if this property is set. For more information, see ToolTip Property |
||
ToolTipML |
Sets the text used tooltip for a control. For more information, see ToolTipML Property. |
||
Description |
Sets the description of the control. This description is for internal use and does not appear to end users. For more information, see Description Property. |
||
SubFormView |
Sets the table view for a subform. For more information, see SubFormView Property. |
||
SubFormLink |
Sets a link to a subform from the main form. For more information, see SubFormLink Property. |
||
ProviderID |
Sets the ID of the object that provides data to this part. For more information, see ProviderID Property. |
||
PartType |
Sets the type of part you want to display in a FactBox. The following options are available:
For more information, see PartType Property. |
||
PagePartID |
Sets a link to another page. For more information, see PagePartID Property. |
||
SystemPartID |
Adds predefined system parts to the FactBox area. The following options are available:
For more information, see SystemPartID Property. |
||
ChartPartID |
Sets the ID of the chart to add to the page. For more information, see ChartPartID Property. |
Properties on Actions
The following table lists the properties that you set for actions in the Properties window. Actions can be added to pages and Cue groups. For more information, see How to: Add Actions to a Page.
Property | Description | ||
---|---|---|---|
ID |
The ID of the action—must be unique among actions on this page. |
||
Name |
The name of the control. |
||
Type |
The type of the action. The following options are available:
For more information, see Actions Overview. |
||
SubType |
The subtype of an action of type ActionContainer. The following options are available:
For more information, see Actions Overview. |
||
Visible |
Sets the visibility of a control.
For more information, see Visible Property. |
||
Enabled |
Indicates if a field or key is activated or deactivated, or if a control can respond to user-generated events.
For more information, see Enabled Property. |
||
RunFormMode |
Specifies in which mode a page is opened. The following options are available:
|
||
Caption |
The caption shown in the title bar. For example, the default value in English (United States) is the same as the name of the page. |
||
CaptionML |
The list of translations of the object’s caption. |
||
ToolTip |
Sets whether tooltips are provided for the given object. The tooltip value is taken from the ToolTipML property if this property is set. For more information, see ToolTip Property. |
||
ToolTipML |
Sets the text used tooltip for a control. For more information, see ToolTipML Property. |
||
Description |
Sets the description of the control. This description is for internal use and does not appear to end users. For more information, see Description Property. |
||
Image |
Sets the name of the image that you want to associate with an action object. For more information, see Image Property. |
||
Promoted |
Sets the value that indicates whether the selected action is promoted to the Actions Pane. For more information, see Promoted Property. |
||
PromotedCategory |
Sets a category for a promoted action. The following options are available:
For more information, see PromotedCategory Property. |
||
PromotedIsBig |
Sets a value that indicates whether the promoted action is displayed on the Actions Pane with a large icon. For more information, see PromotedIsBig Property. |
||
Ellipsis |
Sets a value that specifies whether an ellipsis (...) is appended to the caption of the action. For more information, see Ellipsis Property. |
||
ShortCutKey |
Sets a shortcut key for selecting a menu item. For more information, see ShortCutKey Property. |
||
RunObject |
Sets the object that the action runs. For more information, see RunObject Property. |
||
RunFormView |
Sets a specific table view for the form you launch from this control. For more information, see RunFormView Property. |
||
RunFormLink |
Sets up a link to the form you are launching. For more information, see RunFormLink Property. |
||
RunFormOnRec |
Sets the same record on the form you launch from this control as is already displayed on the current form. For more information, see RunFormOnRec Property. |
||
InFooterBar |
Specifies if the action should be viewed as an action in the lower part of the page. For more information, see InFooterBar Property. |
See Also
© 2010 Microsoft Corporation. All rights reserved.