Client Script of Mobile UI Rule doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 05:39 PM
I set the following Client Script with the Mobile UI Rule.
However, it seems that this Client Script itself is not being called.
It was being called before the Yokohama update.
The Mobile UI Rule is active, and the condition is not set, so it should be always applied.
The trigger is "onChange", and the Client Script did not activate after the form input.
Is it a bug in the Yokohama version, or is there an issue with my configuration?
Below is my Client Script. Even "m_form.addInfoMessage" is not being triggered..
function onChange(inputName, newValue) {
m_form.addInfoMessage('hello!');
var itemId = m_form.getValue('u_item');
if (itemId) {
var caller = new MobileScriptIncludeCaller('CustomMobileMenuUtil', 'getWorkItem');
caller.addParam('itemId', itemId);
caller.call(function(response) {
m_form.setValue('unit', response);
});
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 09:53 AM
Hi @kaioguri , can you show us the script include? From my experience, it needs to be a mobile callable/sandboz enabled script include, and the script include should extend this object: "