**Current Limitations and Workarounds **¶
Customizing a Cloned list¶
When trying to customize a cloned list we get the code generation error ‘Override is not supported together with clone functionality’
workaround:
Let’s say we need to override the cloned list ‘OpportunityLineOvwList’, but when we try to perform this operation in the cust layer it gives code generation error ‘Override is not supported together with clone functionality’
Solution for this would be to find the source entity of the base list which was cloned and give it as the source for the overriding list.
OpportunityLineOvwBaseList is the base list which is connected to entity BusinessOpportunityLine.
Therefore we can override the list OpportunityLineOvwList as follows to overcome the code generation error:
Adding new parameters to an action in a fragment.¶
we are unable to override or overtake actions in a fragment to include a new parameter, if we do we receive the following error in code generation (too few parameters passed to method…)
In such scenario’s we create a new ‘C’ prefixed action in the Cust layer by copying the content from the Core action like below and add the new parameters to this -
Then in the generated plsvc procedure/function we call the relevant procedure/function connected to the Core Action
The actual change can be added by overtaking the core procedure, here we can use $SEARCH, $APPEND, $PREPEND, $REPLACE to alter only selected parts of the code in the core procedure
To be picked by the update Analyzer we can add @UpdateAnalyzer to the C prefixed action as well.
For more details refer : Annotate High Impacts
Customizing a ‘tree’ control¶
If we try to override a tree in the cust layer currently we receive the following deployment error ->
ERROR: Override is not supported for TreeDefinition due its complex structure. Overtake alternatively define and use a new TreeDefinition. Type: TreeDefinition, Name: EquipObjectStructureTree, Source: EQUIP/EquipmentObjectStructureNavigation-Cust.client, Used in: Client EQUIP/EquipmentObjectStructureNavigation-Cust.client
Due to the complex structure of Tree Control, Overrides are not supported, instead overtake can use to fulfill the requirement.
Or else as a workaround, introduce the tree as a new control in the cust layer with the ‘C’ Prefix and then replace all the places where the core tree control is used with the new ‘C’ prefixed tree.
Make sure to also add the commented line as - //@UpdateAnalyzer #Comment=Make sure to merge any CORE changes
so that it will be picked up by the update analyzer tool during impact analysis phase when performing an upgrade.