Skip to Content

Requirement: For Multiple channel we will have multiple news. We have to display all the images in the Tile as slide show in the preview of the tile. When we click the Tile all the news should display along with related news images.

Issue  Occurring:When we are displaying the news we are unable to display images as slide show in the Preview Tile and also in the detail list.

Mentioned the below steps.

Step-1:  We have created a new BSP application to display the RSS news on Fiori.

Step-2:  New BSP application was configured behind the News tiles like screen shot.

Step-3:  We are getting Titles and description from XML generated by BSP application after call Transformation but when we are displaying the news we are unable to display images as slide show in the Preview Tile as shown below.   Find the attached XML scheme was generated by BSP.

<?sap.transform simple?>
<tt:transform xmlns:tt=”http://www.sap.com/transformation-templates”>
<tt:root name=”RSSFEED”/>
<tt:template>
<rss version=”2.0″>
<tt:loop name=”RSSFEED” ref=”.RSSFEED”>
<channel>
<title><tt:value ref=”$RSSFEED.TITLE_CH”/></title>
<link><tt:value ref=”$RSSFEED.LINK_CH”/></link>
<description><tt:value ref=”$RSSFEED.DESCR_CH”/></description>
<image>
<title><tt:value ref=”$RSSFEED.TITLE_IT”/></title>
<url><tt:value ref=”$RSSFEED.ENCLOSURE”/></url>
</image>
<item>
<title><tt:value ref=”$RSSFEED.TITLE_IT”/></title>
<link><tt:value ref=”$RSSFEED.LINK_IT”/></link>
<description><tt:value ref=”$RSSFEED.DESCR_IT”/></description>
<pubDate><tt:value ref=”$RSSFEED.PUBDATE”/></pubDate>
<image>
<title><tt:value ref=”$RSSFEED.TITLE_IT”/></title>
<url><tt:value ref=”$RSSFEED.ENCLOSURE”/></url>
</image>
<enclosure>
<tt:attribute name=”type” value-ref=”$RSSFEED.ENCLOSURE_TYPE”/>
<tt:attribute name=”url”  value-ref=”$RSSFEED.ENCLOSURE”/>
</enclosure>
</item>
</channel>
</tt:loop>
</rss>
</tt:template>
</tt:transform>

Step-4: The below is XML generated with data.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply