Using Peek
peek()
. The purpose of this function is to “peek” at the result of any expression, without causing anything to become relevant just because you looked. So now, for example, the (party).FullName template can be {[if peek(EntityTF)]}{[EntityName]}{[else]}{[FirstName]}{[if MiddleName]} {[MiddleName]}{[endif]} {[LastName]}{[endif]}
. Checking peek(EntityTF)
will still give you the value of EntityTF exactly the same way, BUT EntityTF will not become relevant just because you peeked at its value. So you can finally avoid having EntityTF show up on EVERY party; it can now be made to show up only on those parties that can sensibly be entities.