Author Topic: Toaster customization  (Read 2453 times)

Offline MatSzafraniec

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Toaster customization
« on: January 08, 2019, 03:53:33 PM »
Hello,

I would like to add new segment under origin in Toaster Window, like on the screen below:
[img]http://i63.tinypic.com/2j4zomc.png[/img]

I read some general specification from [url=https://docs.genesys.com/Documentation/IW/latest/Developer/ToasterWindow]here[/url] but not sure where should I start. I have some experience in IW customizations, where I've added new views in WorkspaceMenuRegion and ToolbarWorkplaceRegion. For the Toaster it looks similiar?

I'm not sure that I can use CaseData in this case, because I prepare functionality which populate this new segment with data from SQL database. I plan populate segment with CustomCommand f.e in chain ShowToasterWindow.

What do you think?

Offline MatSzafraniec

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Toaster customization
« Reply #1 on: January 09, 2019, 10:37:06 AM »
[quote]I have some experience in IW customizations, where I've added new views in WorkspaceMenuRegion and ToolbarWorkplaceRegion. For the Toaster it looks similiar?[/quote]

With WorkspaceMenuRegion and ToolbarWorkplaceRegion case is clear - we creating new UserControls and adding it in specific region. F.e:

[tt]viewManager.ViewsByRegionName["ToolbarWorkplaceRegion"].Insert(0,
            new ViewActivator() { ViewType = typeof(IExtensionMyCallsView), ViewName = "MyCalls" }[/tt];

But how it works for Toaster? If I right understand [url=https://docs.genesys.com/Documentation/IW/latest/Developer/ToasterWindow]documentation[/url] I should add new information into [b]UpdateDateCaseDataView[/b]. Could you introduce me how to use it?

[list]
[li]Window: ToasterWindow (IToasterWindow) <ref name="Windows" />[/li]
[li]Region: ToasterCaseDataRegion (Multi-view)[/li]
[li]View: CaseDataView (ICaseDataView) <ref name="Windows" />[/li]
[li]Region: UpdateCaseDataRegion[/li]
[li]View: UpdateCaseDataView (IGenericDataView) <ref name="Windows" >Module: Genesyslab.Desktop.Modules.Windows</ref>[/li]
[/list]

Marked as best answer by MatSzafraniec on January 19, 2019, 03:49:58 AM

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: Toaster customization
« Reply #2 on: January 10, 2019, 09:15:42 AM »
Could you not do it without customising WDE?

Could you do your SQL query in the routing strategy and attached the result as attached data, then you just need to configure WDE to show that as Case Data in the toaster