FAIR Consulting Group Replace Relative Dates by Real Dates in your SAP Fiori Overview Page - FAIR Consulting Group

Replace Relative Dates by Real Dates in your SAP Fiori Overview Page

Share on facebook
Share on twitter
Share on linkedin

Industry

Services
Platform
Domain

Industry

Services
Domain

Replace Relative Dates by Real Dates in your SAP Fiori Overview Page

By default, when you create an Overview Page, the system will adapt all of your date fields and expose the information as a relative date, like the example below:

If you want to change this behaviour and show the real date, you just need to execute a simple configuration in your app descriptor (manifest.json) deactivating the use of relative dates:

	"sap.ovp": {
		"globalFilterModel": "...",
		"globalFilterEntityType": "...",
		"showDateInRelativeFormat": false,
		"cards": {
			...
		}
	}

The attribute showDateInRelativeFormat is verified in a generic card code inside the sap.ovp library, this means that all card layouts will be affected by this configuration.

This is the final result:

See the original post here

Related Insights

Stay up-to-date with FAIR

Connect with FAIR today and get the latest tips and tricks on improving your customer experience tools and eCommerce platforms. Once you subscribe you will get access to workshops, webinars, recent projects and so much more.