WebApplicationAdapter.OnNewWindow Method (String, String, Int64)

 

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

Creates a new browser window. It permits the application to cancel or allow the NewWindow operation.

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

Syntax

public virtual bool OnNewWindow(
    string newUrlString,
    string fromUrlString,
    long flags
)
Public Overridable Function OnNewWindow (
    newUrlString As String,
    fromUrlString As String,
    flags As Long
) As Boolean

Parameters

  • newUrlString
    Type: System.String

    Specifies the new window's initial address.

  • fromUrlString
    Type: System.String

    Specifies the URL that’s trying to create a new window.

  • flags
    Type: System.Int64

    Specifies a bitmask that indicates how and why this window is being created.

Return Value

Type: System.Boolean

Type: Boolean
true to allow NewWindow operation; otherwise, false.

See Also

WebApplicationAdapter Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright