CONTEXT("Host") always returns Server

CONTEXT(“Host”) is always evaluating to SERVER for my applications. Tested in:

  • Application editor
  • Chrome browser
  • Chrome browser device emulator
  • Samsung S10+ (Android)
  • iPad Pro (iOS)

Anyone else experiencing this?

Solved Solved
1 10 685
1 ACCEPTED SOLUTION

I’ve just tested this same thing in an action:

IF( CONTEXT("Host") = "Browser",
LINKTOVIEW("ALL TYPES") ,
LINKTOVIEW("parents")
)

All seems to be working correctly for me. I tested on a browser and my phone, and was sent to the appropriate view.

One thing you can do to test is instead of having the action navigate somewhere, just have it change the data of some real column to

CONTEXT(“Host”)

And see what gets output.

See more info here:
https://community.appsheet.com/t/bug-context-host-is-always-retuning-server-although-i-am-running-fr...

View solution in original post

10 REPLIES 10
Top Labels in this Space