I have an app where i want to add a โHome Screenโ. I want that to be an initial screen that allows the user to click on a photo/image to take them to the correct view:
I have this in my app - but it doesnt take them where i want them to go. Those two images are in a table. They currently do not take the user to the correct views. How do i do this?
Solved! Go to Solution.
You need to make your LINKTOVIEW action dynamic depending on the image record selected. Probably start by adding a new column to your images table: [View Name]. Put the exact UX-View name that you want navigated to from that image into the new column for that row. Then change your expression to:
LINKTOVIEW( [View Name] )
Do i need to create a table holding the images? then reference those?
Isnโt that what you already have?
Donโt know what this means.
Check out this help article as well.
And sample app:
https://www.appsheet.com/samples/An-app-launcher-for-other-AppSheet-apps
And general searches in google and here for โcustom menuโ โmenu launcherโ, etc
This is my image table:
This is the columns i used to reference those images from my MAIN table:
Problem:
When i build the โHome Screenโ - i have to use the โimage Tableโ - which goes no where when the user clicks on the images.
I looked at the app launcher link you sent already before i tried - i am not understanding where I reference and how to reference these images - so that the user clicks on them and they goto the table I want.
You can create a LINKTOVIEW() action, then set it as the Row Selected Behavior as shown in my initial post.
Worked PERFECTLY! Thanks again as always!
Ok. Only problem i am having is I have two images. Do i make two tables? If so, Ho do I pout them in the same Gallery? Because i have more than one image - the behavior will only goto to ONE view. What about the other?
Well I made a dashboard and it seems to work great. Thanks again
You need to make your LINKTOVIEW action dynamic depending on the image record selected. Probably start by adding a new column to your images table: [View Name]. Put the exact UX-View name that you want navigated to from that image into the new column for that row. Then change your expression to:
LINKTOVIEW( [View Name] )
What โtypeโ do i make that new column?
Is that right?
nm. Iโm stupid. I figured out what you meantโฆ
Thanks
Please help others by posting what your solution was. Most helpful. Thanks.
Yes,
So I was looking to have a home screen with images for my users. I wanted them to be able to click on an image and the app would take them to a certain โViewโ.
Home Screen - user clicks on โMAPโ:
MAP View:
To build this I had to first create a table telling the app what to do when the user clicks on the image/button:
Leave the column โView Nameโ - empty.
Then in the app I add that table:
Now build your first โHome Screenโ view:
NOTICE - the โon Clickโ option ? There is where you MUST create./build your actions - so when the user clicks on a certain image it will take them to THAT view:
Each of these are views I also had to build to make the app have a view to go to for the user selection:
And that is it!
Does it make sense?
I would also be interested in how to get this accomplished. More specifically I would be interested how to get this accomplished without needing a Table at the backend. It seems that most everything I need to accomplish somehow requires another column in a table or an entire table. By the time Iโm done I feel like I have a dozen additional resources to manage.
Not possible.
Steve,
Do i create/build my image table, then reference those images?
Hi all,
Thank you @Tiger for sharing your solution
An additional solution: a few months ago I found this sample app as well, that does the exact same thing as you describe, but without the action to build as itโs generated with a virtual column expression:
https://www.appsheet.com/samples/Schedule-retail-order-pickup-and-customer-interactions?appGuidStrin...
The main difference is here:
With this expression in the virtual column formula:
"#view="&[View Name]
and view layout is:
Hope that may help !
User | Count |
---|---|
41 | |
36 | |
30 | |
23 | |
16 |