Pregunta

He creado un nuevo árbol de store, y dentro de mi categoría Columna para mis páginas de Wiki, vinculo la columna a mi navegación de metadatos.Pero ahora, cuando quiero asignar un nuevo valor para mi columna de categoría y seleccionar un nuevo término, no pude acceder al término almacén y la categoría Colum se desactivó de la siguiente manera: - ingrese la descripción de la imagen aquí

¿Cuándo accede al servicio de navegación de Metadata, no pude encontrar el TRAN SALIDO OIEDO? ingrese la descripción de la imagen aquí

¿Puede algún otro consejo lo que podría estar causando este comportamiento de este eje? Gracias

¿Fue útil?

Solución

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();
    }
}
Licenciado bajo: CC-BY-SA con atribución
scroll top