Print current Page in OMS Webapps
Author:
Fluent Commerce
Changed on:
14 Sept 2023
Key Points
- a trick on how to print the current list page to the printer
Steps
Current behaviour
The was due to the content is dynamically generated from the OMS framework and ensure that data is in real time basis.So In order to print the current page, the client can configure a custom print button configuration within the OMS.
Change in manifest

Create a new setting example.orders.print
`lobValue` is JSON formatted so you'll need to update the value with Insomnia/Postman.But beyond that, the value can be any sizes and use:
- any html/css
- Handlebars context/conditional functions (like the
`#each`loop in the example) - TemplateRegistry helpers from core or sdk extension (like
`dateRelative`in the example)
Test the result



Save the result in PDF

The result is based on the list filter on the page
