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

Notifications

Announcements

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:
I have the same question (0)
  • Suggested answer
    Claus Macali.dk Profile Picture
    1,045 on at
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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/]

  • Tom Taffin Profile Picture
    10 on at

    Hi Frederik,

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

    Thx!

    Tom

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

News and Announcements

Season of Giving Solutions is Here!

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 > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans