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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Import & Exporting Product Categories

(0) ShareShare
ReportReport
Posted on by

Hello all, can someone please give an Idea on how to do this:

I have created a code which I am able to import the product numbers which will be the basis of what I will retrieve from the database, For each item that I have imported, it is possibly under one to two categories. My job has no issue in importing, but it has an issue exporting because the data is being cut off due to using the ff code:

type = cells.item(row+1, 1).value().variantType();
}
while (type != COMVariantType::VT_EMPTY);

Example:
Total of 3400 Product records

For each of these 3400 Product records, it is possible that it is under 1-2 categories, which makes the product categories total when you export to:

Total of 4500 Product categories

What happens is it cuts off on 3400 when i export the excel file, because of the code above.

Is there any way/other type of code to use when doing exporting?

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    304,553 Super User 2026 Season 1 on at

    Hi Charos,

    You only pasted a small piece of your coding. However, you can also consider using the Data Import Export Framework which is standard for AX 2012 R2 with CU7 and above. This has a standard option to export to and import from Excel.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 657

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 615 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans