Partager via


CRMPresenter Class

Definition

Represents the interaction logic for CRMPresenter.xaml

public ref class CRMPresenter : Microsoft::Crm::UnifiedServiceDesk::Dynamics::Controls::PresenterControl, Microsoft::Crm::UnifiedServiceDesk::Dynamics::Controls::Browser2::IBridgeCRMPresenter, System::Windows::Markup::IComponentConnector
public class CRMPresenter : Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.PresenterControl, Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.IBridgeCRMPresenter, System.Windows.Markup.IComponentConnector
type CRMPresenter = class
    inherit PresenterControl
    interface IBridgeCRMPresenter
    interface IComponentConnector
Public Class CRMPresenter
Inherits PresenterControl
Implements IBridgeCRMPresenter, IComponentConnector
Inheritance
Implements

Constructors

CRMPresenter(String, XmlDocument, IDesktopUserActions, DynamicsBaseHostedControl, Sessions, List<String>, Session)

Initializes a new instance of the CRMPresenter class.

Fields

_client (Inherited from PresenterControl)
_crmWebResource (Inherited from PresenterControl)
applicationName (Inherited from PresenterControl)
CRMWindowRouter (Inherited from PresenterControl)
InitString (Inherited from PresenterControl)
onLoadHistory (Inherited from PresenterControl)
parentHostedControl (Inherited from PresenterControl)
scanForDataParameters

Scans for data parameters. True if parameters are present, otherwise false.

SelectedBrowser (Inherited from PresenterControl)
thisApplication (Inherited from PresenterControl)
UIThread (Inherited from PresenterControl)
WebBrowserContainer (Inherited from PresenterControl)

Properties

ActiveBrowser (Inherited from PresenterControl)
allowMultiplePages (Inherited from PresenterControl)
ApplicationName (Inherited from PresenterControl)
CurrentContext (Inherited from PresenterControl)
CurrentUrl (Inherited from PresenterControl)
desktopAccess (Inherited from PresenterControl)
HasDataBeenCaptured
IsDashboard

Gets or set s Boolean value that specifies whether the control is a dashboard.

localSession (Inherited from PresenterControl)
localSessionManager (Inherited from PresenterControl)
multiplePageCount (Inherited from PresenterControl)
PresenterLogicalName
SelectedGrid
SelectedGridTypeCode
WebList (Inherited from PresenterControl)

Methods

Back() (Inherited from PresenterControl)
BeforeSessionClose() (Inherited from PresenterControl)
ClearInitialLoadCompleteFlags()
CloseActive() (Inherited from PresenterControl)
CloseAndPrompt(String)

Closes the hosted control and prompts the user to save or abandon the changes before closing.

ClosePresenter() (Inherited from PresenterControl)
DesktopReady()

Occurs on startup when the desktop initialization has completed and the connections to CRM have been established.

FireEvent(String, Dictionary<String,String>) (Inherited from PresenterControl)
FireEvent(String) (Inherited from PresenterControl)
Forward() (Inherited from PresenterControl)
GetActiveBrowser()
GetSelectedCount(String)

Retrieves the number of items that are selected.

GetSelectedIds(String)

Retrieves the selected IDs from the lists.

Home() (Inherited from PresenterControl)
InitializeComponent()

Initializes the components.

InitializeUI() (Inherited from PresenterControl)
IsNewBrowserAllowed() (Inherited from PresenterControl)
LoadArea(String, String)

Loads a specific area from CRM.

LogException(Exception, TraceEventType) (Inherited from PresenterControl)
LogException(String, TraceEventType, Exception) (Inherited from PresenterControl)
Navigate(String, String, Byte[], String, NavigateProperties)
Navigate(String, String, NavigateProperties)
Navigate(String, String)

Navigates to a CRM URL.

ReRoute(String)

Sends the currently displayed URL through the window navigation rules from the current hosted control as a popup.

ResetBrowser() (Inherited from PresenterControl)
RunJavascript(String, String) (Inherited from PresenterControl)
RunJavascriptInternal(String, String, String) (Inherited from PresenterControl)
RunScript(String, String)

Injects JavaScript into the main frame of the application.

RunXrmCommand(String, String)

Injects CRM SDK JavaScript into the CRM form.

RunXrmCommandInternal(String, String)
SaveAll()

Saves all forms in hosted control that allows multiple pages to be displayed (Allow Multiple Pages = Yes).

SaveIfDirty(String)
ScanForDataParameters()

Scans for data parameters.

ShowOutside(String)
ShowWindow(String, String, Boolean)
ShowWindow(String, String, List<String>, Boolean, Boolean)
StartDialog(String)

Starts a CRM dialog within Unified Service Desk.

ToggleNavigation(String)

Collapses or expands the navigation pane on the left panel of the CRM window.

ToggleRibbon(String)

Collapses or expands the ribbon.

UpdateVisualParentHwnd() (Inherited from PresenterControl)
WaitForComplete(TimeSpan) (Inherited from PresenterControl)
WaitForData(TimeSpan)
WindowList_SelectionChanged(Object, SelectionChangedEventArgs)

Events

BrowserNavigating (Inherited from PresenterControl)
BrowsersClosed (Inherited from PresenterControl)
DocumentReady (Inherited from PresenterControl)

Explicit Interface Implementations

IComponentConnector.Connect(Int32, Object)

Applies to