Share via


ApplicationHost.ExecuteDefaultActions Method (Boolean)

 

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

Runs the default action for every application in this session.

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

Syntax

public virtual void ExecuteDefaultActions(
    bool taggedApplicationsOnly
)
Public Overridable Sub ExecuteDefaultActions (
    taggedApplicationsOnly As Boolean
)

Parameters

  • taggedApplicationsOnly
    Type: System.Boolean

    True - Executes default action on only the tagged global apps and tagged non-global apps. This case occurs when a workflow is started. When a workflow is started, the tagged non-global apps will be freshly loaded so they should execute their default actions. In case of tagged global apps, they should execute the default action only once in their life time. But if they remained hidden (and so no action will be performed on them) till now and coming to visible state first time, then they should execute their default action. False - Execute default action on all kinds of applications. This happens while any session is being created. Then hostedApps will have only the untagged global and untagged non-global applications. As the global applications should execute their default action only once in their lifetime, we let it happen when this app host is associated with global session and we avoid it for non-global sessions.

See Also

ExecuteDefaultActions Overload
ApplicationHost Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright