Questions tagged [conditional]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
38 views

How to conditionally render inside a datatable in lightning?

I have a lightning datatable and into one column called 'Set Primary Contact' I want to display an icon if the custom field IsPrimaryContact__c has the value TRUE, or a button 'Set primary contact' if ...
2
votes
0answers
121 views

CPQ quoteline conditional custom action

I am trying to set up a conditional Custom Action on a CPQ Quote Line. I only want the Desegment Line Custom Action to appear when a custom field "Segmentation_Editable__c" has a value of true. I ...
2
votes
0answers
153 views

Visualforce conditional rendering formula not evaluating to True

It seems like my rendered If statement is not evaluating as expected (at least my expectations). Basically, I have 2 Id fields pulled from apex, and if they equal each other, it conditionally displays ...
1
vote
1answer
24 views

Component Visibility in Flow's Screen with Number data type

I'm trying to set up a filter to manage a component visibility in a flow's screen component. In particular, I want the field to be available to the user for the insert of data only when a particular ...
0
votes
1answer
48 views

How do I make a field mandatory if the previous field is set to yes?

I need some help with JavaScript code, please. In Salesforce Communities, I have a form that asks a question, if you answer yes, then more fields appear. I want to set it to if yes, those fields ...
0
votes
2answers
36 views

Lighting Aura Controller - If Then on checkbox

I cannot figure out the correct syntax to evaluate a checkbox field on my component. I have to believe I have the syntax wrong because the IF statement is being executed even though the checkbox is ...
0
votes
1answer
81 views

Conditional display of Visualforce page on account layout

I'm new to Salesforce and i wonder how i can conditionally display visualforce page on account page upon that button click as illustrated on image .
0
votes
0answers
6k views

Check if Date field is empty

How can I check if a Date field is empty or blank? I tried this statement: if(project.Current_Launch_Date__c==null) But I don't get the desired result, even if I delete the date value, it still does ...
0
votes
1answer
235 views

Process Builder: conditional update after calling Apex

I'm creating a process with Process Builder to call an apex method (that invokes a Callout Method). Everything is working like a charm. But after calling this asynchronous (@future) callout, I need ...
0
votes
0answers
607 views

how to know if an enterprise connection is alive

I want to know if a connection is valid, this is an example of what I'm trying to do: EnterpriseConnection connection = new MyEnterpriseConnection(); System.out.println("first " + connection....
0
votes
1answer
666 views

Why shippingpostalcode is showing (variable does not exist)

Here is my apex trigger but it is unable to recognise 2 fields i.e. billingpostalcode and shippingpostalcode. trigger AccountAddressTrigger on Account (before insert, before update) { for(...