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 :
Microsoft Dynamics AX (Archived)

Import Arrays with Data Import Export Framework

(0) ShareShare
ReportReport
Posted on by 766

I just tried to Import values into the array workingHours in the employee entity. I'm only able to Import one value into the first part of the array.

can anyone tell me how to provide the value in the csv file so that it is placed correctly into the array?

a working import file looks like

PersonnelNumber;FirstName;LastName;WorkingHours

123;Max;Mustermann;8

what i want to import is something likt

PersonnelNumber;FirstName;LastName;WorkingHours[Monday][Tuesday][Wednesday]...

123;Max;Mustermann;[8][6][4]...

is that possbile?

*This post is locked for comments

I have the same question (0)
  • dolee Profile Picture
    11,279 on at

    Hi Twix,

    Not sure if there's a magic format that would work. I can't find any information on that.

    However, it should probably work if customizing the Employee entity.

    For example, add a string field in the staging table to take "8|6|4|3|7", then write a GenerateWorkingHours function, assign these hours to a HRMWorkingHours variable and returns it.

    This link below talks about writing custom entities. These skills can be applied to customizing standard entities.

    technet.microsoft.com/.../jj933277.aspx

  • ThomasWilke Profile Picture
    766 on at

    Hi Dominic,

    thanks for the reply.

    Custom code is a good option here but I'm still wondering if there is a format that would work in these cases.

    In the file format settings I found the roleSepperator which is used by some standard entities within the generate methods to split strings into a container.

    I guess I'll write some code.

    Kind regards,

    Thomas Wilke

  • Community Member Profile Picture
    on at

    RoleSepperator in file format settings is basically used for Financial dimension.

    what I think in your case you can use this for your data structure in import file.

    May be you can utilize the standard logic which parse the data assign values to the table field using a container

    Please verify and update us with your findings.

  • Verified answer
    ThomasWilke Profile Picture
    766 on at

    Thanks for the reply.

    As written above, a method and new fields on the staging table is working fine for me. I solved the issue in a way that's equal to the code which uses the container.

    But I was expecting Microsoft to provide these methods within the delivered standard entities.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans