CRMPresenter.RunScript Method
Injects JavaScript into the main frame of the application.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim instance As CRMPresenter
Dim script As String
Dim frame As String
Dim returnValue As Object
returnValue = instance.RunScript(script, frame)
Syntax
'Declaration
Public Function RunScript ( _
script As String, _
frame As String _
) As Object
public Object RunScript (
string script,
string frame
)
public:
Object^ RunScript (
String^ script,
String^ frame
)
public Object RunScript (
String script,
String frame
)
public function RunScript (
script : String,
frame : String
) : Object
Parameters
- script
Specifies the script.
- frame
Specifies the frame.
Return Value
Type: Object
Remarks
Avoid using CRM client SDK calls with this action; instead, use the RunXrmCommand action.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
CRMPresenter Class
CRMPresenter Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.