Importing file into flat lists

kunal_311
Frequent Contributor

Importing file into flat lists

I was trying to import data from country CSV to a country flat list.

but since the format of the source file was such that parent needs to be entered while importing or else it is throwing error.

Due to which imported data comes as hierarchy and not as flat list.

Please help with this.

1 ACCEPTED SOLUTION

Accepted Solutions
einas.ibrahim
Master Anaplanner/Community Boss

Re: Importing file into flat lists

Hello @kunal_311 

By definition, a Flat List doesn't have a parent. If you are importing into the list shown in your file LVL 2 FLAT.jpg then you are importing into the wrong list.
Scroll down the list page in your model until you see the separator ----Flat Lists ----, these are the Flat Lists to which you should be importing the data from the csv files.

Later on, you will use a process to build the hierarchy Region > Country > Location

 

image.png

Einas
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"

View solution in original post

4 REPLIES 4
Misbah
Moderator

Re: Importing file into flat lists

@kunal_311 

 

What error are you getting? In order for you to create a flat list you need to ignore mapping for Parent and map Code and Name.

einas.ibrahim
Master Anaplanner/Community Boss

Re: Importing file into flat lists

Hello @kunal_311 

By definition, a Flat List doesn't have a parent. If you are importing into the list shown in your file LVL 2 FLAT.jpg then you are importing into the wrong list.
Scroll down the list page in your model until you see the separator ----Flat Lists ----, these are the Flat Lists to which you should be importing the data from the csv files.

Later on, you will use a process to build the hierarchy Region > Country > Location

 

image.png

Einas
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"

View solution in original post

sguptatalkingrain
Contributor

Re: Importing file into flat lists

I am still getting error

 

sguptatalkingrain_0-1595640284879.png

Can anyone help on this error?

sguptatalkingrain
Contributor

Re: Importing file into flat lists

got the solution. You only need to import the country name in country flat as column1.