cancel
Showing results for 
Search instead for 
Did you mean: 

Custom View not getting cleared on Enb Button

zahid_gulzar
Discoverer
0 Kudos

Hi Experts,

I have a custom view which is not being cleared by clicking End Button for the first time in interaction center. For the second time End Button clears the view. In order to clear it I have written following code in DO_PREPARE_OUTPUT method.

me->typed_context->my_context_node->clear_collection( ).

In debugger I see the collection is cleared but the data is still displayed in the table in my custom view.

Many thanks in advance for the help.

Best regards,

Zahid

View Entire Topic
Sigrid
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Just for everybody who read this post - even if user parameter User Parameter CRM_TAJAX_DH_MODE = OFF can solve the issue, it is no solution as there are many side-effects you would need to deal with. Especially in CRM IC, it is necessary that delta handling is enabled.

Registering for END and handling of END for custom views needs to be implemented.

Best Regards,
Sigrid