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.
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.