cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RomanKorchak
Helper IV
Helper IV

Using SP List data in Apply to each - replace function

Hi all

I creating an html document in a flow and need to add data from Sharepoint list. So I am getting SP list items and doing Apply to each whe I want to replace temp string variable 'val1' with particular sp list item value, Dynamic value doesnt give list of all item values in replace() formula  as it does in setting variable , and I do not want to create variable for each SP item value. I have tried  "replace(variables('html_tmp'),'{val1}',body('GetTotals')?['value']?['val1FromSPlist']) but it gives me an error.

Is there any other way to do it?

Thanks

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

Hi @RomanKorchak ,

 

Could you provide a screenshot of the Flow configuration?

Would you please illustrate your needs with a screenshot of the Flow configuration?

Please provide more details and we would provide proper workaround for you.

 

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.

CRM_Report00.JPGCRM_Report1.JPG

So in Replace Budget I want to use a value of particular SP list column of current item without using variables (got like 30 columns). Code on the picture doesnt work.  

Hi @RomanKorchak ,

 

Please configure such expression in Expression and remove @.

11.PNG

 

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.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (91,720)