cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - updating a boolean checkbox on detail screen

former_member231132
Participant
0 Kudos

I want to be able to update a Boolean property on a detail screen.  The user will select the object in a List Tile View, and then the selected object's Boolean property should appear beneath the List Tile View and allow the user to toggle it's value.

As you can see in the screen shot above, the List Tile View labeled "UNIT" will allow the user to select a Unit object.  The Unit object has a Boolean property named ResetToDefault.  The ResetToDefault property should display as a checkbox below the LTV.   I've tried to do this with a Tile Edit, however there are Finish/Cancel buttons displaying in the Tile Edit.  I would rather just be able to Apply the change to the checkbox as soon as the user toggles it.  I don't want to place the checkbox directly within the row of the LTV since I want the user to be able to select a row without toggling the checkbox.   Is there a way to do this?

The platforms I need to support are WPF, iPad, iPhone.

Thanks

Tim

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I would probably create a screen containing a single action button (reset to default).  I would display the screen in a Tile display that is linked to the LTV.  The button action will run the underlying transaction to update the boolean property.

--Bill

former_member231132
Participant
0 Kudos

Bill,  I got this to work on iOS by using a Tile Display edit type like you suggested.  The TD's screenset contains a button (checkbox), and I use a Hyperlink action on the TD to toggle the Boolean value displayed by the checkbox.  This works well on iOS, but for some reason I can't get my hyperlink action to fire on WPF.  But I was able to get it to work on WPF by using a List Tile View instead of a Tile Display.

Thanks!

Answers (2)

Answers (2)

0 Kudos

Hi Tim,

In Tile List View Setting add one Single click Action. In that action create one Transaction of type Edit. Which will change the boolean property value that represents the Check box. By doing this, whenever you click on the Tile, the Check box value get changed.

Hope this will help you.

Thanks and Regards,

Sujit Ghanti

kevin_hu
Active Participant
0 Kudos

Take a look at the standard "edit notification" functionality, "break down" checkbox and stick to it. That is all Agentry can do. Forget about Tile Edit because as far as I know it does not work properly.