- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get the selected data source id?
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)????
$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
- Labels:
-
Developers
- Tags:
- datasource
- News
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got the value by using like this,
$CMS_VALUE(content.external_link.lt_entity.getDataset().getEntity().getValue("fs_id"))$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got the value by using like this,
$CMS_VALUE(content.external_link.lt_entity.getDataset().getEntity().getValue("fs_id"))$

