cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry development - single-click action in a List Tile View

Former Member
0 Kudos

Hi experts,

I have a question about the "Single-click Action" option in the "List Tile View" settings. If we have a List Tile View which displays an object collection property in a list (like the Products list for a selected Order in the Northwind sample project), can we use the single click action option to use "Edit Product" action, which will directly enable editing in the current List Tile View? (as if we selected a row and clicked the Edit button) ... or this action will have to open a new screen?

The idea is that we need a quick way to allow user to edit records in List Tile View. Selecting the row and then clicking Edit and then selecting another row and again clicking Edit will not suit the required functionality (it is a case with touch screen tablet, so there's no keyboard on the device).

Regards,

Denis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The only way to enable the inline edit option is to select the "Edit" button on the list tile view.  The "Single-Click Action" can't make the tile jump into an edit mode.

Stephen Streeter

Former Member
0 Kudos

Hi Stephen,

Do we also always have to select a row and then click Edit? Can we click Edit just once and then go to the next row in edit mode in the scenario of the touch screen tablet?

Cheers

Denis

Former Member
0 Kudos

The row needs to be select first.

From the documentation.

For an edit, the user can select an object in the list tile view and click the edit icon button. In this case the currently selected tile will change to use the edit screen set, displaying the edit transaction. The user can change the values on the screen. They can then either cancel or accept the changes they have made.

As alternatives to this behavior, an action can be specified for both add and edit behaviors. When the action is executed it will dictate the behavior, displaying the add or edit transaction in the wizard screen set just as with any other action.

SyBooks Online

It is possible to use a shortcut key to start the edit transaction:

Edit Shortcut Key: This attribute is set to the shortcut key combination that will allow the user to edit the selected object in the list tile view field. The shortcut will exhibit the same behavior as if the edit icon button for the list tile view field were clicked or tapped by the user, meaning either the defined Edit Action will be executed, or the defined Edit Screen Set and Edit Transaction will be displayed in the selected tile of the list tile view field

Former Member
0 Kudos

Hi Stephen,

Thanks for the references. It seems it's going to be a big problem, because I don't see how the shortcut key can be of use with a touch screen. And at the same time, we need to provide the users with quick edit option for the list, as they will have to enter fast values for multiple instances of the list.

Regards,

Denis

Former Member
0 Kudos

One option is to have a string field on the screen where that has an update rule to the value of the selected tile.  Then users can update this field and push a "save" button.  The "save" button will call a transaction that looks at the screen field and applies it to the selected object in the List Tile View.  Then users can just selected the next tile and edit the field and push save again.

jason_latko
Active Contributor
0 Kudos

Denis,

I don't think you necessarily want to do an inline edit on the tile, correct?  Yes, single-click on smart phones and tablets tiles can immediately take you into your edit transaction.  It will bring up a full screen edit for the record, but I think this is OK for your requirement.  You just don't want to select the row and then click an edit button, correct?  If this is the case, then you have no problem.  Just set the single-click action on the tile to run a transaction that edits the object type selected and specify the screenset that will be used for the edit in the transaction step.  After you save or cancel the edit, the list will again be displayed and you can click another tile to immediately edit it.  Very easy.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Thanks for the prompt replies, guys!

It seems we will need to talk through this, as the requirement is to be able to easily populate values for multiple instances of an object collection and actually the perfect situation would be if all of them are already in edit mode with opening of the screen and press save only at the end of the operation. So, they could be reluctant to this additional save on every edit. It doesn't sound as a problem, but the nature of the work requires entering of a lot of data and it needs to be fast

Cheers

Denis

jason_latko
Active Contributor
0 Kudos

Denis,

You could implement a loop where the user clicks a tile and edits it on a wizard screen with a save or cancel button.  If they save, the next record in the list is immediately brought up for edit and so on until there are no more rows or they hit the cancel button.  This saves needing to continually return to the list and single-click the next row.  Does something like this work for you?

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Hmm... a loop might work and deliver the needed performance. Thanks a lot for the suggestions, Jason!

Cheers

Denis

Former Member
0 Kudos

Jason,

One additional question - if the user clicks on a tile, which is different from the first one, I guess the loop will start from there and continue to the end, right? (i.e. it does not need to be the first tile in the list) And you are referring to the SubAction with type "Loop over displayed list items"?

Regards,

Denis

jason_latko
Active Contributor
0 Kudos

Denis,

Yes that is the idea.  Off the top of my head, I can't remember how to start the loop from a certain spot.  Seems it should be possible though.  Let me know if you can't figure it out.

Jason Latko - Senior Product Developer at SAP

Answers (0)