Skip to Content
0

Cannot add direct child without default aggregation defined for control sap.m.GenericTile

Apr 17 at 07:25 AM

103

avatar image

Hey,

I want to create a Generic Tile for a SAPUI5 Project. But unfortunately, it throws me this error: "Cannot add direct child without default aggregation defined for control sap.m.GenericTile at Q". How can I fix this error? Below you see my coding.

Kind regards,
Martin

<mvc:View controllerName="eAUb.controller.Sachbearbeiterlisten" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m">
<App>
<pages><Page title="{i18n>title}">
<content>
<GenericTile header="{i18n>appTitle}">
<TileContent>
<ImageContent src ="sap-icon://outbox" />
</TileContent>
</GenericTile>
</content>
</Page>
</pages>
</App>
</mvc:View>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jun Wu Apr 17 at 02:17 PM
1

<tileContent> lower case t.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you very much for your help!

0

But is the Image content works??

0