我正在从SharePoint中拉一份员工列表到Web部件。我做了以下事情:

  1. 将雇用日期用户配置文件属性映射到CreateTimestamp Ad属性
  2. 在搜索服务应用程序中创建了一个托管属性并将其映射到人员:SPS-Hiedate(日期和时间)爬上属性
  3. 使用PowerShell将FullTextque _雇用日期设置为true
  4. 运行完整的档案同步和完整的爬网 然后在我的Web部分中,我使用了FullTextSQlQuery,其中包含以下查询文本:
    SELECT PreferredName, Department, WorkEmail, HireDate FROM SCOPE() WHERE \"scope\" = 'People'
    
    .

    proferentName,部门和工作用品所有返回数据,但聘用没有。为什么我没有获得聘用的任何数据?

    更新:AD中的CreateTimestamp属性中有数据,该属性应该导入雇用日期。出于某种原因,即使我标记为所需,雇用日期属性也不用于任何用户配置文件。我尝试通过PowerShell查询用户配置文件,返回其他属性的值,但未聘用。出于某种原因,它似乎不会在用户配置文件同步中导入SharePoint。

有帮助吗?

解决方案

It turns out that createTimeStamp was not syncing any information to SharePoint. I switched to using the whenHired attribute instead. That worked perfectly.

The problem may have been due to using Windows 2008 for the SharePoint server and Windows 2003 for the AD server.

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