<JavaScriptFunction> (RibbonDiffXml)
Van toepassing op: CRM 2016 on-prem, CRM Online
Hiermee wordt een actie opgegeven die een functie uit een specifieke JavaScript-bibliotheek aanroept.
Syntaxis
<JavaScriptFunction
FunctionName="String"
Library="String" >
<BoolParameter/>
<CrmParameter />
<DecimalParameter/>
<IntParameter/>
<StringParameter/>
</JavaScriptFunction>
Kenmerken en elementen
The following table lists the attributes, child elements, and parent elements.
Kenmerken
Attribute | Description | Type | Usage |
---|---|---|---|
FunctionName |
The name of the JavaScript function to call. This string must begin with a letter, the underscore (“_”) character, or the dollar (“$”) symbol. The remaining characters can be any combination of letters, numbers, the underscore character, the dollar symbol or periods. |
String |
Required |
Library |
The name of the JavaScript library Web resource that contains the function. Use the $webresource: directive when specifying the library. |
String |
Required |
Onderliggende elementen
Element | Description |
---|---|
Geeft een waarde aan met booleaans gegevenstype die kan worden doorgegeven als parameter. |
|
Geeft gegevens weer, opgehaald uit de Microsoft Dynamics CRM-toepassing, die kunnen worden doorgegeven als parameter. |
|
Geeft een waarde aan met een decimaal gegevenstype die kan worden doorgegeven als parameter. |
|
Geeft een waarde aan met een integer-gegevenstype die kan worden doorgegeven als parameter. |
|
Geeft een waarde aan met een tekenreeksgegevenstype die kan worden doorgegeven als parameter. |
Bovenliggende elementen
Element | Description |
---|---|
Hiermee worden de acties opgegeven die door een opdracht worden uitgevoerd. |
Opmerkingen
If you are using this element to call a function that will use window.open to open a web resource, consider using the <Url> (RibbonDiffXml) action instead. With the <Url> action you can specify the Web resource using the $webresource Directive to specify the web resource to open. This will allow the application to specify the URL to the cached web resource and will result in better performance, particularly if the web resource is an HTML web resource that hosts a Silverlight web resource.
Notitie
Opening entity forms in a dialog window using showModalDialog or showModelessDialog is not supported.
Informatie over elementen
XPath |
|
Schema Name |
JavaScriptFunctionType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
Zie ook
Concepten
JavaScript gebruiken met Microsoft Dynamics CRM
Overige resources
Ribbon XML reference
Opdrachten en het lint aanpassen
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.