在列表列中使用附加更改选项时显示视图中的最新更改(而不是单击视图条目) [英] Show latest change in view when using append changes option for list column (instead on clicking view entries)

查看:68
本文介绍了在列表列中使用附加更改选项时显示视图中的最新更改(而不是单击视图条目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表,其中包含多行列,并使用了附加更改选项。当我在视图中显示该列时,我看到了视图条目链接,我需要单击该链接以显示注释。有什么方法可以在默认视图中看到最新评论。 

I have a list which has a multi line column, using append changes options checked. when I show that column in a view I see view entries link and I need to click on that link to show the comments. Is there any way I can see the latest comment in default view. 

提前谢谢。

推荐答案

您好Priya_pp,

Hi Priya_pp,

我建议您创建一个工作流来满足这一需求。

I recommend that you create a workflow to fulfill this need.

1.创建另一个名为latest的列评论。将此设置为启用了Rich Text的多行文本字段。但是将附加更改设置为现有文本为否。

1.Create another column called latest Comments. Make this a multi-line text field with Rich Text enabled. But set the Append Changes to Existing Text to No.

2.创建新工作流程

3.从当前项目字段添加以下条件等于值

3.Add the following condition from If current item field equals value

4.将字段操作数设置为"注释"字段。单击字段并从窗口中选择注释。

4.Set the field operand to your Comments field. Click on field and select Comments from the window.

将equals运算符设置为匹配正则表达式。

Set the equals operator to matches regular expression.

将值操作数设置为"。+" (没有引号)。这是一个正则表达式。句号("。")表示匹配一个字符 - 任何字符。 "+"表示必须至少有一个。因此,这仅在评论字段具有文本
条目时才匹配。

Set the value operand to ".+" (without the quotes). This is a regular expression. The period (".") is saying match a character – any character. The "+" is saying there must be at least one. So, this is only matching when a Comments field has a text entry.

5.在条件下添加一个动作。选择当前项目中的设置字段

5.Add an Action below your Condition. Choose Set field in current item

将字段操作数设置为"最新评论"。单击字段并从窗口中选择"最近的评论"。

Set the field operand to Most Recent Comments. Click on field and select Most Recent Comments from the window.

将值操作数设置为"注释"字段。

Set the value operand to be your Comments field.

6.设置工作流程触发条件,两者都在创建项目时自动启动工作流程检查项目时自动启动工作流程

6.Set Workflow Trigger Condition, both Start workflow automatically when an item is created and Start workflow automatically when an item is changed are checked

7.发布

8.现在只显示最新评论。

8.Now it's only going to show the latest comment.

我希望它可以帮到你。

祝你好运

Itch Sun





这篇关于在列表列中使用附加更改选项时显示视图中的最新更改(而不是单击视图条目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