SharePoint(列表) - 多行夹具(仅显示第一行)
我有一个包含多行数据的列,我试图仅保持第一行可见并隐藏其余部分,以便我可以在线之间有一个不错的显示列表,而这些列表之间的差距很小。理想情况下,JSON脚本可以自定义列格式。我试图仅保留一定数量的字符,可见,但问题再次是,当您打开记录时,该多行字段中的信息未显示,而只显示我们只有我们限制的字符数量。
我正在考虑将第一行的值放在不同的列(单行文本)中,然后将其余的在另一列中,我可以隐藏。但是,当我隐藏该列时,我将无法使用电源自动化流程,因为它检测到它无法使用(...)如果我可以解决该功能,那么我的问题就解决了。
感谢大家的INPU
I have a column that contains multiline data and I am trying to keep only the first line visible and hide the rest so I can have a nice displayed list with minimum gap between the lines. Ideally a JSON script to customize the column formatting. I tried to keep only a certain number of characters visible, works but then again the problem is that when you open the record, the information in that multiline field is not showing but only the number of characters we limited to be displayed in the first place.
I was thinking about putting the value of the first line in a different column (single line text) and have the rest in a different column, that i can just hide. but when i hide that column, i am not able to use my power automate flow as it detects that it is not available (...) if i can get that to work then my problem is resolved.
Appreciate everyone's inpu
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有这样的功能可以隐藏多行的一部分。我们只能在列中显示或隐藏整个项目。 SharePoint将显示前5行,并将其隐藏为默认情况。
There is no such function to hide a part of the multiline. We can only show or hide the whole item in the column. SharePoint will display top 5 lines and hide the others as default.
详细说明:Power Automate不必与用户在SharePoint浏览器接口中看到的观点一起工作。您可以在SharePoint中创建一个新视图,并仅包括工作流程所需的列。给视图一个不错的描述性名称。
然后,在电源自动化中,您可以使用get items命令,并在高级选项下使用>通过视图限制列指定要返回列表项的视图。在屏幕截图中,我正在使用我称为
wfview
的视图。这将返回该视图的列,以及一些SharePoint默认绒毛。Elaborating on the comment: Power Automate does not have to work with the view that the user sees in the SharePoint browser interface. You can create a new view in SharePoint and include only the columns you need for the workflow. Give the view a nice, descriptive name.
Then, in Power Automate you can use the Get Items command and under Advanced options > Limit Columns by View specify which view you want to use to return the list items. In the screenshot, I'm using a view I called
wfView
. This will return the columns of that view, plus some of the SharePoint default fluff.