A how to guide on hiding assignment blocks of an overview page at run time.
Arun Prakash karuppanan
Created on: 18 march 2010
Arun Prakash Karuppanan is a senior developer with Accenture, working on CRM implementations
The UI config utility allows us to assign assignment blocks to a overview page depending on the user role, object type, component usage name etc., But, there may be cases where we would like to hide the assignment blocks based on some validations during run time. This wiki will show you how to do it.
Step 1 - Identify the name of the assignment block
Go to the run time repository of the component. Note down the component usage name. Note down the interface view name. Now, the name of the assignment block page will be
'component_usage_name'.'interface_view_name'. (concatenate both separated by '.' )
Step 2 - Overview page coding
In the overview page controller, redefine the method 'DETACH_STATIC_OVW_VIEWS'. This method will be called during each page refresh and will return views to be removed from the overview page.
In the same overview page controller, redefine the method 'REATTACH_STATIC_OVW_VIEWS'.
CRM BSP Hide assignment blocks