0

I've created a task summary overall project sites with a search results webpart. We've also stored some properties in the propertybag of the sites like project number, project area, ...

Is it possible to get these values also in the display template of the task summary and also in the refiners?

Thanks

0

You need to add them as index properties, SPWeb.IndexedPropertyKeys

web.AllProperties["prop1"] = "value1";
web.IndexedPropertyKeys.Add("prop1");
web.Update();
  • thank you for the answer. we've already stored the property bag values like you wrote. the main question is that i want to use the property bag value e.g. a project number for a task allocation which was created with a search results web part. so i have to add the property bag value at my display template but how? – Michael Mayr Oct 11 '16 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.