Parent-child smartapp


(the rooms manager guy) #1

this is taken from the ST doc page but in a parent-child smartapp there is usually a section with app(...) which lists all the child apps and lets the user add a new one.

preferences {
    // The parent app preferences are pretty simple: just use the app input for the child app.
    page(name: "mainPage", title: "Simple Automations", install: true, uninstall: true,submitOnChange: true) {
        section {
            app(name: "simpleAutomation", appName: "Simple Automation", namespace: "mynamespace/automations", title: "Create New Automation", multiple: true)
            }
    }
}

is there a way to list each childapp one at a time with some additional text but preserve the functionality to open the childapp when the name is clicked and also provide the link to create a new childapp instance?

thank you.