Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

accessing CRM report through c# Console and attaching that to an email activity in c#

Posted on by 161

Hi Team,

I have a requirement that I need to access Online CRM report through C# console application.

and need to attach the result as an attachment to an email through c#.

 

list of things to be confirmed.

1. can we access Online CRM report through c# console?

2.if yes then I need not to save the report to any location just i need to get the result in bytes and need to attach that to an email activity through console.

please provide me some links and information.

Thanks in Advance,

Nagaraju Matta.

 

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: accessing CRM report through c# Console and attaching that to an email activity in c#

    Hi,

    you cant do it with plugin or workflow with CRM online.

    Refer below post for more information.

    community.dynamics.com/.../113406

  • Nagaraj M Profile Picture
    Nagaraj M 161 on at
    RE: accessing CRM report through c# Console and attaching that to an email activity in c#

    Thanks Goutam,

    The link you provided is useful to download rdl file not Report result.

  • Nagaraj M Profile Picture
    Nagaraj M 161 on at
    RE: accessing CRM report through c# Console and attaching that to an email activity in c#

    Thanks Ridhima

    But i am specifically looking for feasibility of accessing CRM Online Report through c# console , not on premise.

    if you ever worked on this scenario or if you think it can be done please suggest something

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: accessing CRM report through c# Console and attaching that to an email activity in c#

    Hi Nagaraj,

    I am not sure in C# you can achieve this or not  but you can try with this.

    msdn.microsoft.com/.../gg328306.aspx

    Hope this helps.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: accessing CRM report through c# Console and attaching that to an email activity in c#

    Hi Nagaraj,

    Please read the article hope it will help you

    www.codeproject.com/.../Call-SSRS-Reports-by-using-Csharp

    Thank You

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans