@omz, just wondering why custom properties are not retained when you use ui.dump_view. Maybe a security injection thing, I am not sure.
But the reason I bring it up because I was thinking about my voting app again today. My idea with the voting app was to have the client talk to say something like a Flask app, to get and post data. Then the client would understand how to render the data in a form that the client understands.
But then I thought of another idea. What if you could design any form in the ui Designer and using ui.dump_view upload it to my flask app. So when you query your flask app and choose a survey/vote/recipe etc... your UIFile is returned as a json_str, which then can be used to recreate the form in the client(Pythonista). But to make the client code as dumb as possible, you need to be able to do specify some things in the ui Designer. I was thinking the Custom properties could have helped the client code to generically understand what data it should post back for the form. So the meaning being that most the work could be done in the form creation, and the client code could generically work out what data to post back to the flask app.
Another thing that could help is the ability to use the hidden attr in the ui Designer. As far as I know you cant do that. But it could help fudging some things. Like a hidden label that contains the form name or whatever. (Hmmmm maybe this can be just done also using the alpha)
Anyway, its just a thought. But seems to me, this could be an interesting idea. The UIFile having enough embedded information, it can be downloaded and a simple client class/function could present it and post the data collected back to the web app.