Neil_Marks_2466
Aug 17, 2017Nimbostratus
Can I query a table row count in the Presentation section of an iApp?
Is there a way to query the size of a table element in the APL language of an iAPP? The reason for asking is that I don't want to present an empty row if there hasn't been anything entered in that table row previously...
section servers_pool1 {
string poolname display "xxlarge" default "pool1"
string pooldesc display "xxlarge"
**optional ( count(poolmembers)>0)** {
table poolmembers {
string description display "large"
editchoice addr display "large" tcl {
package require iapp 1.1.0
return [iapp::get_items ltm node] }
optional ( serverside_encryption.encryption == "Plaintext" ) {
string port display "small" validator "PortNumber"
default "80"
}
optional ( serverside_encryption.encryption == "Encrypted" ) {
string port_secure display "small" validator "PortNumber"
default "443"
}
}
}
The statement marked ** is something I am looking for... ???