Skip to Content
0
Dec 18, 2011 at 10:59 PM

Dial Pad on clicking of a link in a pop up

96 Views

Hi Experts,

We are on CRM 7.0 and just upgraded to EHP1. We have a requirement where in we have a list of communication numbers which will be shown after clicking on a work center as a pop up. numbers will be as hyperlink which on click returns 'return onCommunicationLinkClicked('PHONE','+6442223215');' (A menthod from java script.)

Now the issue is this approach works fine when instead of pop up, A window is opened when clicked on a work center but when same is opened as pop up the hyper link does not work. See the code below in GET_P method:

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

rv_value = cl_bsp_dlc_view_descriptor=>field_type_communicationlink

  • WHEN if_bsp_wd_model_setter_getter=>fp_channel_service_class.

  • rv_value = cl_crm_ic_fw_comm_link_svc=>get_service_class_name( cl_crm_ic_fw_comm_link_svc=>co_link_type_phone ).

  • WHEN if_bsp_wd_model_setter_getter=>fp_channel_address.

  • lv_channel_address = get_zzphnumber( 'ZZPHNUMBER' ).

  • rv_value = cl_crm_ic_fw_comm_link_svc=>format_channel_address( lv_channel_address ).

WHEN if_bsp_wd_model_setter_getter=>fp_channel_type.

rv_value = cl_crm_ic_fw_comm_link_svc=>co_link_type_phone.

  • WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

  • rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.

Thanks,

Ashish