cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Select item() on different source than SP get items

Hello, 

 

I am trying to extract all items from an array that I get from a PowerApps request, following some examples I saw where people were doing the same but from a SP list.

PowerApps gives me a string that I split into differents rows, and in those rows I have to split once again to get all fields.

I would like to do a select on those fields to insert them as a row in a SP list.

I can't figure out why I get first fields for all items (see last picture), which multiples unnecessary.

1.PNG2.PNG3.PNG4.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Select item() on different source than SP get items

Hi @JulieTE ,

 

Please try to export this Flow as a .zip file, then re-import as a new Flow, and then configure the relevant connection.

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Select item() on different source than SP get items

Hi @JulieTE ,

 

Do you mean that the value of each element in the array used by Select is the value of the key you configured in Select?

And are they all sorted according to the index of the array?

I did the test on my side. If it is exactly the same as I described, you could use array[index] to configure Create item action directly.

Select action is more friendly and more applicable to data sources of type array objects.

Image reference:

24.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Advocate I
Advocate I

Re: Select item() on different source than SP get items

Yes it is as you described.

It seems to be working fine if I edit a message ( or compose).

However when I add an item to a list I get the following error , it looks like I can not insert a row into a group SP using this method : 

Capture.PNG

Community Support
Community Support

Re: Select item() on different source than SP get items

Hi @JulieTE ,

 

Please try to export this Flow as a .zip file, then re-import as a new Flow, and then configure the relevant connection.

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Advocate I
Advocate I

Re: Select item() on different source than SP get items

I don't understand the logic in that but it works, thanks!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,171)