is it possible display check box as marked when we pass values from test interface
Discussion posts and replies are publicly visible
Sure, but what is your concrete question?
codeblog.jonskeet.uk/.../
was testing my interface... whenever i select checkbox those values are storing in rule input.... but when i was verifying with the test inputs interface, passing values to select but check box were not marked as checked/selected
That should just work. Do you have a screenshot for me? I would need to see the code of the check box, rule input type and the values passed for testing.
rule input and the interface
the code i have written
selectionSaveInto: { a!save( local!selectedid_int, rule!APN_distinct( a!flatten( save!value ) ) ), a!save( ri!selectedLimitIds_txt, index( ri!crAppLimit.limitId_txt, local!selectedid_int, {} ) )
this is how am passing values to check
Please check this tutorial: https://docs.appian.com/suite/help/21.3/Grid_Tutorial.html#configure-selection-values
The blue box says:
The grid is actually smart enough to use a single selection variable for both the selection index and the row data when you embed a query that returns a primary key, as the query will create a datasubset with the primary key as the identifiers. You can test it out by setting the Selection Value to local!selectedEmployees.id. If you only pass the data, the grid won't know which field is the primary key, so you'll need to create a second variable for the selection index; we show the two-variable method in this tutorial because it works in both cases.
I think you will need to check which values are saved by the grid to your local on selection.