SharePoint搜索排序动态排序 [英] SharePoint Search Sorting dynamic ordering

查看:89
本文介绍了SharePoint搜索排序动态排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过用户名来推广itens,就像这篇文章(h ), 但是使用变量(用户个人资料的当前用户).

I want promote the itens by user name, like this post (http://www.techmikael.com/2014/06/s15e07-query-rules-get-things-in-order.html), but using a variable (current user of user profile). 

在排序中,我选择排名(默认模型).之后,我点击添加动态排序规则.因此,我选择结果包含,在下一个选项中,我输入了{User.Name}.最后,我选择晋升为最高职位.但搜寻并不会促进

In sorting, I choose rank, default model. After, I click on add dynamic ordering rule. So, I select result contains, in the next option, I put {User.Name}. Finally, I select promote to top. But the search doesnt promove the itens. 

推荐答案

伊夫顿,

根据我的测试和搜索,在动态排序规则中使用{User.Name}时,查询构建器的动态排序规则没有调用User Profile Application Web服务来获取User.Name的值

Per my test and search, when using {User.Name} in a dynamic ordering rule, there is no call from the dynamic ordering rule of query builder to User Profile Application web service to get value of User.Name. 

因此,在动态排序规则中使用{User.Name}时,此方法无效.

So, when using using {User.Name} in a dynamic ordering rule, it doesn't work.

要使其正常工作,您需要使用用户属性的实际值.

To make it work, you need to use actual value of user properties.

谢谢

温迪


这篇关于SharePoint搜索排序动态排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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