Class ContentByQuerySearchTransformator
Class used to generate contentrollup (=highlighted content) web part properties coming from either a content by query or content by search web part
Inheritance
Namespace: PnP.Framework.Modernization.Transform
Assembly: PnP.Framework.dll
Syntax
public class ContentByQuerySearchTransformator : object
Constructors
ContentByQuerySearchTransformator(ClientContext)
Instantiates the class
Declaration
public ContentByQuerySearchTransformator(ClientContext cc)
Parameters
ClientContext
cc
Client context for the web holding the source page |
Methods
TransformContentByQueryWebPartToHighlightedContent(ContentByQuery)
Generate contentrollup (=highlighted content) web part properties coming from a content by query web part
Declaration
public ContentByQuerySearchTransformatorResult TransformContentByQueryWebPartToHighlightedContent(ContentByQuery cbq)
Parameters
ContentByQuery
cbq
Properties coming from the content by query web part |
Returns
ContentByQuerySearchTransformatorResult
Properties for highlighted content web part |
TransformContentBySearchWebPartToHighlightedContent(ContentBySearch)
Generate contentrollup (=highlighted content) web part properties coming from a content by search web part
Declaration
public ContentByQuerySearchTransformatorResult TransformContentBySearchWebPartToHighlightedContent(ContentBySearch cbs)
Parameters
ContentBySearch
cbs
Properties coming from the content by search web part |
Returns
ContentByQuerySearchTransformatorResult
Properties for highlighted content web part |
TransformUserDocuments()
Generate contentrollup (=highlighted content) web part properties coming from a content by search web part
Declaration
public ContentByQuerySearchTransformatorResult TransformUserDocuments()
Returns
ContentByQuerySearchTransformatorResult
Properties for highlighted content web part |