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 :
Finance | Project Operations, Human Resources, ...
Answered

Import JSON file with arrays using ER configuration

(0) ShareShare
ReportReport
Posted on by 7
Hi Friends,
 
 
We have a requirement to import a JSON file with data array into dynamics 365 using ER configuration.
Sample file is as below:
[
    {
       /Id/: /As235dd/, 
    /Invoice/: {
        /InvNumber/: /b22c1930bbcf226949ec3d5f2dd38f6e9640f0614fae44c2094fed11f314ff56/
        }
   }
]
 
We could able to import the file without array brackets in the file as shown below:

    {
       /Id/: /As235dd/, 
    /Invoice/: {
        /InvNumber/: /b22c1930bbcf226949ec3d5f2dd38f6e9640f0614fae44c2094fed11f314ff56/
        }
   }
 
 
I have tried adding DataArray object in the format of the ER configuration, but I get error as
Input file in Json format can not be deserialised.
 
 
Need help on this.
Thank you
I have the same question (0)
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    You can check out this old thread, who asked questions who has a problem with JSON (de-)serialization: Serialize X++ objects to JSON (dynamics.com).
    Best regards,
    Kevin
  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,684 Super User 2025 Season 2 on at
    Hi Naga,
    Have you tried to use Replace function or translate function to remove brackets?
  • Suggested answer
    Community member Profile Picture
    7 on at
    I will try to replace [] in response through code, but we could not able to handle through ER config.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans