Share My Creation MakeBxL - create a layout file from text or from an SQLite table (B4X) (Tool) (Source included)

Mashiane

Expert
Licensed User
Longtime User
Tip: On the generated json files, if you want to manipulate the content and do updates using Map variable to it before generating the final json, you need to remove

B4X:
"$MAKEBXL_CHILD_NUM$":

On the first line. The json parser does not understand this as valid json.

See example.
 

Attachments

  • Files.zip
    1.3 KB · Views: 42

walt61

Active Member
Licensed User
Longtime User
Sneak preview: coming up tomorrow in v1.04 (got to run now and still need to test/polish some things):
- enhanced custom view extraction as per @Mashiane's suggestions/request in post 13
- custom view extraction now has an '<All>' option to extract all views from the selected layout file (so either select one view, or get all of them)
- custom view extraction now makes sure each view has a distinct name (across the complete collection of standard views and custom views)
- the 'Restart' button now refreshes the lists of available views, no need to exit and restart the entire program
- added column 'JSON' to the TableView, which shows the view's JSON as a TreeView (based on JsonTree: https://www.b4x.com/android/forum/t...ith-json-parsing-updated-as-23-4-2022.140068/)
- used ComboBoxes instead of ChoiceBoxes for improved performance
- bug fixes
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…