本文介绍了如何在选择字段/文本框中绑定/显示术语集元数据以实现级联下拉功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将ContentType Hub用于我的sharepoin ECM门户.

I am using contenttype hub for my sharepoin ECM portal.

我想维护级联值之类的数据...在这里,我无法使用查找字段..相反,我正在使用术语集(管理元数据)....但是我的用户希望将其作为级联下拉外观和感觉...他们不想管理元数据的层叠外观和 感觉...有什么方法可以显示管理元数据,例如级联下拉列表.

I wants to maintain data like cascading values... here I can't able to use lookup field.. instead of that I am using termset (manage metadata).... but my user wants as a cascading dropdown look and feel... they don't want manage metadata cascading look and feel... is there any way to display manage metadata like cascading dropdown..

PS:我听说我们可以使用csr/pnp脚本来实现

PS: I hear we can achive using csr/pnp script 

能帮我...吗,请分享参考网址

can you please help me .... and please share the reference url

推荐答案

基于您的信息,您不想使用查找字段.解决方法是,我们可以创建一个选择字段,然后使用JSOM获取并将值设置为选择字段.以下文章供您参考:

Base on your post, you don't want to use lookup field. As a workaround, we can create a choice field, and use JSOM to get and set the value to the choice field. The following articles for your reference:

使用JSOM访问分类术语库

https://cann0nf0dder.wordpress.com/2013/04/09/access-taxonomy-term-store-with-jsom/

SharePoint JS CSOM代码以添加/更新选择字段的选择

http ://www.spdeveloper.co.in/sharepoint2013/js-csom-code-to-add-or-update-choices-for-a-choice-field.aspx

如何在Sharepoint 2013中使用JSOM(Javascript)将任何SP.Field值设置为新SP.Listitem

How to set any SP.Field Value with JSOM (Javascript) in Sharepoint 2013 to New SP.Listitem

http://pointofint.blogspot.sg /2014/03/how-to-set-any-spfield-value-with-jsom.html

最好的问候,

Dennis

Dennis


这篇关于如何在选择字段/文本框中绑定/显示术语集元数据以实现级联下拉功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 03:24