Answered by:
Hyperlink in Email in MSCRM 4.0

Question
-
Hi,
I want to send url of specific lead in Email activtiy. I am creating a workflow when a lead is created a email activity will be created with the url of the lead. To get the url of the lead is used below
'http://yourcrm:5555/yourorg/sfa/leads/edit.aspx?id=' + crmForm.ObjectId;
Another one i want to send email when a custom entity record is created. But how to build the url for custom entityTuesday, September 20, 2011 10:34 AM
Answers
-
Hi,
You can use the solution mentioned in the following post: http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links/
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".- Proposed as answer by Jehanzeb.Javeed Tuesday, September 20, 2011 11:00 AM
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:44 PM
Tuesday, September 20, 2011 11:00 AM -
You can download the CRM 2011 Workflow utilities that allow you to insert hyperlinks in emails from the workflow designer:
http://crm2011workflowutils.codeplex.com/
It is written for CRM 2011 but you can download the source code and compile it for CRM 4.
Gonzalo | gonzaloruizcrm.blogspot.com
- Proposed as answer by Gonzalo Ruiz RModerator Tuesday, September 20, 2011 12:53 PM
- Edited by Gonzalo Ruiz RModerator Tuesday, September 20, 2011 12:54 PM
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:44 PM
Tuesday, September 20, 2011 12:53 PMModerator -
If you don't care about storing the url for the custom entity, open an existing custom entity form, press F11 to get full screen, copy the link from the address bar and just change the guid to the object id in the code.
If the problem is in the workflow designer related, and this is an on-premise CRM 4, then download Business Productivity Workflow Tool.
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:43 PM
Tuesday, September 20, 2011 8:11 PM
All replies
-
Hi,
You can use the solution mentioned in the following post: http://www.dynamicscrmtrickbag.com/2009/09/13/email-record-links/
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".- Proposed as answer by Jehanzeb.Javeed Tuesday, September 20, 2011 11:00 AM
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:44 PM
Tuesday, September 20, 2011 11:00 AM -
You can download the CRM 2011 Workflow utilities that allow you to insert hyperlinks in emails from the workflow designer:
http://crm2011workflowutils.codeplex.com/
It is written for CRM 2011 but you can download the source code and compile it for CRM 4.
Gonzalo | gonzaloruizcrm.blogspot.com
- Proposed as answer by Gonzalo Ruiz RModerator Tuesday, September 20, 2011 12:53 PM
- Edited by Gonzalo Ruiz RModerator Tuesday, September 20, 2011 12:54 PM
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:44 PM
Tuesday, September 20, 2011 12:53 PMModerator -
If you don't care about storing the url for the custom entity, open an existing custom entity form, press F11 to get full screen, copy the link from the address bar and just change the guid to the object id in the code.
If the problem is in the workflow designer related, and this is an on-premise CRM 4, then download Business Productivity Workflow Tool.
- Marked as answer by Donna EdwardsMVP Friday, September 23, 2011 5:43 PM
Tuesday, September 20, 2011 8:11 PM