Skip to Content

Custom feed tile for SAP Fiori Lauchpad

Hello. I'm developing a custom app with as a custom feed with slide tile. The code is working in webide, but after i creating a new app in fiori launchap, give me this error:

The image below is the expected result. And its working in a normal SAPUI5 app.

This is the code that i'm using.

<core:View controllerName="com.its.customslidetile.CustomSlideTile" xmlns="sap.m" xmlns:core="sap.ui.core">
	<SlideTile class="sapUiTinyMarginBegin sapUiTinyMarginTop" tiles="{/noticias}">
		<GenericTile backgroundImage="{img}" frameType="TwoByOne" press="pressOnTileOne">
			<TileContent footer="{title}">
				<NewsContent contentText="{text}"/>
			</TileContent>
		</GenericTile>
	</SlideTile>
</core:View>

And this is the app configuration in SAP Fiori Lauchpad.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 08 at 03:53 PM

    XML tag <TileContent> should be <tileContent> (first letter is small)

    <GenericTile backgroundImage="{img}" frameType="TwoByOne" press="pressOnTileOne">
             <tileContent footer="{title}">
    	        <NewsContent contentText="{text}"/>
    	 </tileContent>
    </GenericTile>
    Add comment
    10|10000 characters needed characters exceeded

    • I may not have understood your question clearly.....

      From what I can see you are saying is that:

      • To run the app in WebIDE you need to add tha tag 'tileContent', but fiori launchpad runs the properly without the tag

      to clarify things..lets check the UI5 versions in both the cases (where its working and not working)

      in sap.ui.version 1.44. it is required to specify 'tileContent' as this is mandatory....not sure which release they have removed this...