Changed on:
30 May 2024
There are some Fluent APIs that directly produce HTML pack slips.
These files can't be directly linked as they require authentication, so the Download Print Button exists to allow them to be downloaded directly from the page.
Plugin Name | Core |
---|
The standard library of mystique components.
Initial changelog entry.
fc.button.print.download
None
Name | Type | Required | Default | Description |
label |
| yes | Label text to be presented on the button. Accepts an i18n key. | |
href |
| yes | Relative path of the Fluent endpoint to download. | |
filename |
| yes | Name of the file to save out. This supports template strings (e.g. appending the wave ID) to avoid file name clashes. | |
behavior |
| no |
| Behaviour with which the HTML document is downloaded for printing.
|
1{
2 "component": "fc.button.print.download",
3 "props":{
4 "label": "i18n:fc.sf.ui.waves.detail.action.pickList.download.label",
5 "href": "/api/v4.1/wave/{{waveById.id}}/pickingList",
6 "filename": "wave-picklist-{{waveById.id}}.pdf",
7 "behavior":"preview"
8 }
9}
Language: json
n/a
n/a
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.