![]() Next, identify the managed property name of the field. In the above scenario, the first step is setting up the news you are looking for ( PromotedState:2). “PromotedState:2” means you are looking for news.“IsDocument:1” means that you are looking for a document.It would continue by using only one of these types. This “OR” restriction means it would be a highlight OR it would be a Learning OR CEO news. To make sense of this, the following graph is a great source to gain a better understanding of how Highlighted Content Web Part logic works. Any managed property will become an “ OR”. ![]() Here, you can build your own query through the Keyboard Query Language (KQL).įor example, if you are building a web part that will show news that is set as a highlight, but you only want to show news types of “ CEO” or “ Learning”, this cannot be achieved due to the restrictions in SharePoint’s out of the box news web part. In order to force this combination, first go to the “Custom Query” capability of the SharePoint Highlighted Content Web Part. ![]() In this tutorial, we will demonstrate how to do so. The SharePoint Highlighted Content Web Part is a great example of this, as it does not allow the user to combine an “AND” on managed properties. Certain restrictions in SharePoint Online web parts can have limited functionality, getting in the way of what you are trying to achieve. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |