App Marketplace - Card View
This example shows how you can add ‘cards’ to an App Page. The cards are generated from JSON data which is fetched from the forms REST api. JavaScript on the App Page onShow and Type of App onChange grabs the JSON and generate the HTML which is then set into an HTML fragment. The card display is enabled with CSS which uses the display:flex and flex-wrap:wrap commands. The cards are set with a listener so the user can click on it to open the record/form for that app. Navigation uses the new 1.0.3 functions. The forms JSON is only fetched and presented when its stage is set to ‘published'. The admin can open the form and switch to ‘edit’ stage to make updates. The button allowing this - as does the add new app button - uses the new 1.0.3 role based rules.
To run this app require secureJS=false. I will also post a version that can be run in secureJS=true shortly.
Download the App
App Marketplace - Card View - requires Domino Volt 1.0.3 or greater
Screenshots