最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

sharepoint online - In Power Automate Get just email address values from Select - Stack Overflow

programmeradmin0浏览0评论

I'm trying to get a semicolon separated list of email addresses stored in a SharePoint list's text field.

My workflow gets items from SharePoint, uses a 'Select' action to just get the email address field, Compose action to 'chunk' the responses into smaller arrays, & join the values together with a semicolon. However, when I do this, it includes the header ("Email") in each one.

What I've tried

In the Compose

  • chunk(body('Select')['Email'],20)

Error: The template language expression 'chunk(body('Select')['Email'],20)' cannot be evaluated because property 'Email]' cannot be selected. Array elements can only be selected using an integer index.

In the email:

  • join(item()['Email'],';')

Error: The template language expression 'join(item()['Email'],';')' cannot be evaluated because property 'Email' cannot be selected. Array elements can only be selected using an integer index.

  • join(item()[0]['Email'],';')

Error: The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String

I'm trying to get a semicolon separated list of email addresses stored in a SharePoint list's text field.

My workflow gets items from SharePoint, uses a 'Select' action to just get the email address field, Compose action to 'chunk' the responses into smaller arrays, & join the values together with a semicolon. However, when I do this, it includes the header ("Email") in each one.

What I've tried

In the Compose

  • chunk(body('Select')['Email'],20)

Error: The template language expression 'chunk(body('Select')['Email'],20)' cannot be evaluated because property 'Email]' cannot be selected. Array elements can only be selected using an integer index.

In the email:

  • join(item()['Email'],';')

Error: The template language expression 'join(item()['Email'],';')' cannot be evaluated because property 'Email' cannot be selected. Array elements can only be selected using an integer index.

  • join(item()[0]['Email'],';')

Error: The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String

Share Improve this question asked Nov 19, 2024 at 21:14 Doug PunchakDoug Punchak 1801 gold badge3 silver badges14 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I figure it out. I just had to change the "Select" to text mode from "Key Value Mode" and specify the SharePoint field. This removed the column header and just gave me the values.

发布评论

评论列表(0)

  1. 暂无评论