Quantcast
Channel: Active questions tagged feeditem - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 160

How to Open LinkPost URL in SubTab Console?

$
0
0

I am able to create LinkPost feed item in case console:

//Adding a Link postFeedItem post = new FeedItem();post.ParentId = cId; //case idpost.Body = 'Enter post text here';post.LinkUrl = '/'+ customObj.Id; //custom object record that attached to linkpostinsert post;

But when I click the url, it will open new browser tab.
Is it possible to open linkpost content in console subtab?

Update
I cannot fill javascript function in linkpost link url,

javascript:srcUp('/'+ customObj.Id +'?isdtp=vw');

it shows error:

The link URL must start with http://, https:// or ftp://.

Is there any workaround to open linkpost content in console subtab?


Viewing all articles
Browse latest Browse all 160

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>