Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Create autopost with hyperlink through plugin

$
0
0

Hi,

I have a requirement to create auto post with username hyperlink. I need to do it through plugin not OOB workflow.

I could create a post as below

Entity objPost=new Entity("post");

objPost["text"]="some text";

objPost["regardingobjectid"]=new EntityReference("contact",id);

objPost["source"]=new OptionSetValue(1);

service.Create(objPost);

But in text field I should need to show Loggedin username with hyperlink to user record. When I click on the username it should open the user record.

Is it possible to do the hyperlinks in text field from plugin?

Thanks

Bala


Viewing all articles
Browse latest Browse all 46379

Trending Articles