Dear all, I want to "localize" my app. In th...

expressions
(Jerry Lan) #1

Dear all,

I want to “localize” my app. In this instance, I want to change my inline view. Instead of showing “New” inline, I want to show “Book”. I used the following expression for “New” under the “localize” tab:

if(context(“view”)=“BOOKING FORM_INLINE”,Book,New)

However, it still shows “New” and not “Book”. Is this a bug or a mistake of mine?

Thanks!!

(Reza Raoofi) #2

Instead of entering the inline view’s name, try this: IF(Context(“View”)=“ParentDetailViewName”, “Book”, “New”)

I successfully tested it myself just now.

(Jerry Lan) #3

@RezaRaoofi

It works! Thanks a lot @RezaRaoofi!

(Reza Raoofi) #4

You’re welcome!