Skip to main content

Other components

Additional column qualifier

Example:

{
"type": "additional_column_qualifier",
"data": {
"name": "rayon",
"value": "getAdditionalColumns()"
},
"name": "my-additional-column-qualifier"
}

Linked contact

  • Description: Linked contact.

Example:

{
"type": "linked_contact",
"name": "my-linked-contact"
}

Event creator

  • Description: Event creator.

Example:

{
"type": "event_creator",
"name": "my-event-creator"
}

Button

  • Description: Button.

Example:

{
"type": "button",
"data": "openProductDetails(_R.product)",
"name": "my-button",
"child": { ... },
"popup": {
"title": "delete product ?",
"content": "Are you sure you want to delete the product ?",
"on_cancel": "cancel_function()",
"actions": [
{
"text": "Yes",
"action": "ok"
},
{
"text": "Cancel",
"action": "cancel"
},
{
"text": "No",
"action": "quit"
}
]
}
}

Scanner

  • Description: QRcode and BarCode scanner.

Example:

{
"type": "scanner",
"data": "setFieldByIdAndMetadata('my-field', {}, _S.scanner)",
"name": "my-scanner",
}

Listener

  • Description: Component to scan BarCode and QRcode using zebra.

Example:

{
"type": "listener",
"data": "my_function()",
"name": "my_listener_name",
}
  • Description: This component open EasyPicky with all datas needed.

  • data:

    • products: Mandatory: Function to get the product list.
    • picking: Function to get the picking list.
    • catalogue: Mandatory: Id or name of the current catalogue.
    • on-import: Mandatory: Function to call when EasyPicky call sidely back. This function use _S.value as the imported data. The data is a List of EasyPickyData.
    • path: Mandatory: Path to the EasyPicky application. Arguments are automatically added to the path.
    • shelf-length: Function to get the shelf length in milimeters.

Example:

{
"data": {
"products": "get_my_product_list()",
"picking": "get_my_picking_list()",
"catalogue": "_G.catalogue",
"on-import": "on_easy_picky_import()",
"shelf-length": "get_shelf_length()",
"path": "easypicky-sidely-my-company://data"
},
"type": "easy_picky_link",
"name": "my_easy_picky_link"
}