5 votes
Accepted

Apex InvocableMethod not showing up in Flow

It's definitely a bug in the new flow designer. It's not because of Sum19 release. I also faced a similar issue recently in Spring 19 scratch org and when switched back to legacy flow builder, I was ...
5 votes
Accepted

Need help with NOT function

The last value in the case is the "default value", in other words, for any value not already in the case statement. Therefore, it should look like this: CASE(Lead_Source__c, "Self Generated", ...
  • 461k
4 votes
Accepted

Page not re-rendering on change? Method not working?

You used a self closing input. You need to leave it open to nest the actionSupport under it. Incorrect <apex:inputField ... /> <apex:actionSupport ... /> Correct <apex:...
  • 147k
4 votes

Why actionFunctions are not as fast as RemoteAction

In the thread @sfdcfox have provided several good points.Posting some of them which are related to your answer: @RemoteAction methods require less bandwidth, and server processing time, because only ...
  • 5,744
2 votes

ActionFunction is working only with reRender="" and not with any value inside it

Wild guess (you still need to post more code) but rerender only applies to child elements and not the element itself. For example if you rerender: <apex:outputText id="output" rendered="{!...
  • 147k
2 votes
Accepted

Check if input field cleared and then call an apex function

You can write different handle for this situation. You can do something like j$(document).ready(function(){ j$(".apexaccountautocomplete").focusout(function() { if (j$(this).val() == '') ...
1 vote

Problem with Action button that calls Aura component that contains a Flow with Apex action

Like Ben said, the type should be Id instead of String Id recordIdDocumento = (Id)dataWrapper[0].recordId;
  • 165
1 vote
Accepted

Invocable Apex IconName Static Resource with full background

It appears to be impossible to remove the border here. I tried making the viewBox bigger (e.g. 48x48->64x64), overflowing the container (-20,-20 through 104,104), and so on. I suppose this is done ...
  • 461k
1 vote

why it is showing Formula Expression is required on the action attributes

The code exactly as posted (with the duplicate markup removed, the custom object query commented out but with the uncommon single quotes left in) compiles and runs fine in a scratch org of mine. If ...
  • 133k
1 vote

Apex InvocableMethod not showing up in Flow

For anyone still experiencing this issue try updating your class metadata apiVersion to 48. I had the same problem and tried everything else. When I updated the apiVersion, it works immediately. ...
  • 11
1 vote
Accepted

How to pass javascript variable value in apex controller

I think, you are missing rerender attribute for actionFunction and because of this, value is not getting passed. <apex:actionFunction name="embFile" action="{!embFile}" rerender="frm"> <...
1 vote
Accepted

how to bind list of dynamic boxes from VF page to controller, values are not binding when using action function with Immediate=true property

If you use an action region - you can not need to process these validations that are required when adding a new row here like so: <apex:page standardController="Account" extensions="...
  • 2,048
1 vote
Accepted

ActionFunction Slowness

This time is spent serializing/deserializing the view state. This involves a loop to the server and back when the form is submitted. When you remove the class, Visualforce knows there cannot be a ...
1 vote

Page not re-rendering on change? Method not working?

You need to include actionsupport inside your inputfield <apex:inputField value="{!Loan_Memo__c.Relationship__c}" > <apex:actionSupport event="onchange" action="{!getrelatedcovs}" ...
1 vote

Action method is not invoked in Action Method

I believe the form is being submitted. Try updating your button to be <button type="button"> instead of an apex:commandbutton. Alternatively return false from your JS or use e.preventdefault() ...
  • 4,996
1 vote
Accepted

Why can't I get focus to stay on input field using javascript or apex:actionFunction

The issue here is that when using an Apex inputfield in your page, the actual ID of the element in the DOM will be different than the one you specifically state. Because of this, you cant use your ...
  • 2,093
1 vote
Accepted

Calling an Apex action inside a HTML in Visualforce page

You can do this thru Javascript HTML -> call Javascript -> call Apex Reference : JavaScript Remoting and Static HTML Add JavaScript functions to the page as handlers to respond to user ...

Only top scored, non community-wiki answers of a minimum length are eligible