Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
GeneralNewbie problem Pin
josip cagalj29-Feb-08 2:52
josip cagalj29-Feb-08 2:52 
GeneralRe: Newbie problem Pin
Xmen Real 29-Feb-08 2:59
professional Xmen Real 29-Feb-08 2:59 
GeneralRe: Newbie problem Pin
blakey40429-Feb-08 4:06
blakey40429-Feb-08 4:06 
GeneralRe: Newbie problem [modified] Pin
josip cagalj2-Mar-08 21:50
josip cagalj2-Mar-08 21:50 
Generalbug Pin
amit_8329-Feb-08 2:48
amit_8329-Feb-08 2:48 
GeneralRe: bug Pin
phannon8629-Feb-08 2:52
professionalphannon8629-Feb-08 2:52 
GeneralRepost Pin
Gareth H29-Feb-08 2:53
Gareth H29-Feb-08 2:53 
QuestionProblem in instantiating the email template using C# in CRM3.0 Pin
vivek_5in29-Feb-08 2:12
vivek_5in29-Feb-08 2:12 
D'Oh! | :doh: Hi,
iam trying to send email to CRM contact in C# using CRM template.
My Code :
InstantiateTemplateRequest instTemplate = new InstantiateTemplateRequest();

instTemplate.TemplateId = new Guid(TemplateId);


instTemplate.ReturnDynamicEntities = true;

instTemplate.ObjectId = new Guid("F54B6128-B9DF-DC11-9EA9-0018F80B1359");// Contact's GUID
instTemplate.Subject = "hello";
instTemplate.ObjectType = EntityName.contact.ToString();
Here iam using InstantiateTemplateRequest . i wanetd to know what i need to mention for objectid and object Type. This email template i have created is for contact. I tried by giving object type as contact and objectid as Guid of recipient id. also tried with system user id..
iam getting error on
InstantiateTemplateResponse instTemplateResponse = (InstantiateTemplateResponse)Ca.ExecuteRequest(instTemplate);
as "Service unable to process request"
Please can anyone tell me what i need to specify for object id and object type.
Please reply ASAP.
Generalbug Pin
amit_8329-Feb-08 2:01
amit_8329-Feb-08 2:01 
GeneralRe: bug Pin
Not Active29-Feb-08 2:11
mentorNot Active29-Feb-08 2:11 
GeneralRe: bug Pin
Colin Angus Mackay29-Feb-08 2:59
Colin Angus Mackay29-Feb-08 2:59 
GeneralRun Pin
simworld29-Feb-08 2:00
simworld29-Feb-08 2:00 
GeneralRe: Run Pin
Not Active29-Feb-08 2:12
mentorNot Active29-Feb-08 2:12 
GeneralRe: Run Pin
Colin Angus Mackay29-Feb-08 2:57
Colin Angus Mackay29-Feb-08 2:57 
GeneralRe: Run Pin
Malcolm Smart29-Feb-08 3:22
Malcolm Smart29-Feb-08 3:22 
Question[Message Deleted] Pin
Arun_mw29-Feb-08 1:48
Arun_mw29-Feb-08 1:48 
GeneralWrong forum Pin
Pete O'Hanlon29-Feb-08 2:13
mvePete O'Hanlon29-Feb-08 2:13 
GeneralDateTime saving problem from C# application.. Pin
shaz jazz29-Feb-08 1:29
shaz jazz29-Feb-08 1:29 
GeneralRe: DateTime saving problem from C# application.. Pin
Giorgi Dalakishvili29-Feb-08 1:42
mentorGiorgi Dalakishvili29-Feb-08 1:42 
GeneralRe: DateTime saving problem from C# application.. Pin
PIEBALDconsult29-Feb-08 4:42
mvePIEBALDconsult29-Feb-08 4:42 
GeneralAbout mouse movement Pin
Aravinthan29-Feb-08 1:27
Aravinthan29-Feb-08 1:27 
GeneralRe: About mouse movement Pin
Saksida Bojan29-Feb-08 1:44
Saksida Bojan29-Feb-08 1:44 
GeneralRe: About mouse movement Pin
Aravinthan29-Feb-08 2:04
Aravinthan29-Feb-08 2:04 
GeneralRe: About mouse movement Pin
Saksida Bojan29-Feb-08 2:41
Saksida Bojan29-Feb-08 2:41 
GeneralRe: About mouse movement Pin
Aravinthan29-Feb-08 3:02
Aravinthan29-Feb-08 3:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.