IScriptableHostedApp Interface

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Host application that has scripting support

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

public interface IScriptableHostedApp : IHostedApplication, IVsaSite
Public Interface IScriptableHostedApp
    Inherits IHostedApplication, IVsaSite

Properties

Name Description
System_CAPS_pubproperty ApplicationID

Gets the application ID.(Inherited from IHostedApplication.)

System_CAPS_pubproperty ApplicationName

Gets the application name.(Inherited from IHostedApplication.)

System_CAPS_pubproperty CanEmbed

Gets a Boolean value that specifies whether the application is an external application.(Inherited from IHostedApplication.)

System_CAPS_pubproperty DisplayGroup

Gets the display group extracted from the initialization string.(Inherited from IHostedApplication.)

System_CAPS_pubproperty IsNavigating

Get a Boolean value that specifies whether the application is currently navigating.(Inherited from IHostedApplication.)

System_CAPS_pubproperty MinimumSize

Gets a hint for minimum window size.(Inherited from IHostedApplication.)

System_CAPS_pubproperty OptimumSize

Gets a hint for optimal window size.(Inherited from IHostedApplication.)

System_CAPS_pubproperty TopLevelWindow

Gets the top level window for the application.(Inherited from IHostedApplication.)

Methods

Name Description
System_CAPS_pubmethod AddAction(Int32, String, String)

Adds an action to the application.(Inherited from IHostedApplication.)

System_CAPS_pubmethod Close()

Closes the application.(Inherited from IHostedApplication.)

System_CAPS_pubmethod DoAction(Int32, String)

Invokes an action on the application(Inherited from IHostedApplication.)

System_CAPS_pubmethod DoAction(String, String)

Obsolete. Invokes an action on the application(Inherited from IHostedApplication.)

System_CAPS_pubmethod DoDefaultAction()

Invokes the default action for the application(Inherited from IHostedApplication.)

System_CAPS_pubmethod GetCompiledState(Byte[], Byte[])

(Inherited from IVsaSite.)

System_CAPS_pubmethod GetEventSourceInstance(String, String)

(Inherited from IVsaSite.)

System_CAPS_pubmethod GetGlobalInstance(String)

(Inherited from IVsaSite.)

System_CAPS_pubmethod GetIconList()

Gets the image list for the application.(Inherited from IHostedApplication.)

System_CAPS_pubmethod GetStateData()

Requests the hosted application to return its current state.(Inherited from IHostedApplication.)

System_CAPS_pubmethod Initialize()

Initializes the hosted application.(Inherited from IHostedApplication.)

System_CAPS_pubmethod LoadScript(String)

Loads the Script for the hosted application.

System_CAPS_pubmethod Notify(String, Object)

(Inherited from IVsaSite.)

System_CAPS_pubmethod NotifyContextChange(String)

Obsolete. Notifies the application that context has changed.(Inherited from IHostedApplication.)

System_CAPS_pubmethod OnCompilerError(IVsaError)

(Inherited from IVsaSite.)

System_CAPS_pubmethod SessionChange(Boolean, Guid)

Called whenever the session is changed. Only global applications receive this since 'local' applications don't need to know if their session is shown or not.(Inherited from IHostedApplication.)

System_CAPS_pubmethod SetStateData(String)

Passes the saved state to the hosted application.(Inherited from IHostedApplication.)

Events

Name Description
System_CAPS_pubevent ActionCompleted

Event to notify the hosted application that the action has completed.(Inherited from IHostedApplication.)

System_CAPS_pubevent ChangeContext

Event to add a name-value pair to the context.(Inherited from IHostedApplication.)

System_CAPS_pubevent RequestAction

Event to request an action of another application to be invoked.(Inherited from IHostedApplication.)

See Also

Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright