Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Save a File to Email via Extension Deployment

Posted on by 372

Hello,

How can I go about creating a file to then send as an attachement via extension deployment? Any function/codeunit I try to use like File.Create or codeunit 419 it says the type or method can not be used for Extension Deployment.

I want to be able to email an report.

  • ChazKimRP Profile Picture
    ChazKimRP 372 on at
    RE: Save a File to Email via Extension Deployment

    Hello,

    Thank you for the generic answer but I can't ask questions on either of those links. It wont let me.

    -Chaz

  • Suggested answer
    THE Italian Profile Picture
    THE Italian on at
    RE: Save a File to Email via Extension Deployment

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

  • ChazKimRP Profile Picture
    ChazKimRP 372 on at
    RE: Save a File to Email via Extension Deployment

    That calls preset code. Trying to mimic that I get the not allowed extension deployment

  • Suggested answer
    THE Italian Profile Picture
    THE Italian on at
    RE: Save a File to Email via Extension Deployment

    You could investigate what Post & Send functionality does and create your own IP from there

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans