Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Gabi on March 13, 2017, 04:59:05 PM

Title: Tab header/title for new view in CaseContactRegion
Post by: Gabi on March 13, 2017, 04:59:05 PM
I have found a way to add a view in the CaseContactRegion, even though it is not neat and a better way to ensure the Contacts module is loaded first would be appreciated. But now I have another problem.

As shown on the following image, the new tab has no title.
[img width=640 height=410]https://s3.postimg.org/y9o188l0z/tab.png[/img]

How can I add a title to it?

Thank you in advance.
Title: Re: Tab header/title for new view in CaseContactRegion
Post by: PeteHoyle on March 17, 2017, 10:00:50 AM
Hi Gabi,

In the model of your custom view have you added and set the Header?

Have a look at the InteractionExtensionSample provided with WDE, that show how the Header is set.

[code] /// <summary>
/// Gets or sets the header to set in the parent view.
/// </summary>
/// <value>The header.</value>
public string Header
{
get { return header; }
set { if (header != value) { header = value; OnPropertyChanged("Header"); } }
}[/code]

Pete.
Title: Re: Tab header/title for new view in CaseContactRegion
Post by: Gabi on March 20, 2017, 01:05:50 PM
Yes, I have.

What could cause the header not to show as the title of the tab?
Title: Re: Tab header/title for new view in CaseContactRegion
Post by: PeteHoyle on March 21, 2017, 09:07:47 AM
Can you share your code, then we can have a look.
Title: Re: Tab header/title for new view in CaseContactRegion
Post by: Gabi on April 18, 2017, 01:05:58 PM
Sorry for the lack of response, the customer decided they didn't want it as a tab after all, so I'm putting this on hold until I need it again, if I ever do.