Append = On的多行文本字段不会以自定义显示形式显示数据 [英] Multiline Text Field with Append=On Does NOT Display Data in Custom Display Form
问题描述
你好,
谢谢您阅读!
我试图在SharePoint Online列表的自定义窗体上的多行文本字段(Type =多行文本)中显示多个条目(甚至最新条目).
默认窗体不会显示多行按预期的方式.在SPD 2013(SharePoint Designer 2013)中创建的新项目表单"不显示任何这些行.结果与经典"或新体验"相同.
我发现了一些针对SharePoint早期版本的帖子,它们似乎无法正常工作/不适用于SharePoint Online.
任何有关该主题的特定操作/步骤或对现有在线资源的引用,将不胜感激!
问候!
Rob
Hello,
Thank you for reading!
I am trying to display the multiple entries (or even most recent entry) in a multiline text field (Type=Multiple lines of text) on a custom form for a SharePoint Online list.
The default form does display the multiple lines as expected. A 'New item form' created in SPD 2013 (SharePoint Designer 2013) does not display any of these lines. The result is the same in 'Classic' or 'New Experience'.
I have found a couple of posts for previous versions of SharePoint and they do not seem to work/apply to SharePoint Online.
Any specific actions/steps or references to existing online resources on the topic would be much appreciated!
Regards!
Rob
推荐答案
嗨Rob ,
以自定义显示/编辑形式显示附加消息,其工作方式类似于默认显示/编辑形式,我们需要使用SharePoint Designer更改以下代码.
1.使用SharePoint Designer打开SharePoint在线站点并打开列表.
2.在高级模式下编辑自定义显示表单.
2. Edit the custom display form in advanced mode.
找到以下代码:
<xsl:value-of select="@<multiple text column name>" disable-output-escaping="yes"/>
将其更改为:
<SharePoint:AppendOnlyHistory runat="server" FieldName="<multiple text column name>" ControlMode="Display" ItemId="{@ID}"/>
3.在高级模式下编辑自定义编辑表单.
找到以下代码:
<SharePoint:FieldDescription runat="server" id="ff3description{
Pos}" FieldName =<多文本列名称>" ControlMode =编辑"/>
Pos}" FieldName="<multiple text column name>" ControlMode="Edit"/>
将其更改为:
<SharePoint:AppendOnlyHistory runat="server" FieldName="<multiple text column name>" ControlMode="Edit" ItemId="{@ID}"/>
4.保存更改.之后,附加的消息将显示在自定义显示/编辑表单中.它可以在SharePoint Online中运行.
最好的问候,
Linda(张)
这篇关于Append = On的多行文本字段不会以自定义显示形式显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!