Bug: CONTEXT("Host") is always retuning "Server" although I am running from a browser/editor

CONTEXT(“Host”) is always retuning “Server” although I am running from a browser/editor.

That’s messing up my apps using the expression

Solved Solved
0 11 424
1 ACCEPTED SOLUTION

Oh, this is interesting.

Notice that this is a Form view:


Then I save it, and am viewing the Detail view, notice there is still a pending sync.

But after the Sync is finished:

This is because a virtual column is calculated upon every sync. At first, in the Form, the Host Context is indeed Browser. But then when that VC is recalculated upon the next sync, it has been recalculated by the Server, so that value switches to TRUE. So you’re going to have to come up with a slightly different way to accomplish your goal here.

I would suggest getting rid of the [From Server] virtual column, and instead just put

CONTEXT(“Host”) <> “Server”

In the Required_If fields for the other columns.

View solution in original post

11 REPLIES 11
Top Labels in this Space