<parameters> (FormXml)

適用於: CRM 2016 on-prem, CRM Online

包含要傳遞至表單控制項的參數。

語法

<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>

屬性和元素

The following describes the attributes, child elements, and parent elements.

屬性

此元素沒有屬性。

子元素

Element Description

<ActionList> (FormXml)

僅供內部使用

<AddressField> (FormXml)

指定 Bing 地圖服務控制項使用的複合地址欄位。

<AllowChangingFiltersOnUI> (FormXml)

僅供內部使用

<AllowFilterOff> (FormXml)

指定當記錄篩選啟用時使用者是否可以關閉記錄篩選。

<AltText> (FormXml)

Web 資源控制項的參數。此元素的值會指定影像 Web 資源的替代文字。

<AutoExpand> (FormXml)

指定子格是否會自動展開,以使用表單索引標籤的可用空間。

<AutoResolve> (FormXml)

指定是否啟用欄位的自動結案。

<AvailableViewIds> (FormXml)

指定可在子格中選取的檢視表。

<Border> (FormXml)

IFrame 或 Web 資源控制項的參數。此元素的值指定是否要顯示控制項框線。

<CancelConditionName> (FormXml)

指定 SLA 計時器控制項用來檢查取消條件的欄位。

<CancelConditionValue> (FormXml)

指定 SLA 計時器控制項在判定取消時所使用的值。

<ChartGridMode> (FormXml)

指定子格顯示圖表、方格或這兩者。

<Data> Web Resource Parameter (FormXml)

代表傳遞至 Web 資源的查詢字串參數。

<DefaultValue> (FormXml)

僅供內部使用

<DefaultViewId> (FormXml)

指定預設檢視表。

<DefaultViewReadOnly> (FormXml)

指定在表單編輯器中無法變更預設檢視表。

<DependentAttributeName> (FormXml)

指定篩選相關記錄時使用的屬性名稱。

<DependentAttributeType> (FormXml)

指定篩選相關記錄時所用查詢欄位的實體類型。

<DisableMru> (FormXml)

停用查詢最近使用的項目。

<DisableQuickFind> (FormXml)

指定是否在查詢對話方塊中顯示搜尋方塊。

<DisableViewPicker> (FormXml)

指定是否顯示檢視表清單,在搜尋於查詢中設定的記錄時可供選擇。

<EnableAutoSuggestions> (FormXml)

僅供內部使用

<EnableChartPicker> (FormXml)

指定圖表選取是否可用。

<EnableContextualActions> (FormXml)

指定是否在內嵌子格中顯示關聯式動作。僅供內部使用。

<EnableJumpBar> (FormXml)

指定是否為子格顯示索引。

<EnableQuickFind> (FormXml)

指定是否在子格中顯示搜尋方塊。

<EnableViewPicker> (FormXml)

指定是否為子格顯示檢視表選取選項。

<EntityLogicalName> (FormXml)

指定要開啟之快速建立表單的實體邏輯名稱。此參數是供查詢用以判斷按一下 [新增] 按鈕時所要建立的記錄類型。

<FailureTimeField> (FormXml)

指定 SLA 計時器控制項用來評估失敗的時間欄位。

<FailureConditionName> (FormXml)

指定 SLA 計時器控制項用來檢查失敗條件的欄位。

<FailureConditionValue> (FormXml)

指定 SLA 計時器控制項在判定失敗時所使用的值。

<FilterRelationshipName> (FormXml)

指定實體關聯的名稱,篩選只使用該關聯的記錄。

<FilterResults> (FormXml)

僅供內部使用

<Format> (FormXml)

僅供內部使用

<Height> (FormXml)

當影像 Web 資源使用 Specific 參數時,提供高度值。

<HorizontalAlignment> (FormXml)

指定影像 Web 資源的水平對齊。

<InlineViewIds> (FormXml)

指定內嵌查詢所用檢視表的 GUID。這些檢視表包含搜尋結果中所顯示的欄。

<IsColorValue> (FormXml)

僅供內部使用

<IsDeDupLookup> (FormXml)

僅供內部使用

<IsInlineNewEnabled> (FormXml)

指定是否在內嵌查詢中顯示 [新增] 按鈕。僅供內部使用。

<IsPassword> (FormXml)

將字串屬性欄位格式化,以便在欄位中輸入資料時隱藏密碼。

<IsTitle> (FormXml)

僅供內部使用

<IsUserChart> (FormXml)

指定顯示的圖表為使用者擁有,而不是系統擁有。

<IsUserView> (FormXml)

指定顯示的檢視表為使用者擁有,而不是系統擁有。

