Professional Documents
Culture Documents
Dyn Hiding Assignment Block
Dyn Hiding Assignment Block
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
Detaching Views
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.