Compartilhar via


Debugger (Hosted Control)

Use Debugger hosted control type in Unified Service Desk to configure a debugger control in Unified Service Desk to provide you with insights about the process and code executions in the agent application. All the three sample applications in Unified Service Desk come with a preconfigured Debugger hosted control. For more information, see Debug issues in Unified Service Desk in the Unified Service Desk Administration Guide.

In This Topic

Create a Debugger hosted control

Predefined UII actions

Predefined events

Create a Debugger hosted control

While creating a new hosted control, the fields in the New Hosted Control screen vary based on the type of hosted control you want to create. This section provides information about the specific fields that are unique to the Debugger hosted control type. For detailed information about creating a hosted control, see Create or edit a hosted control.

Debugger hosted control

In the New Hosted Control screen:

Predefined UII actions

These are the predefined actions for this hosted control type.

New_CRM_Page

Creates a page for creating a new CRM record of the entity specified, and treats the page as a popup from the specified hosted control. The window navigation rules are evaluated to determine the location where the page to create the entity record is displayed.

Parameter Description

LogicalName

The logical name of the entity for creating a new instance.

Note

The rest of the parameters should consist of name=value pairs. These are the additional pre-populated values in the form for creating a new record for the specified entity. For more information about using this action, see step 4 in Walkthrough 7: Configure agent scripting in your agent application.

Open_CRM_Page

Opens an existing instance of the entity specified and identified by the ID, and treats the page as a popup from the specified hosted control. The window navigation rules are evaluated to determine the location where the popup should be displayed.

Parameter Description

LogicalName

The logical name of the entity to open.

id

The ID of the entity record to open.

Pops up a URL from the hosted control and runs the window navigation rules against it for routing the popup to the appropriate location.

Parameter Description

url

Routes a popup from this hosted control using this URL as if it were a popup requested from the displayed control.

frame

The frame from which this popup originated.

Close

This action is used to close the hosted control.

FireEvent

Fires a user-defined event from this hosted control.

Parameter Description

name

Name of the user-defined event.

All subsequent name=value pairs become the parameters to the event. For more information about creating a user-defined event, see Create a user-defined event.

MoveToPanel

This action is used to move hosted controls between panels at runtime.

Parameter Description

app

Name of the hosted control to be moved.

panel

Target panel for the hosted control.

SetSize

This action explicitly sets the width and height of the hosted control. This is particularly useful when using "auto" in your panel layouts.

Parameter Description

width

The width of the hosted control.

height

The height of the hosted control.

TestScriptlet

Runs the specified JavaScript as if it were a scriptlet. Upon successful execution, the result is displayed in a message box.

SetReplacementParameter

Sets an arbitrary replacement parameter value to a specified value.

Parameter Description

appname

The hosted control name or key field for the replacement parameter.

param

The replacement parameter sub key name.

value

The value to set.

global

Set this to true to set the value in the global session.

Set this to false to set the value in the active session.

Predefined events

There aren’t any predefined events available for this hosted control type.

See Also

Tasks

Walkthrough 6: Configure the Debugger hosted control in your agent application

Other Resources

Hosted control types and action/event reference
Administration Guide for Unified Service Desk for Microsoft Dynamics CRM

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.