Item Page Buttons#
Item page buttons appear on item detail pages. When clicked, they submit a POST request to a remote web service, passing the identifier of the item.
Create an Item Page Button#
Navigate to Admin and choose Item Page Buttons.
Click Create a new button, or Create your first button if no buttons exist.
Fill out the form. See Extensible Buttons for a description of each field.
Click Save.
To change or remove a button, click the Edit or Delete link next to it.
Web Service Requests#
Form POST#
The browser navigates to the specified URL, submitting an HTML form with a field named id
containing the item’s identifier in the form agency:identifier:version.
Javascript POST#
The web service will receive a POST with application/json content in the request body.
Request from an Item Page#
{
"ItemIdentifier": "example.org:0ccc5a26-25b2-4a36-9f05-08ed1e2fec24:2"
}
The web service should respond as described in Extensible Buttons.