Render Conditions

  • 2
  • Question
  • Updated 5 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Old Questions

I might have missed it, but is there a way set the rendering condition logic like there is in the model filters? I have a custom button that I want to display on the page title only if a pick list value = X OR Y...right now it looks like it defaults to X AND Y when I enter in two conditions. Is this possible to change at the moment?
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb

Posted 5 years ago

  • 2
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,236 Points 50k badge 2x thumb
This will be coming with our official Winter 14 release. You'll be able to say Picklist_Field__c in ('X','Y')
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb
I had a feeling you were going to say that. As a workaround I made two custom buttons that do the same thing. One to render when option X is selected and the other when option Y is selected. It appears to be working fine!
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,236 Points 50k badge 2x thumb
Hah, nice workaround!

This conversation is no longer open for comments or replies.