Use Case
- Add custom buttons to perform custom
actions in List functions.
Summary
eXtendMobile lets you add custom buttons to
perform various tasks based on your
needs.
Prerequisites
Based on your requirements, there are five
ways to configure a custom button, each
needing additional details. They are
listed below:
- Performing custom actions using hook functions: For this advanced configuration, contact eXtendTech Support to discuss implementation options.
- Performing any client-side update: For this configuration, create a JavaScript file with the client-side action you want to perform and upload it using the uploader field named Select Client JS Script.This is only available on the eXtendMobile Web portal.
- Initiating Linked
Function: For this
configuration, you will need an
existing function in eXtendMobile
which will be linked to and opened
upon using the custom button.
- Initiating Map/Reduce script: For this configuration, you will need
a Map/Reduce script in NetSuite that
you want to
initiate, the script deployment you
want to
run, and your Map/Reduce script should
also have a script-level parameter of
the Free-Form Text field type. This
script parameter ensures your
Map/Reduce script receives the queue
record ID that has the context of the
incoming request from the custom
button.
- Printing record: Add
printing of list view results using a
custom button. Users can select a
printer and number of copies from a
modal window.
Configuration



- Button Label: Specify the label of
the button to be shown.
- Button ID: Specify the ID of the
button.
- Suite Script Function Hook: If you
are using a hook function, specify the
function name to be called when initiating
the button.
- Client Function: If you are using
client JavaScript, specify the function
name to be called when initiating the
button.
- Linked Function: Select an
existing eXtendMobile function to be
opened when initiating the button.
- Integration Name: Specify the
integration name to use when creating a
queue record in NetSuite for processing
the records.
- Map-Reduce Script ID: Select the
Map/Reduce script you want to
execute when initiating the
button.
- Map-Reduce Queue Parameter Script
ID: Select the script parameter
where the queue record ID will be received
by the Map/Reduce script.
- Map-Reduce Deployment IDs: Select
the deployment IDs of the Map/Reduce
script.
- Open In Modal: Enable to open the
button's associated function in a modal
window.
- Function Modal Height: Specify
the height of the modal.
- Function Modal Width: Specify
the width of the modal.
- Printer
Configuration: Configure a
custom print button.
Frequently Asked Questions (FAQs)
Q: Do all custom button configurations require advanced development?
A: Initiating a linked function is straightforward and doesn't require custom development. However, other options like hook functions, client-side updates, and Map/Reduce scripts are for advanced use cases and require additional configuration and custom development.
Q: What is required for the Map/Reduce script configuration to work properly?
A: Your Map/Reduce script must have a script-level parameter of the Free-Form Text field type. This parameter ensures your script receives the queue record ID that contains the context of the incoming request from the custom button.