我的客户讨厌SharePoint中的分类作品选择器控件,单个级别录取有意义,相当于下拉列表。

理想情况下,我想使用OOB功能,如果我代码自定义newforms和编辑器,客户端仍然希望能够添加/删除列并具有渲染所有字段。我一直在考虑创建一个绑定到术语的自定义字段,但我不确定,如果搜索将能够在搜索结果中完善它。

也一直在查看listFieldITERITER类,然后根据字段类型呈现,但这取决于我创建自定义字段。还有其他方法是否有SharePoint呈现下拉列表RO中的字段实例是我唯一的路由自定义?

有帮助吗?

解决方案

You could do this with script that is applied selectively based on column name or some other defining characteristic.

The trick would be to hide the existing picker (I agree that it feels clunky, though it works OK with the hierarchical data), pull the terms from the store and display them in a select. On selection from the dropdown, you'd populate the picker and validate.

The benefit of this approach is that it is easily reversed and it doesn't change any of the underlying behavior. Oh, and nothing need be deployed server side, so it's great for Office365, too!

许可以下: CC-BY-SA归因
scroll top