SharePoint搜索排序动态排序 [英] SharePoint Search Sorting dynamic ordering
问题描述
我想通过用户名来推广itens,就像这篇文章(h ), 但是使用变量(用户个人资料的当前用户).
I want promote the itens by user name, like this post (http://www.techmikael.
在排序中,我选择排名(默认模型).之后,我点击添加动态排序规则.因此,我选择结果包含,在下一个选项中,我输入了{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屋!