Overall request:
Ability to hide/show elements based on whether the user is viewing on desktop or mobile.
Use-Case:
Many websites are setup with a desktop site and mobile site - (salesforce.com vs my.salesforce.com). Is there a way to set visibility requirements for links based on whether the user is viewing on a desktop or mobile app?
Currently, I have two links listed for my users - one for the desktop website link and one to the mobile link. It would be great to be able to hide one or the other based on whether they are viewing on desktop or mobile.
Thanks!
I very much agree - a needed feature! (for some apps especially!)
1 Like
I agree… I’ve been using the Whatsapp API and it behaves very differently when on a Mobile vs when running from the web.
I was about to ask the same question until I saw this thread,
It seems there is no answer for this yet?
You can use the Device Info column for this to detect the screen width of the users device, and then hide or show components based on that.
Also see the below article for some general guidelines on setting breakpoints:
Thank you
Let me go through
So if im understinging this well
One can use the Device info intergration to pull infomation such as device width in a column
Then possible use an IF-THEN-ELSE column to se visibility on different componets depending on the CSS Breakpoints?