Good morning all,
I work under CRM 6.0.
I have enhanced a view in the component ICCMP_BTPARTNER and in this custom view I have different push button with a telephone number.
I would like that when the user press the push button it create an outbound call to the number selected.
I have seen that when from dialpad.htm of the HiddenView of the component CRMCMP_IC_FRAME I compose a number and I press the button to call, It's triggered the method EH_ONFORWARDCALL of the controller CL_CRMCMP_I_CUCOHIDDENVIE_IMPL with the event "IC.NewRequest".
the method EH_ONFORWARDCALL prepare the object ref_event that is TYPE REF TO cl_crm_ic_event setting the parameters:
After setting that it raise the event to the server using this code:
ref_event_service = cl_crm_ic_services=>get_event_srv_instance( ).
ref_event_service->raise( ref_event ).
So I would like to replicate this code to raise the outbound call eventi from my custom view.
So the question is, the parameter3 contains the reference of the new contact started, It's possible to create a new contact in my method and fill UP the parameters to call the outbound call from my custom view?