将清单的输出以Microsoft表单的形式获取,并使用Power Automate将其变成可以发送到团队频道的项目符号列表

发布于 2025-02-04 22:46:26 字数 635 浏览 3 评论 0原文

如标题所述,我试图从表格中获取清单,并将其转换为项目符号列表。到目前为止,我已经能够将阵列分为多行之后,将清单格式化清单,如下所示。

问题是我想将子弹添加到上述列表中,我不确定如何添加子弹。我尝试使用HTML的标签使用JOIN功能,但是我很快意识到这显然无法正常工作。

”列出一个项目符号列表,

所以我的问题是,我如何将自己的东西转变为项目符号列表?我应该用电源自动化做一个循环吗?还是有更好的方法? (我是Power Automate和HTML的新手

) 。

json(outputs('Get_response_details')?['formExampleID'])

​提供。先感谢您!

As the title states, I am trying to take a checklist from Forms and transform it into a bulleted list. So far, I have been able to format the checklist with line breaks after separating the array into multiple lines, as shown below.

Progress so far

The problem that I am having at the moment is the fact that I would like to add bullets to said list, and I am not sure how. I've tried to use the join function with HTML's tag, but I quickly realized that it's obviously not going to work that way.

Attempt to make a bulleted list with "join"

So my question is, how do I turn what I have now into a bulleted list? Should I make a loop with Power Automate? Or is there a better way to do it? (I'm very new to Power Automate and HTML)

Power Automate Flow

This is the line of code I used to separate the array:

json(outputs('Get_response_details')?['formExampleID'])

If there is anything that I'm missing, I apologize and I would be happy to provide. Thank you in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜`诱少女 2025-02-11 22:46:26

我认为您在正确的道路上。我不熟悉JSON功能,因此,如果可以将其放入数组中,则可以使用此解决方案。

否则,在split()函数上使用get_response_details并将其循环到一个数组中。
然后,对于数组的长度,使用循环,请使用concat('•',first(array [i])),同时将许多空格放在您想要的子弹之后。我在此示例中列出了3个。
然后,您只需为您的输出做另一个循环(或在同一循环中构建)即可。

I think you're on the right track. I'm not familiar with the json function, so if that can be put into an array you can use this solution.

Otherwise, use the split() function on the Get_response_details and loop that into an array.
Then, for the length of the array, using a loop, use concat('• ',first(array[i])) while putting however many spaces after the bullet that you want. I put 3 in this example.
Then you simply do another loop for (or build into the same loop) your output.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文