[Native Mobile] Cannot set attribute due to read-only error in nanoflow action
0
I’m currently working on a project in Mendix that implements TTS and STT functionality. I'm deploying the app using the Build Native App feature in Mendix, then converting it to an APK file via Android Studio and testing it on an emulator. However, I'm encountering the following error: ERRORClient: An error occurred while executing an action of NativeMobile.QuestionList_NewEdit.SaveButton: Cannot set $NewNP/CurrentIndex because it is read-only I've attached screenshots of my domain model and the nanoflow. Based on my research and what I’ve found in the community, this issue might be related to entity access settings. So I’ve already set the CurrentIndex attribute to have Read and Write access, but the error still persists. Has anyone experienced this issue before or know how to resolve it?
asked
Lee jinkyu
2 answers
0
If you've set the attribute's permissions to read-write, it should be fine. It could be something else, for example, that you haven't assigned the correct module role to the user role.
answered
Sjors Hak
0
Hi Lee jinkyu,
Option 1: Give update security in domain model page.
Option 2: Kindly delete the CurrentIndex attribute then create new attribute as CurrentIndex