cancel
Showing results for 
Search instead for 
Did you mean: 

[Agentry] Identifying the selected object in multi-tab lists on iPad

Former Member
0 Kudos

hi all,

On iPad, we can create a multi-tab lists to group objects based on different criteria as shown below.

In my implementation, I created a Tile Display which holds a screen set called “Lists” with multiple list screens.

Once we select an object in one of the lists, we need to either display details of the it or execute some transactions on that object. Then I had difficulty to find a way to identify the selected object. Since this is a screen set inside a tile display. I first tried to see if I can drill down on the tile display.

As shown above, I cannot go further on the tile display.

Then I tried to see if I can find the object on the “Lists” screen set. There are four screens each of which has “selected object” option. During the application’s execution, the user may switch between lists/tabs. Is there any method we can figure out which tab/screen the user is currently on?  With that piece of information, I can identify the screen and then the object accordingly.

My development environment is 6.0.42 and iOS 7.1.

If this is not correct way to accomplish such function, is there any work around available to present a workable multi-lists tile on iPad?

Thanks a lot.

-Yang

Accepted Solutions (1)

Accepted Solutions (1)

jason_latko
Advisor
Advisor
0 Kudos

Yang,

You want to go with the Lists screen set idea.  Right click the "A" list screen and change context to "Current List Screen".  This is how you can generically reference the current list screen in the Lists screen set.  Then right click on "Selected Inspection Object" under the list and change the context to "Current Object" so this is ambiguous as well.  Now you can use this method to target whatever object is currently selected on the current list screen on that inner screen set, and pass it to whatever action you require.  The target will look something like: "Lists Screen Set -> Current List Screen -> Current Object.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Jason,

Thanks for the quick response. It works and is an excellent example of using "current screen set>current screen>current object".

By the way, is there any approach to select an object, e.g., the first one, by default on the list under one tab? I can see that the first tab is always selected. On the other hand, by default, no object is selected in the list when the tile display is presented for the first time. If I have another tile area to display details of the "selected" object, that area will be completely empty before a manual click selects one object.

Thanks.

-Yang

jason_latko
Advisor
Advisor
0 Kudos

Yang,

Yes, you should be able to use a list selection step in your navigate action to select a row.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Jason,

Let's say the InspectionLists is the screen set to hold those four list screens (each under a different tab).  And the InspectionLists screen set is inside a Tile Display area.

When I tried to add a list selection sub-action, the screen drop down list is actually empty and so is the List Control drop down list.

Any suggestions?

Thanks a lot.

-Yang

jason_latko
Advisor
Advisor
0 Kudos

Yang,

Sorry, since you are using an actual List screen, just use a regular navigation step.  Select the screen set and screen, then set the logic for selecting the row you want on the list screen.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Jason,

My following question might be a bit off the original topic. Please let me know if you want me to open a new post.

I actually tried the navigation as well as the list selection. The navigation did happen. However, instead of presenting the Lists screen in the original tile display, a new full screen is created after the navigation which covers the original screen on iPad.

This leads to a general question regarding the navigation on screen with tile display. For pocket PC, the navigation is straight forward as a new screen is going to be created to cover the original screen. On tablet, if tile display is used, is it possible to navigate to, i.e., activate the focus on, a particular screen inside a tile display?

Please let me know if I make my question clear.

Thanks a lot.

-Yang

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yang,

It is currently not possible to select which tab becomes active in a multi-screen tile display via a navigation step.

Sorry

--Bill

Answers (0)