Hi all is there the possibility to set the i

Hi all

is there the possibility to set the initial value of a field based on the name of the view the user opens?

I saw that I can check the view name using the expression #view=myView but expressions like =IF(#view=myView,“Result1”,“Result2”) or =IF("#view=myView"=true,“Result1”,“Result2”) do not work.

Thanks!

Solved Solved
1 3 425
1 ACCEPTED SOLUTION

Try:

SWITCH(
  CONTEXT("View"),
  "View1", "Result1",
  "View2", "Result2",
  ...,
  "DefaultResult"
)

See also:


View solution in original post

3 REPLIES 3

Hi Andrea,
do have you any solution for your question?

Try:

SWITCH(
  CONTEXT("View"),
  "View1", "Result1",
  "View2", "Result2",
  ...,
  "DefaultResult"
)

See also:


Tks!

Top Labels in this Space