Pregunta

Soy un novato en SharePoint y me preguntaba cuál fue la mejor manera de implementar esto:

Estoy creando subsitales debajo de una colección de sitios utilizando un formulario web y JS más la API de reposo.Básicamente, lo que necesito es 'etiquetar' cada uno subsita con una información establecida o metadatos como 'nombre de contacto', 'tipo', etc. de los valores ingresados en mi formulario.

¿Cuál sería la mejor manera de hacer esto con la API REST?Necesito enumerar todos los subsitios más tarde y mostrar todos estos metadatos que identifiquen un subsito en particular y podrán realizar una búsqueda en los metadatos proporcionados para que pueda obtener una lista de subsitaciones filtradas.¡Gracias!

¿Fue útil?

Solución

Recommend you look at "Property Bags" that are indexed for search. Setting property bags is pretty simple with REST or CSOM, making them index-able is a bit trickier. You can set the property bag value to get crawled by search, then set the value to one of the Refinable Strings (e.g. RefinableStr00 in Search Schema Properties).

Haven't figured out how to do the indexing yet in O365, if you are on-prem there are plenty of tips for doing it server-side if you just google "Indexed Property Bags in SharePoint"

Otros consejos

Property bags is not an incorrect answer, but I would either put the metadata on a list in the new site, or in a centrally available list.

Also, the new Office AppModel Samples has an example that changes the new site link to a custom page/app that can collect the data and update the list I've described.

Licenciado bajo: CC-BY-SA con atribución
scroll top