CRM Dashboard, staff selection
In absence of a solution to https://jiwa.atlassian.net/browse/DEV-6452 I am attempting this myself as I have a client who requires it.
I've encountered a problem at the first hurdle...adding a combo control to the CRM form. Never mind actually making it do some logic
I'd like it to show just to the right of the "CRM Dashboard for XXXXX" label. I'm basing it off a copy of the CRM Dashboard plugin.
Problem is, the combo is not displaying. I suspect I am not adding to the right panel? I have tried UltraPanel1, UltraPanel2 and UltraPanel12 which seem to be the only ones on the CRM Dashboard.
These edits are taking place in the region "Standard Plugin Code" but maybe it needs to go in the CRM class somewhere?
Version 7.2.1.
Coding in VB because that's what the CRM Dashboard plugin is in.
I've encountered a problem at the first hurdle...adding a combo control to the CRM form. Never mind actually making it do some logic
I'd like it to show just to the right of the "CRM Dashboard for XXXXX" label. I'm basing it off a copy of the CRM Dashboard plugin.
Problem is, the combo is not displaying. I suspect I am not adding to the right panel? I have tried UltraPanel1, UltraPanel2 and UltraPanel12 which seem to be the only ones on the CRM Dashboard.
These edits are taking place in the region "Standard Plugin Code" but maybe it needs to go in the CRM class somewhere?
- Code: Select all
Public Sub Setup(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.Setup
Dim CRMDashboardForm As JiwaDashboardUI.CRM = DirectCast(JiwaForm, JiwaDashboardUI.CRM)
Dim staffSelection As Infragistics.Win.UltraWinEditors.UltraComboEditor
CRMDashboardForm.UltraPanel12.Controls.Add(staffSelection)
staffSelection.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList
staffSelection.Location = New System.Drawing.Point(400,3)
staffSelection.Name = "StaffUltraCombo"
staffSelection.Size = New System.Drawing.Size(150, 21)
staffSelection.Text = "Select Staff"
End Sub
Version 7.2.1.
Coding in VB because that's what the CRM Dashboard plugin is in.