Author Topic: Replace View  (Read 3236 times)

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Replace View
« on: August 28, 2015, 12:46:04 PM »
Hi,

I need some help with the replace view tutorial of Workspace Desktop (Last version 8.5.1)

I´m trying to do the same as the example but i´m having an error of interface.

"[i][b]Ensure that your custom-built view named, DispositionCodeExView implements the genuine IDispositionCodeView interface[/b][/i]

How can i do that? When i compile i have the error refering to interface 'Genesyslab.Desktop.Infrastructure.IView.Create()'

Thank you.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Replace View
« Reply #1 on: August 28, 2015, 12:51:59 PM »
In the same way as any other WPF module for IWS/WDE. Just register the interface to the container and add your view to proper region

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Replace View
« Reply #2 on: August 31, 2015, 12:57:36 PM »
I see the problem...

I´m trying to follow tutorial "Replace View"  on Genesys Workspace Desktop Documentation.

[b]http://docs.genesys.com/Documentation/IW/8.5.1/Developer/CustomizeViewsandRegions[/b]

On this tutorial they replace the view [b]"IOutboundRecordView"[/b] for another one named "DispositionCodeExView".

I tried to do the same with a view named [b]"IGenericDataView"[/b] but it´s not working and shows a interface error.

I want to replace Record Information View (between case view and disposition codes on Outbound calls...). Maybe this view is not IGenericDataView. Somebody knows what is the name of this view?

Regards.
« Last Edit: August 31, 2015, 12:59:26 PM by daniel_san »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Replace View
« Reply #3 on: August 31, 2015, 01:03:23 PM »
It depends just on you what "View" will be used, all is driven by container run-time configuraiton, where you are able to determine what Class is registered with specified interface. I strongly recommend to follow up the provided WDE samples and just "re-type" the custom part to own format.

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Replace View
« Reply #4 on: September 01, 2015, 09:06:32 AM »
[quote author=Kubig link=topic=9072.msg40655#msg40655 date=1441026203]
It depends just on you what "View" will be used, all is driven by container run-time configuraiton, where you are able to determine what Class is registered with specified interface. I strongly recommend to follow up the provided WDE samples and just "re-type" the custom part to own format.
[/quote]

Not sure yo understand you. I´m not able to replace any view i want?

How can i Know what view i can replace?

Regards.