<LinkControlDefinitionId> (FormXml)

定義相關的彈出式視窗定義要載入的連結控制項 XML。

<MaxLength> (FormXml)

僅供內部使用

<MaxRowsBeforeScroll> (FormXml)

僅供內部使用。

<MaxValue> (FormXml)

僅供內部使用

<MinValue> (FormXml)

僅供內部使用

<NumberOfResults> (FormXml)

僅供內部使用

<OptionSetId> (FormXml)

僅供內部使用

<PassParameters> (FormXml)

IFrame 和 Web 資源控制項的參數,指定將一組內容參數傳入控制項 URL 的查詢字串。

<Precision> (FormXml)

僅供內部使用

<Preload> (FormXml)

IFrame 或 Web 資源控制項的參數。僅供內部使用。

<PromptAreaCollapsed> (FormXml)

指定是否在報表中顯示摺疊的提示區域。

<RecordsPerPage> (FormXml)

設定每頁顯示的記錄數目。這是子格控制項的參數。

<RelationshipName> (FormXml)

指定子格控制項所要使用的關聯。

<RelationshipRoleOrdinal> (FormXml)

設定關係角色關聯的方向。這是子格控制項的參數。

<ReportId> (FormXml)

指定要顯示的報表。

<ResolveEmailAddress> (FormXml)

指定查詢控制項是否應該嘗試為視窗中顯示的文字解析電子郵件地址。

<Scrolling> (FormXml)

指定 IFrame 的捲動行為。這是 IFrame、Web 資源和報表控制項的參數。

<SearchForAutoSuggestionsUsing> (FormXml)

僅供內部使用

<Security> (FormXml)

表示是否套用跨網站指令碼限制。這是 IFrame 控制項的參數。

<SelectPrimaryCustomer> (FormXml)

僅供內部使用

<ShowArticleTab> (FormXml)

僅供內部使用

<ShowContextualActions> (FormXml)

僅供內部使用

<ShowDepartmentFilter> (FormXml)

僅供內部使用

<ShowLanguageFilter> (FormXml)

僅供內部使用

<ShowLinkControlLabel> (FormXml)

僅供內部使用。

<ShowInROF> (FormXml)

(已被取代) 指示是否會在讀取最佳化表單中顯示此 Web 資源。

<ShowOnMobileClient> (FormXml)

指出是否為平板電腦用 Microsoft Dynamics CRM 的實體表單和儀表板顯示 Iframe 或 Web 資源控制項。

<SizeType> (FormXml)

指定 Web 資源應如何調整大小,以放入表單。

<SnapshotId> (FormXml)

報表控制項的參數。

<SuccessConditionName> (FormXml)

指定 SLA 計時器控制項用來檢查成功條件的欄位。

<SuccessConditionValue> (FormXml)

指定 SLA 計時器控制項在判定成功時所使用的值。

<TargetEntities> (FormXml)

僅供內部使用

<TargetEntityType> (FormXml)

指定要在子格中顯示的實體記錄。

<TeamTemplateId> (FormXml)

僅供內部使用。

<UnboundLookupBrowse> (FormXml)

僅供內部使用。

<UnboundLookupControlType> (FormXml)

僅供內部使用。

<UnboundLookupStyle> (FormXml)

僅供內部使用。

<UnboundLookupTypes> (FormXml)

僅供內部使用。

<Url> (FormXml)

IFrame 和 Web 資源控制項的參數,指定要開啟之網頁或 HTML Web 資源的位置。

<VerticalAlignment> (FormXml)

指定影像 Web 資源的水平對齊。

<ViewId> (FormXml)

指定要做為子格資料來源使用的檢視表。

<ViewIds> (FormXml)

指定可在子格中選取的檢視表。

<ViewPickerReadOnly> (FormXml)

指定表單編輯器是否允許啟用或停用檢視表選擇器。

<VisualizationId> (FormXml)

設定當圖表選取未啟用時的預設圖表。

<WarningConditionName> (FormXml)

指定 SLA 計時器控制項用來檢查警告條件的欄位。

<WarningConditionValue> (FormXml)

指定 SLA 計時器控制項在判定警告時所使用的值。

<Width> (FormXml)

Web 資源控制項的參數。當影像 Web 資源使用 Specific 參數時,此參數會提供寬度值。

上層元素

Element Description

<control> (FormXml)

指定要在表單儲存格內顯示的控制項。

備註

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

範例

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>

元素資訊

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or 1

XPath

//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/control/parameters

請參閱

概念

自訂實體表單

其他資源

Form XML reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.