sivaprasad9394
Occasional Collector

How to get the selected data source id?

Jump to solution

Hello,

I have a news data source and one of the specificnews is linked to the other news data source.

here how to get the value which i have selected(alternate mapped news id)????

NewsDb.png

$CMS_SET(setFsId,lt_entity.getDataset().getEntity().getValue("fs_id"))$

<!-- ltSelectedName.toString1: $CMS_VALUE(content.external_link)$ --

<!-- ltSelectedName.toString4: $CMS_REF(ssNewsDetail, contentId:setFsId, abs:2)$ -->

<!-- ltSelectedName.toString2: $CMS_REF(content.external_link.lt_entity,abs:2)$ -->

giving empty values...lt_entity is FS_Dataset name

Thanks ,

Siva

0 Kudos
1 Solution

Accepted Solutions
sivaprasad9394
Occasional Collector

I got the value by using like this,

$CMS_VALUE(content.external_link.lt_entity.getDataset().getEntity().getValue("fs_id"))$

View solution in original post

0 Kudos
1 Reply
sivaprasad9394
Occasional Collector

I got the value by using like this,

$CMS_VALUE(content.external_link.lt_entity.getDataset().getEntity().getValue("fs_id"))$

0 Kudos