<parameters> (FormXml)
Applies To: Dynamics CRM 2015
Contains the parameters to be passed to a control in a form.
Syntax
<parameters>
<!-- For Lookup controls-->
<AllowFilterOff />
<AutoResolve />
<AvailableViewIds />
<DefaultViewId />
<DefaultViewReadOnly />
<DependentAttributeName />
<DependentAttributeType />
<DisableMru />
<DisableQuickFind />
<DisableViewPicker />
<EntityLogicalName/>
<FilterRelationshipName />
<InlineViewIds/>
<IsInlineNewEnabled/>
<ResolveEmailAddress />
<UnboundLookupBrowse />
<UnboundLookupControlType />
<UnboundLookupStyle />
<UnboundLookupTypes />
<ViewPickerReadOnly />
<!-- For Link Control-->
<LinkControlDefinitionId/>
<ShowLinkControlLabel />
<!-- For IFrame or Web resource controls-->
<Border />
<IsPassword />
<PassParameters />
<Preload />
<Scrolling /><!-- For Reports too-->
<ShowOnMobileClient/>
<Security /><!-- For IFrame controls only-->
<Url />
<!-- For Web resource controls-->
<AltText />
<Data />
<Height />
<HorizontalAlignment />
<ShowInROF/>
<SizeType />
<VerticalAlignment />
<Width />
<!-- For Sub-Grid controls-->
<AutoExpand />
<ChartGridMode />
<EnableChartPicker />
<EnableContextualActions/>
<EnableJumpBar />
<EnableQuickFind />
<EnableViewPicker />
<IsUserChart />
<IsUserView />
<MaxRowsBeforeScroll>
<RecordsPerPage />
<RelationshipName />
<RelationshipRoleOrdinal />
<TargetEntityType />
<TeamTemplateId />
<ViewId />
<ViewIds />
<VisualizationId />
<!-- For Reports -->
<PromptAreaCollapsed />
<ReportId />
<SnapshotId />
<!-- For Bing Maps -->
<AddressField />
<!-- For SLA Timer -->
<FailureTimeField />
<FailureConditionName />
<FailureConditionValue />
<SuccessConditionName />
<SuccessConditionValue />
<WarningConditionName />
<WarningConditionValue />
<CancelConditionName />
<CancelConditionValue />
</parameters>
Attributes and Elements
The following describes the attributes, child elements, and parent elements.
Attributes
This element has no attributes.
Child Elements
Element |
Description |
---|---|
For internal use only |
|
Specifies the composite address field used by a Bing Maps control. |
|
For internal use only |
|
Specifies whether users can turn off the record filter when record filtering is enabled. |
|
A parameter for Web resource controls. The value of this element specifies alternative text for image Web resources. |
|
Specifies whether a sub-grid automatically expands to use available space in the form tab. |
|
Specifies whether automatic resolutions in the field are enabled. |
|
Specifies the views to be available for selection in the sub-grid. |
|
A parameter for IFrame or web resource controls. The value of this element specifies whether to display a border around the control. |
|
Specifies the field used by the SLA timer control to check for cancellation condition. |
|
Specifies the value used by the SLA timer control when determining cancellation. |
|
Specifies whether the sub-grid displays a chart, a grid, or both. |
|
Represents query string parameters to pass to the Web resource. |
|
For internal use only |
|
Specifies the default view. |
|
Specifies that the default view cannot be changed in the form editor. |
|
Specifies the name of an attribute to use when filtering related records. |
|
Specifies the type of entity for the lookup field used to filter related records. |
|
Disables the most recently used items for the lookup. |
|
Specifies whether to display the search box in the lookup dialog box. |
|
Specifies whether to display a list of views to choose from when searching for a record to set in the lookup. |
|
For internal use only |
|
Specifies whether a chart selection is available. |
|
Specifies whether the contextual actions are shown in the inline subgrid. For internal use only. |
|
Specifies whether an index is displayed for the sub-grid. |
|
Specifies whether to display a search box in the sub-grid. |
|
Specifies whether to display a view selection option for the sub-grid. |
|
Specifies the entity logical name of the quick create form to open. This parameter is used by lookups to determine the type of record to be created when the New button is clicked. |
|
Specifies the time field used by the SLA timer control to assess failure. |
|
Specifies the field used by the SLA timer control to check for failure conditions. |
|
Specifies the value used by the SLA timer control when determining failure. |
|
Specifies the name of an entity relationship that filters records to only those that use that relationship. |
|
For internal use only |
|
For internal use only |
|
Provides the height value, when a Web resource for an image uses the Specific parameter. |
|
Specifies the horizontal alignment of image Web resources. |
|
Specifies the GUIDs of the views that are used for inline lookup. These views contain the columns that are displayed in the search results. |
|
For internal use only |
|
For internal use only |
|
Specifies whether the New button is shown in the inline lookup. For internal use only. |
|
Formats a string attribute field so that the password is hidden when data is typed in the field. |
|
For internal use only |
|
Specifies that the chart displayed is owned by a user rather than by the system. |
|
Specifies that the view displayed is owned by a user rather than by the system. |
|
Defines the link control XML to be loaded for the associated flyout definition. |
|
For internal use only |
|
For internal use only. |
|
For internal use only |
|
For internal use only |
|
For internal use only |
|
For internal use only |
|
A parameter for IFrame and Web Resource controls that specifies that a set of context parameters will be passed in a query string to the URL of the control. |
|
For internal use only |
|
A parameter for IFrame or Web Resource controls. For internal use only. |
|
Specifies whether to show the Prompt Area collapsed in the report. |
|
Sets the number of records to display per page. This is a parameter for sub-grid controls. |
|
Specifies a relationship to be used by a sub-grid control. |
|
Sets the direction of a Connection Role relationship. This is a parameter for sub-grid controls. |
|
Specifies the report to display. |
|
Specifies whether the lookup control should attempt to resolve an email address for the text displayed in the window. |
|
Specifies the scrolling behavior of the IFrame. This is a parameter for IFrame, Web resource, and report controls. |
|
For internal use only |
|
Indicates whether cross-site scripting restrictions are applied. This is a parameter for IFrame controls. |
|
For internal use only |
|
For internal use only |
|
For internal use only |
|
For internal use only |
|
For internal use only |
|
For internal use only. |
|
(Deprecated) Indicated whether this web resource would be displayed in a read-optimized form. |
|
Indicates whether the Iframe or web resource control is displayed for entity forms and dashboards in Microsoft Dynamics CRM for tablets. |
|
Specifies how the web resource should be sized to fit in the form. |
|
A parameter for report controls. |
|
Specifies the field used by the SLA timer control to check for success condition. |
|
Specifies the value used by the SLA timer control when determining success. |
|
For internal use only |
|
Specifies the entity records to be displayed in the sub-grid. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
For internal use only. |
|
A parameter for IFrame and Web resource controls that specifies the location of the page or HTML Web resource to open. |
|
Specifies the horizontal alignment of image Web resources. |
|
Specifies the view to be used as the data source for the sub-grid. |
|
Specifies the views to be available for selection in the sub-grid. |
|
Specifies if enabling or disabling the view picker is allowed by the form editor. |
|
Sets the default chart when chart selection is not enabled. |
|
Specifies the field used by the SLA timer control to check for warning condition. |
|
Specifies the value used by the SLA timer control when determining warning. |
|
A parameter for web resource controls. When a web resource for an image uses the Specific parameter, this parameter provides the width value. |
Parent Elements
Element |
Description |
---|---|
Specifies the control to display within a form cell. |
Remarks
The parameters element is valid for several different types of controls. Specific child elements are only valid for particular types of controls. The following table breaks out which parameters are valid for each type of control:
Child element |
Lookup |
Link |
IFrame |
Web Resource |
Sub-Grid |
Report |
Bing Maps |
Timer |
---|---|---|---|---|---|---|---|---|
AddressField |
X |
|||||||
AllowFilterOff |
X |
|||||||
AutoResolve |
X |
|||||||
AvailableViewIds |
X |
|||||||
DefaultViewId |
X |
|||||||
DefaultViewReadOnly |
X |
|||||||
DependentAttributeName |
X |
|||||||
DependentAttributeType |
X |
|||||||
DisableMru |
X |
|||||||
DisableQuickFind |
X |
|||||||
DisableViewPicker |
X |
|||||||
EnableContextualActions |
X |
|||||||
EntityLogicalName |
X |
|||||||
FilterRelationshipName |
X |
|||||||
InlineViewIds |
X |
|||||||
IsInlineNewEnabled |
X |
|||||||
LinkControlDefinitionId |
X |
X |
||||||
ShowLinkControlLabel |
X |
|||||||
ResolveEmailAddress |
X |
|||||||
UnboundLookupBrowse |
X |
|||||||
UnboundLookupControlType |
X |
|||||||
UnboundLookupStyle |
X |
|||||||
UnboundLookupTypes |
X |
|||||||
ShowInROF |
X |
|||||||
ViewPickerReadOnly |
X |
|||||||
Border |
X |
X |
||||||
IsPassword |
X |
X |
||||||
PassParameters |
X |
X |
||||||
Preload |
X |
X |
||||||
Scrolling |
X |
X |
X |
|||||
Security |
X |
|||||||
Url |
X |
X |
||||||
ShowOnMobileClient |
X |
X |
||||||
AltText |
X |
|||||||
Data |
X |
|||||||
Height |
X |
|||||||
HorizontalAlignment |
X |
|||||||
SizeType |
X |
|||||||
VerticalAlignment |
X |
|||||||
Width |
X |
|||||||
AutoExpand |
X |
|||||||
ChartGridMode |
X |
|||||||
EnableChartPicker |
X |
|||||||
EnableJumpBar |
X |
|||||||
EnableQuickFind |
X |
|||||||
EnableViewPicker |
X |
|||||||
IsUserChart |
X |
|||||||
IsUserView |
X |
|||||||
RecordsPerPage |
X |
|||||||
RelationshipName |
X |
|||||||
RelationshipRoleOrdinal |
X |
|||||||
TargetEntityType |
X |
|||||||
ViewId |
X |
|||||||
ViewIds |
X |
|||||||
VisualizationId |
X |
|||||||
TeamTemplateId |
X |
|||||||
MaxRowsBeforeScroll |
X |
|||||||
PromptAreaCollapsed |
X |
|||||||
ReportId |
X |
|||||||
SnapshotId |
X |
|||||||
FailureTimeField |
X |
|||||||
SuccessConditionName |
X |
|||||||
SuccessConditionValue |
X |
|||||||
WarningConditionName |
X |
|||||||
WarningConditionValue |
X |
|||||||
CancelConditionName |
X |
|||||||
CancelConditionValue |
X |
Example
The following shows an example of parameters.
<control id="IFRAME_sdk" classid="{FD2A7985-3187-444e-908D-6624B21F69C0}">
<parameters>
<Url>https://bing.com</Url>
<PassParameters>false</PassParameters>
<Security>true</Security>
<Scrolling>auto</Scrolling>
<Border>true</Border>
</parameters>
</control>
Element Information
Schema Type |
complexType |
Validation File |
FormXml.xsd |
Number of Occurrences |
0 or 1 |
XPath |
|
See Also
Customize entity forms
Form XML reference
© 2016 Microsoft. All rights reserved. Copyright