문제

새어 상점 트리를 작성했으며 Wiki 페이지의 범주 열 안에 열을 메타 데이터 탐색에 링크합니다.그러나 이제는 카테고리 열의 새 값을 지정하고 새로운 용어를 선택하고, 나는 용어 저장소에 액세스 할 수 없었고 카테고리 Colum은 다음과 같이 비활성화되었습니다. 여기에 이미지 설명

메타 데이터 탐색 서비스에 액세스 할 때 더 이상 오래된 용어 저장소를 찾을 수 없었습니까? 여기에 이미지 설명을 입력하십시오

이 스테인먼트 행동을 일으키는 일은 무엇이 있는지 조언 할 수 있습니까? 감사합니다

도움이 되었습니까?

해결책

The link between your field and the termstore is probably not correctly set.

In order to display the correct values, a termstore field (TaxonomyField) contains the id's of your termstore and termset you want to display. However this ID is different on every server. You need to make sure when using a TaxonomyField the field is configured with the correct id's on that server.

Here is some c# on how to do it. You can find the id's on the bottom of the property page of your termstore manager in SharePoint.

private void LinkMmdField(TaxonomyField field, LinkMmd linkinfo, TaxonomySession session)
{     
    TermStore termStore = session.TermStores[linkinfo.TermStoreName];
    Group group = termStore.Groups[linkinfo.TermGroupName];
    TermSet  termset = group.TermSets[linkinfo.TermSetName];

    if (termset != null)
    {
        field.SspId = termStore.Id;
        field.TermSetId = termset.Id;
        field.Update();
    }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top