Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Import Configuration Package on Install

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I've created an app which needs some default setup data.
After installation I can manually import a configuration package but what I would like is to automatically import the configuration package on installation if the setup table is still empty.

I created a Codeunit of the subtype 'install' and added trigger OnInstallAppPerCompany() and I also added the rapidstart file in a subfolder in the app but I don't know how to handle the import from here.

I could not find an example on how to do this in blogs or documentation.

image

Categories:
  • Tom Taffin Profile Picture
    Tom Taffin 10 on at
    RE: Import Configuration Package on Install

    Hi Frederik,

    I was wondering if you managed to get this done and if so, how exactly :-).

    Thx!

    Tom

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Import Configuration Package on Install

    You can also create a wizard on your extension setup page and from here loading a configuration package as described here:

    [View:https://demiliani.com/2018/08/22/dynamics-365-business-central-loading-configuration-packages-from-al/]

  • Suggested answer
    Claus Macali.dk Profile Picture
    Claus Macali.dk 997 on at
    RE: Import Configuration Package on Install

    docs.microsoft.com/.../itpro-introduction-to-automation-apis

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans