我创建了一个列表,一个自定义内容类型以及在沙箱解决方案中定义的一些网站列. 默认的标题列与内容类型的含义不太吻合. 因此,我已经使用PowerShell设置了列的属性,以便同时具有菜单和指向显示表单的可点击链接.
Hi, I've created a list, a custom content type and some site columns defined in a sandbox solution. The default title column dont fit very well with the content type meaning. So I've set the properties of a column with PowerShell in order to have both a menu and a clickable link to the display form.
$field.LinkToItem = $true; $field.LinkToItemAllowed = "Allowed"; $field.ListItemMenu = $true; $field.ListItemMenuAllowed = "Required";问题在于该列的显示文本已编码某些字符,例如单引号或&符. 有人遇到过这种行为吗?是否有一些更新要应用才能解决此问题? 还是我想念什么? 谢谢 西尔万
The problem is that the displayed text of the column has certain characters encoded, like the single quote or the ampersand (&). Has someone encountered such behavior ? Is there some updates to apply in order to fix this issue ? Or perhaps i'm missing something ? Thanks, Sylvain
推荐答案
默认标题列与内容类型的含义不太吻合"是什么意思?
What do you mean about "The default title column dont fit very well with the content type meaning."?
原始显示的文字是什么?
What is the originaldisplayed text?
仅使用以下代码行进行测试,请确保与之相关的问题.
Using only the following line of code to test, make sure the issue related to it.
field.LinkToItem = field.LinkToItem =
true;
我建议您提供有关如何重现此问题的更多详细信息,其他人将可以更轻松地进行研究.
I suggest you provide more details about how to reproduce this issue, others would get easier to research on it.
最好的问候,
丹尼斯
更多推荐
使用linkToItem = True时Listview列呈现问题
发布评论