共享点管理的元数据 [英] Sharepoint manged metadata

查看:58
本文介绍了共享点管理的元数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi, i have a question is possible add the name of the contacts (users) in a metadata using a new term.

我需要的是我的名称"字段下方会显示自动填充信息,因此用户可以更快地找到您的名字.

What i need is that in my  "name" field the autocomplete is coming below and so the user can find your name more faster.

预先感谢和问候

推荐答案

嗨Mauricio Yescas,

在SharePoint 2013服务器中,OOB人员和组控件具有自动完成功能.默认情况下,People and Picker控件的"AutoFillMinTextLength"值 是"3".这意味着用户至少需要在人员和群组"字段中写入3个字符才能完成自动填充功能.

In SharePoint 2013 server, the OOB People and Group control has autocomplete function. By default, the "AutoFillMinTextLength" value of the People and Picker control is "3". That means, users need to at least write 3 characters for autocomplete function in People and Group field.

如果您要更改所有人员的自动填充最小文本长度在SharePoint网站的选择器中,您可以更改"AutoFillMinTextLength"在clientpeoplepicker.js中 位于C:\ Program Files \ Common Files \ microsoft共享\ Web服务器扩展\ 15 \ TEMPLATE \ LAYOUTS.例如,将"AutoFillMinTextLength"更改为从"3"到"1".请注意,编辑脚本将影响所有站点中的所有人员选择器".

If you want to change the auto fill min text length for all the People Picker in the SharePoint sites, you can change the "AutoFillMinTextLength" in clientpeoplepicker.js located in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS. For example, change "AutoFillMinTextLength" from "3" to "1". Note, editing the script will affect all the People Picker in all sites.

如果这些联系人存储在列表中,例如联系人列表,您可以使用SPServices库的SPAutocomplete将列表中的数据获取到文本列中,然后 将该列呈现为自动完成列.

If these contacts are stored in a list, such as a contact list, you can use SPAutocomplete of SPServices library to get data from this list into a text column and render the column as an autocomplete column.

<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.1a/jquery.SPServices-0.7.1a.min.js"></script>

<script type="text/javascript">


(document).ready(function(){
(document).ready(function () {


().SPServices. SPAutocomplete({ sourceList:<源列表", sourceColumn:<源列表中的列>", columnName:<当前列表中的列"> ;, ignoreCase:是的, numChars:1 slideDownSpeed:快速" }); }); </script>
().SPServices.SPAutocomplete({ sourceList: "<source list>", sourceColumn: "<column in the source list>", columnName: "<column in the current list>", ignoreCase: true, numChars: 1, slideDownSpeed: 'fast' }); }); </script>



这是一个演示:

此演示适用于SharePoint 2010,但它也可用于SharePoint 2013.

最好的问候,

Linda Zhang


这篇关于共享点管理的元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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