Solved

Behavior of Card List with touch screen devices

  • 9 February 2024
  • 6 replies
  • 74 views

Userlevel 5
Badge +20

It appears that the Universal GUI is programmed to always open the Form when clicking on the record in the card list. Correct?

A form is not always present for a table/screen and in that case you want a specific detail tab to be activated when clicking a record.

I seem to remember that this was possible in the 'old' mobile GUI.

Is this something that is still being worked on or can this already be controlled in some way from the model?

 

icon

Best answer by Mark Jongeling 21 March 2024, 23:04

View original

6 replies

Userlevel 4
Badge

Harm,

Actually the awnser is ‘it depends’. The only trigger for it jump to the form is if the form goes into edit mode *except when this happens because of default editmode*. If there is no edit, I would expect it to stay on the card list. Other than that, the Universal GUI has less implicit behaviour than the ‘old’ mobile gui.

However you completely control what happens. If you set the executeTaskOnTouch screentype property to ‘true’, a cardlist on a touch device will fire the Double Click Task as defined under menu User Interface > Subjects > tab Default/Variant > tab Links > tab Tasks

This task can be a re-usable dummy task that you use as the starter for a process flow.

Once you have a process flow. You can make the GUI do what you want.

Userlevel 5
Badge +20

Hi Sebastiaan,

This is clear and sounds good to me.

We will try this and let you know the outcome.

 

Userlevel 5
Badge +20

​​​@Sebastiaan Meijerink ,

I try to work out your suggested setup, but I get the feeling that we are not on the same page

  1. I cannot find the option ‘executeTaskOnTouch’
     
  2. When adding a action of type ‘Activate detail’ no details pop up, while they exists for sure

Platform/GUI version:  2024.1 / 2024.1.12
 

Any more idea’s

 

Userlevel 7
Badge +23

Hi Harm,

For nr 2; In this process action, the table is the target table; the one you open in the detail. The reference refers to the reference that was followed to open said table.

So in you image the vw_document_universal view is not a detail of any other table/view.

Hope that helps!

Userlevel 5
Badge +20

@Mark Jongeling thanks!

It is working now. This little process flow does the job:

Please update the documentation (Activate Detail), as it is very limited on this subject. 

And one limitation, it does not work when simulating an iPhone with Google Chrome developer tools. But that’s not a real issue.

Userlevel 7
Badge +23

I'll make sure we add some more details on the Documentation page 👍🏻

Reply