where do these names come from
In CRM WebUI pages, there are some tab names. For example:
— in the business roles selection page, it shows ‘Select a business role: – [XXX XXX]’.
— After selecting a business role IC_AGENT, if the work area is in ‘Identify Account’, the IE tab name will be ‘Identify Account – [Interaction Center]’.
If work area is changed, the tab name will change accordingly:
Where are these names coming from?
— Business role selection page:
For this page, the title is set in BSP Application CRM_UI_START->default.htm.
How is the value of title set? The title is set in OnCreate event for CRM_UI_START->default.htm:
The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->GET_FULL_TITLE:
Then let’s see how variants gv_title and gv_workarea_title come.
gv_title is set when title server is initialized:
The source codes locate in CL_CRM_UI_WINDOW_TITLE_SRV->GET_INSTANCE:
gv_workarea_title is set in OnCreate event for CRM_UI_START->default.htm:
The detailed codes are in CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:
— In a work area:
Tab name is set in BSP Application CRM_UI_FRAME-> WorkAreaViewSet.htm:
While to get full tile, it is in method CL_CRM_UI_WINDOW_TITLE_SRV->GET_FULL_TITLE:
Let’s see how the values for gv_workarea_title and gv_title are set.
gv_workarea is set from breadcrumb BSPWD_BASICS->BREADCRUMBVIEW.HTM:
The detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV->SET_WORKAREA_TITLE:
For gv_title, it is different between IC agent roles and non-IC roles:
— for IC roles, it is set in _ONINITIALIZATION event of BSP Application crmcmp_ic_frame-> start.htm:
Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> SET_TITLE:
— for non-ic roles, it is set in CRM_UI_FRAME-> WORKAREAVIEWSET.HTM:
Detailed codes are in method CL_CRM_UI_WINDOW_TITLE_SRV-> GET_INSTANCE:
Nicely detailed Corrine
Thanks, Corrine! It is very helpful.