cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FlorenceD
Frequent Visitor

import multiple email addresses from a single excel field into a single field in Sharepoint list

Hi,

I need to export data from an excel file into a sharepoint list.

Everything is ok , except for multiple email addresses recorded in a single field in excel.

 

email addresses list is recorded as follow in excel 

emails.png

The field in Sharepoint is in a list, allows multiple persons or group.

 

Thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@FlorenceD 

Please follow the below sample, Say the first compose operation below is the input from your excel sheet

Mira_Ghaly_0-1643620440799.png

 

1. You need to split by ; by using the below expression

Mira_Ghaly_1-1643620502035.png

 

split(outputs('Compose'),';')

2. Initialize an array to hold your Multiperson data

Mira_Ghaly_2-1643620579991.png

3. Loop on the outputs from compose 2 in apply to each and compose the claims record as below in JSON and then append to the array variable as below:

Mira_Ghaly_3-1643620664833.png

4. Then you can pass the array variable to the create item as below:

Mira_Ghaly_4-1643620775295.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

@FlorenceDu 

If this helped you solve your problem can you please mark it as accepted solution Thanks

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

3 REPLIES 3
Mira_Ghaly
Dual Super User II
Dual Super User II

@FlorenceD 

Please follow the below sample, Say the first compose operation below is the input from your excel sheet

Mira_Ghaly_0-1643620440799.png

 

1. You need to split by ; by using the below expression

Mira_Ghaly_1-1643620502035.png

 

split(outputs('Compose'),';')

2. Initialize an array to hold your Multiperson data

Mira_Ghaly_2-1643620579991.png

3. Loop on the outputs from compose 2 in apply to each and compose the claims record as below in JSON and then append to the array variable as below:

Mira_Ghaly_3-1643620664833.png

4. Then you can pass the array variable to the create item as below:

Mira_Ghaly_4-1643620775295.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
FlorenceDu
Regular Visitor

Hi @Mira_Ghaly 

Thanks for your answer. It is perfect

@FlorenceDu 

If this helped you solve your problem can you please mark it as accepted solution Thanks

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,223)