You can configure the display of Open Graph content items only for a particular MVC widget.
For example, configure only the News items that are displayed on a particular page, by a particular News MVC widget.
To do this, perform the following:
If on a page you have more than one widget displaying an item in details mode, by default, the page loads the OpenGraph properties of the last widget - the widget that is ordered last in the HTML of the page.
You can control whose OpenGraph properties to load, by enabling and disabling the OpenGraph properties of the widgets on a particular page.
To do this, in OpenGraphEnabled field, enter true or false, respectively.
EXAMPLE: You have a page displaying a blog post and after the blog post, the page also displays a news item in detailed mode. By default, the OpenGraph properties of the News widget will be loaded for this page.
If you want to display the properties of the Blog post widget, in the OpenGraphEnabled field of the News widget, enter false and in the OpenGraphEnabled field of the Blog posts widget, enter true
NOTE: If you want to display the OpenGraph properties of the page, where the widgets in detail view are located, you must disable the OpenGraph fields for all widgets on that particular page. This way, the OpenGraph fields of the page will be loaded.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important