web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom export of data

(0) ShareShare
ReportReport
Posted on by 35

Hi,

I'm looking for a way to export user selected opportunities into one excel file in specific format.

I've tried workflows but it seems to take each selected opportunity alone, so I'm not able to produce one output file including all of them.

I've been thinking about custom Javascript triggered by command bar button. But I'm not sure how would it access selected opportunities.

Another problem is generating excel/csv file. Maybe a email with attachment?

Thanks!

*This post is locked for comments

I have the same question (0)
  • pkoziel Profile Picture
    35 on at
    RE: Custom export of data

    Hi Ben,

    I think we misunderstood.

    this is the way I'd like to select opportunities I want. Then i want to process them as one (most likely in code since i need to retrieve other fields from relationships). Workflows can only process this selection one-by-one so I can't access all of them at the same time and therefore I can't return single output file with all of selected opportunities.

    Thanks. 

  • Suggested answer
    Hosk Profile Picture
    on at
    RE: Custom export of data

    The best way would be to create a custom view. You can specify the entity and the fields

    e.g. opportunity and the opportunity fields you want

    You can also specify the filter (filter for a certain user).

    You can then export this data into Excel.

    If you did a system view everyone would be able to see and you could use owner = current user.  

    An alternative to this would be to create a report

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans