Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

export/import default data using xml during installation AL, D365BC ??

(0) ShareShare
ReportReport
Posted on by 782

Hi Experts:

 I have one table with the name of "Test"  now i want to insert mean import data into my table when i install the extension through xml how it is possible?

*This post is locked for comments

  • Verified answer
    Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    @Vigneswaran Thamaraiselvan thank you sir for your response my problem solved with the link you shared.

  • Verified answer
    Viki NTS Profile Picture
    250 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    if you published web services then the following link will help you to get urls docs.microsoft.com/.../geturl-function

  • Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    @Stefano Demiliani

    I have developed app for business central so need the soapUrl for setup page i want to install the app on different instance i don't want to use in hard code but because on every instance the url is changing as below. So is there any process to get the soapUrl.

    bcsandboxdev1:7047/.../CRONUS DK A%2S
    bcsandboxdev3:7047/.../CRONUS DK A%2S
    bcsandboxbfdev3:7048/.../Company('CRONUS Dk A%2S')

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: export/import default data using xml during installation AL, D365BC ??

    You don't need the read the url. The URL has always the following format:

    api.businesscentral.dynamics.com/.../ObjectWSName

  • Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    @Stefano Demiliani

    sir the below link is your blog post sir it is very useful and nice post but i need some help from you regarding this post as you told how to publish objects as a web service i published a codeunit on method as you told in the below post now i want to show the soapurl of the publish object how it is possible to get the soap url ?

    community.dynamics.com/.../dynamics-365-business-central-publishing-a-web-service-from-extensions

  • Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    I tried to export table data from nav 2018 on this command ( "Export-NAVAppTableData -ServerInstance 'DynamicsNAV110' -Path' ‘C:\TAB18.navxdata’ -TableId 9000" ).

    this command can only allow me export data from those table which are non-company table,

    is there any way to export table data from company table.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: export/import default data using xml during installation AL, D365BC ??

    Use Export-NAVAppTableData -ServerInstance YOURSERVERINSTANCENAME -Path 'C:\NAVAppTableData' -TableId XXXX where XXXX is the table ID to export.

  • Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    How to export the NavAppTableData from BC i tried a lot of commands but not working

    I tried the command( Export-NAVAppTableData -ServerInstance BC -Path ‘C:\TAB18.navxdata’ -TableId 18)

    error ("Unable to locate the server instance: MicrosoftDynamicsNavServer$BC").

  • Muhammad Arif Maseed Profile Picture
    782 on at
    RE: export/import default data using xml during installation AL, D365BC ??

    i want to export/import default data using xml during installation

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: export/import default data using xml during installation AL, D365BC ??

    Try to explain in details what you want to do...

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans