Skip to content Skip to sidebar Skip to footer

Sapui5 Routing - Difference Between Controlid And Targetcontrol

In my routing configuration I can either set the property 'controlId' or 'targetControl' to specify the ID of the control where I want to put my new view. The only difference I fig

Solution 1:

The documentation states targetControl and targetAggregation as deprecated since 1.28.

In the sourcecode you can find some places where the pre 1.28 route configs are converted to the new route config including targets, which were introduced at that version. That might explain the naming: targetControl and targetAggregation have there origin a time where there was no separate target configuration object but everything was defined within the route.

You can find the available parameters more or less explained in the developer guide: overview and more details on parameters here.

Post a Comment for "Sapui5 Routing - Difference Between Controlid And Targetcontrol"