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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Import of .CSV file using Xmlport for Multiple Tables

(0) ShareShare
ReportReport
Posted on by

Hi,

Can anyone explain how to import a .csv file using Xmlport for multiple table?

Thank you in advance.

*This post is locked for comments

I have the same question (0)
  • Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi,

    Please check this thread: community.dynamics.com/.../156120

  • Rajasekhar@MS Profile Picture
    5,569 on at
  • Alexander Ermakov Profile Picture
    28,096 on at

    You would anyway need to import the data consequently in one table, than into another. Please refer to the links other members had provided.

  • Lester DSouza Profile Picture
    on at

    Hi,

    So is there no way that i can use xmlport for importing a .csv file into multiple tables ? (were i haven't to put the data into a single table).

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi

    You need to write a program on OnAfterInsertRecord Trigger of XMLPORT and you need to ensure your csv file contain the required data for all tables which you want to import

  • Lester DSouza Profile Picture
    on at

    Hi Amol,

    I wanted to know whether the following xmlport as shown in the screenshot below is the right way or not of importing a .csv file for multiple tables? 

    2248.Untitled.png

  • Verified answer
    mmv Profile Picture
    11,471 on at

    Hi,

    This will not work.  The above is for a structured data file, e.g. XML.  For the CSV, you may need Integer table and handle the import via code.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi

    For reference you can check XMLPORT No 1 Consolidation Import/Export

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans