Hi Sami,
It is possible... but it is not good practice to call mapping from JS.
You need to call Apperyio.processMappingAction function with stucture that describe your mapping for example:
code
{
"homeScreen": "startScreen",
"directions": [
Code: Select all
{
"from_name": "startScreen",
"from_type": "UI",
"to_name": "storage",
"to_type": "LOCAL_STORAGE",
"mappings": [
{
"source": "$['mobiletextinput_15:text']",
"target": "$"
}
]
}
]
}
/code
For more info you can look at the source code some project with mapping