<Url> (RibbonDiffXml)
適用於: CRM 2016 on-prem, CRM Online
動作,開啟位於指定之位址的網頁。
語法
<Url
Address="String"
PassParams=["0" | "1" | "true" | "false"]
WinMode="Integer"
WinParams="String"
>
<BoolParameter/>
<CrmParameter/>
<DecimalParameter/>
<IntParameter/>
<StringParameter/>
</Url>
屬性和元素
The following table lists the attributes, child elements, and parent elements.
屬性
Attribute | Description | Type | Usage | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Address |
要開啟之頁面的位址。此值必須代表統一資源識別項 (URI)。它可以是頁面的絕對路徑或相對路徑。 |
String |
Required |
||||||||
PassParams |
Specifies whether information about the record and language context are passed to the URL. |
Boolean |
Optional |
||||||||
WinMode |
Specifies the window mode. See Remarks. Valid values:
|
Enumeration |
Optional |
||||||||
WinParams |
Specifies the parameters to be passed to the window. The format of this parameter is different depending on the value of the WinMode parameter. |
String |
Optional |
子元素
Element | Description |
---|---|
指定布林資料類型、可做為參數傳遞的值。 |
|
代表從 Microsoft Dynamics CRM 應用程式擷取,可做為參數傳遞的資料。 |
|
指定小數資料類型、可做為參數傳遞的值。 |
|
指定整數資料類型、可做為參數傳遞的值。 |
|
指定字串資料類型、可做為參數傳遞的值。 |
上層元素
Element | Description |
---|---|
指定命令將執行的動作。 |
備註
For WinMode = 0, the window.open method is used. For more information, see the open Method topic in the MSDN Library.
For WinMode = 1 (modal dialog), the window.showModalDialog method is used. For more information, see the showModalDialog Method topic in the MSDN Library.
For WinMode = 2 (modeless dialog), the window.showModelessDialog method is used. For more information, see the showModelessDialog Method topic in the MSDN Library.
注意
Don’t use this action to open entity forms or web resources. Use the <JavaScriptFunction> (RibbonDiffXml) with a function that uses Xrm.Utility.openEntityForm or Xrm.Utility.openWebResource instead.
元素資訊
XPath |
|
Schema Name |
UrlType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
請參閱
其他資源
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.