HTML标签附加在文档中,同时更新Sharepoint文档库中的多行文本 [英] HTML tags appending in document while updating multiple line of text in sharepoint document library

查看:112
本文介绍了HTML标签附加在文档中,同时更新Sharepoint文档库中的多行文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI

我已经修改了SharePoint库的默认模板,方法是添加快速部分并将其与文档库的多行文本进行映射.

因此,如果我们上载文档,则值将在相应的列中更新,并且如果我们使用快速编辑"来编辑该列,则它也会在文档中被修改.

这可以正常工作,但是唯一的问题是我有多行带有Rick文本的文本,因此当我执行快速编辑"时,我的HTML标签会追加并添加要点.

我们有需要的要点.

解决方案

你好,

是因为这样才需要确切的要点.您是否可以使用例如星号或破折号用于列表项:

* item1
* item2
...

在这种情况下,您可以设置 SPFieldMultiLineText.RichText 属性将您的多行字段设置为false并在此处禁用html格式.


HI

I have modified default template of SharePoint Library by adding quick parts and mapping it with document library multiple line of text.

So that if we upload document then value will be updated in respective columns and if we edit the column using "Quick edit", it will be modified in document also.

This is working fine but the only problem is I have multiple line of text with Rick text so my HTML tags are appending when i do "Quick edit " and add bullet points.

we have requirement that we need bullet points.

解决方案

hello,

is it so that exactly bullet points are required. Is it possible in your case to use e.g. asterisk or dash for list items:

* item1
* item2
...

In this case you may set SPFieldMultiLineText.RichText property of your multiline field to false and disable html formatting there.


这篇关于HTML标签附加在文档中,同时更新Sharepoint文档库中的多行文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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