Hello Zoho Community!
I have been trying to make this work on Mobile, but am having difficulty finding a proper solution. My application is based on one main form for all of the records in the app. To make quick updates to various fields in a record without the user having to open the main form, I have created a custom action that opens a popup window (which is another short form) from the detailed view which updates the main record with the entered data when submitted. The record created from the popup form is automatically deleted.
This functionality works perfectly. However, the desired situation would be that once the data was submitted in the popup window and was closed, the detailed view would remain open on the MOBILE app and automatically refresh. With this script: openUrl("#Script:page.parent.refresh","same window"); it does exactly that in iOS and is just what I need. But, in Android, the detail view is closed and the user is directed back to the main report page, or the My Applications dashboard once the user submits the data in the popup window. This makes it challenging when a user would like to update a few options while in the detail view of a record without having to go back to each record just to make another update. **I have been informed that this will also be the same response in iOS on a future update. So, this script will not work for either operating systems in the future unfortunately.
The Zoho support team has helped me with a workaround in that once the popup window is submitted, the user is directed to a new record summary page with this script: openUrl("
https://MY APP URL/record-summary/REPORT NAME/" + fet.ID + "/","Same window");
This option does provide the desired outcome of the user remaining on the detailed view page and the data entered into the popup window is now displayed on the summary. The main problem with this option is that a few windows have been opened on the way to this point. If the user clicks the back arrow on the navigation, they are taken back to the popup window, then to the summary without the updated data. I'm concerned that it will be confusing for some users and is not the ideal functionality.
If anyone has any suggestions or recommendations on how to make this function for both iOS and Android as it does currently in the iOS example above, I would greatly appreciate it. Hopefully this is not too longwinded and makes sense.
Thanks!