Questions tagged [action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
572 views

Lightning: Caching Actions Across Components

I have been using Storable Actions to help reduce the amount of identical calls that are going back to the server. Everything is working great but I have a question surrounding how this works across ...
techbusinessman's user avatar
1 vote
0 answers
285 views

DML on page action

I have the following situation in my plate ... On page load, a modal pops up. The modal is invoked on an action attribute in apex:page. The method that is on the action has an upsert operation that ...
MnZ's user avatar
  • 3,142
2 votes
2 answers
3k views

Control the Action popup page width in Lightning Experience [duplicate]

I have an action on Contact page which opens a lightning component. The component opens as a popup/modal window, at a specific width. How can I change this width to make it wider?
Dedo's user avatar
  • 4,967
4 votes
2 answers
19k views

Passing record id from quick action to lightning component

I have an action on Contact page which opens a lightning component. How do I pass the current Contact record id to the lightning component?
Dedo's user avatar
  • 4,967
7 votes
3 answers
420 views

Is there a clever abstraction to convert Lightning Component action responses to promises?

Coming from Angular and Ember, where making Ajax requests resulted in a Promise, I find it a little disappointing and frustrating that SFDC wants me to get back into callback hell by setting callbacks ...
Brian Kessler's user avatar
1 vote
1 answer
504 views

Custom Button Action launch in Browser and display blank screen in SF1

On an Account Object we had created a custom action called 'New Opportunity'.In this action we had defined certain fields and defined predefined values in those field.This was working earlier in Sf1. ...
Dhananjay Patil's user avatar
19 votes
8 answers
60k views

Set width of modal window of lightning action

Do you know how can I set the width of a modal window opened by a lightning component action? In the edit options I can set only the height but is not enough because the content of my table is not ...
DarkSkull's user avatar
  • 1,569
2 votes
4 answers
13k views

Is there a way to call javascript after action on visualforce page

I have an embedded visualforce page which calls a controller method on load. <apex:page name="calloutPage" standardController="Case" extensions="WsCallout" action="{!getSomething}" ...
Vick's user avatar
  • 43
0 votes
1 answer
384 views

Controller method not getting called when javascript validation getting passed

I have a javascript validation on click of command button(onclick="return validationFunc();"). When the validation is failing the backend action is not getting called(which is expected),however the ...
starhunter's user avatar
0 votes
1 answer
3k views

Simple action to change the record type of the record

I am looking for a simple way for the user to change the record type of a record. I would like to know if it is possible to have a button on the page layout for the record that the user is working and ...
Bartley's user avatar
  • 5,226
4 votes
1 answer
2k views

How to call controller extesion action from VF component

This question is similar to How to call a standard controller action of a VF page from a VF component, but there are two differences I see: I'm not using a standard controller the <apex:form> ...
Nick Cook's user avatar
  • 6,144
1 vote
1 answer
672 views

Failed to save undefined: The attribute "onactive" was not found on the COMPONENT markup://lightning:tab: Source

I'm trying to create a lightning tabset through an iteration. Every tab should call the controller when clicked. The SFDC Doc tells, that the Action onactive can be used for this, but it does't ...
CarnVanBeck's user avatar
0 votes
1 answer
825 views

Setting up scheduled actions in process builder: "Do you want to execute action..." not showing up

I'm trying to setup a scheduled action when a lead is created or updated. This salesforce trailhead tells me I need to check the box "Do you want to execute the actions only when specified changes are ...
CoinToss1010's user avatar
3 votes
2 answers
324 views

Can a single VF page override both a standard action and a list action?

To minimize the complexity and number of distinct pages in my org I would like to use a single VF page to override both the standard Delete action and create a Delete list view action that allows a ...
abd3721's user avatar
  • 2,132
7 votes
1 answer
841 views

Lightning Component Action Service - Alternative for 'deprecated' Exclusive actions?

Lightning Component Action Service uses a "boxcar" pattern to bundle server-side action requests into a single call, executes them all on the server, provides a bundled response and then the framework ...
Bryan Isbell's user avatar
0 votes
1 answer
207 views

Getting Error while calling a url from visualforce page

I am creating an action using a vf page that automatically redirects to a url.But,I am getting this error. My code is as follows : <apex:page standardController="Lead" action="https://composer....
Shobhit Saxena's user avatar
5 votes
2 answers
5k views

how to access the save button in a modal when implementing the force:lightningQuickAction

I am actually creating a component that will implement the force:lightningQuickAction so that my component open in a modal window from the action button.I would like to capture the event where the ...
vanessen's user avatar
  • 2,495
3 votes
1 answer
2k views

Action remains in queue in lightning component when launched from timeout function

I am actually using lightning components with VF, to allow my user to search for a particular account. According to the client spec, the user will only type their letters and the search result should ...
vanessen's user avatar
  • 2,495
1 vote
4 answers
3k views

Lightning component access denied

I have an action of type Lightning Component in which I use a component for handling lookup input field (here's link for this component: https://github.com/enreeco/inputlookup). When I open my action ...
rmatusiak's user avatar
  • 332
1 vote
0 answers
166 views

Can a community user create a new case from the record list quick actions on the Napili template

I would like to enable community users to create cases against my custom Unit object am I able to add the action on the record list? In the winter16 release notes it says "Related record lists: ...
Ben Hammonds's user avatar
0 votes
1 answer
377 views

Using the $Action Global Variable when the object type is ambiguous

When building links in Visualforce, I typically prefer using the $Action global variable and URLFOR(). e.g.: <apex:outputLink value="{!URLFOR($Action.Account.View,Account.Id)}" > As far as I ...
martin's user avatar
  • 12.5k
6 votes
1 answer
1k views

Possible to call a javascript and action function from click

I want to call a Javascript function as well as issue a backend call at the moment a button is clicked. This is my code right now : <apex:commandButton value="Search" action="{!objectCollection}...
user2582622's user avatar
0 votes
2 answers
56 views

How to remove salesforce standard '' action'' fuctionality?

I want to remove action header along with edit and delete ,how can i remove it .it is displaying after creating the records. and my users should not see that action facet
raja's user avatar
  • 3
2 votes
1 answer
1k views

Override or remove del link from action column in the related list for Activities

I've created a visual workflow that will allow users that has custom permission to delete activities (calls, emails...) and a delete custom button have been created to trigger the flow and override ...
Barbara Moraes's user avatar
1 vote
1 answer
496 views

How to pass parameters in action method of apex:page tag

I have overridden the view page of opportunity and based of certain scenarios I am redirecting to different pages. Initially I have used window.location.href inside outputpanel tag to redirect to ...
Y Singh's user avatar
  • 13
1 vote
1 answer
220 views

How to hide Status(standard field) values when status has particular value

Can anyone suggest me to achieve below action. I am using Status Field, when ever the status value is Open then i should be allowed only to few status like "In Progress" and "Need Information". And ...
srinivas ramachandrappa's user avatar
4 votes
1 answer
1k views

Lightning : How to add a button that executes a method at server side?

I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class. In Salesforce Classic, I am able to create a custom button where I can call ...
Samidjo's user avatar
  • 201
2 votes
1 answer
12k views

Apex Command Button using action and onclick not working

What I'm trying to do is have an Apex command button that on the click opens a new VF page and also, have an action that does some backend query to get data ready for the popup VF page. Not sure why ...
user2582622's user avatar
-1 votes
1 answer
6k views

Please help me with radio button action in lightning component:: [closed]

I am unable to trigger the action for radio button in lightning component. Here is the code for the radio button: <aura:attribute name="opportunities" type="Opportunity[]" /> <aura:...
Srinivas's user avatar
2 votes
1 answer
529 views

Salesforce Classic / Inline VisualForce Page - Can an inline VF page be edited while editing the main record (at the same time)?

Pretty simple question I think - but I googled it and searched for it on Salesforce stack to no avail so far. I have an inline VisualForce page (using the standard controller obviously) that sits ...
Morgan Marchese's user avatar
1 vote
3 answers
11k views

Display an alert on the visualforce page from controller

I have the following code in my visualforce page <div> <apex:commandButton id="btnSendI" onclick="something" action="{!Model.displayDoc}" value="Send " /> <input type="submit" ...
Rimii's user avatar
  • 381
8 votes
3 answers
507 views

Urban Legend? Must Return PageReference To Rerender

So when I was learning the platform, I was told during multiple code review sessions that in order to rerender after taking an action, you had to return a PageReference (even if null) in order to let ...
Adrian Larson's user avatar
  • 148k
0 votes
1 answer
196 views

How to make a form submit twice, to CRM system AND send a copy as an email

I was wondering if someone could help me with my code. I am using Saleforce (CRM SYSTEM) to track leads from our site. When people click 'submit' this sends the information and inputs it into ...
Chloe's user avatar
  • 1
1 vote
0 answers
262 views

Service Cloud console action JavaScript security error

We developed a very simple visualforce page with JavaScript to be used as an action in the service cloud console for the case object. Here is the page: <apex:page standardController="Case" > &...
Dagish's user avatar
  • 399
2 votes
1 answer
182 views

Changing the default User for Action in Case HIstory

I'm newbie to salesforce platform and starting to learn. Currently, we are using salesforce service cloud and have implemented ticketing system and have bunch of things being tracked in case history. ...
lalit's user avatar
  • 133
0 votes
1 answer
2k views

Add custom action to Action column on list view

Is it somehow possible to add custom action to Action column on list view?
mardok's user avatar
  • 195
3 votes
1 answer
6k views

Process Builder calling Apex: "We can't find an action with the name and action type that you specified."

I read the other references to this error, but I don't see one specifically relating to an Apex function call. I deployed a Change Set with the Process, Custom Setting & Apex classes. The class ...
Duncan Stewart's user avatar
2 votes
1 answer
1k views

URLFOR() not preserving retURL through Record Type selection

I'm trying to add an <apex:outputLink /> tag to a VF page and use the URLFOR() function to direct the user to create a new Case. I want it so that when they save or cancel on the new Case ...
dBeltowski's user avatar
  • 3,028
0 votes
2 answers
124 views

How to pass the value of a command link to different pages and perform action based on it?

I have a scenario where I wound choose a command link value based on the chosen value an action will be performed for "next" button in the third page which is a common page for both the command link ...
Priyalakshmi's user avatar
  • 1,456
2 votes
0 answers
2k views

Quick action from Visualforce Page loaded in Lightning Experience [duplicate]

I want to call an object action to create/update a record from visualforce Page that is loaded in Lightning Experience within a Lightning I-frame. I tried the following but it gives error, what am I ...
Sneha's user avatar
  • 541
2 votes
3 answers
20k views

how to call another visualforce page from an apex command button

I have an Apex command button in my Visual Force page. Using that button I want to call another visual force page, which in turn should call action function written in the controller. Please advise.
prasanth's user avatar
  • 177
0 votes
0 answers
95 views

How to avoid page reload on standard Edit action?

I have two pageBlocksection and i put QuickSave action on first PageBlocksection and it's working fine and it's rerender the next pageBlocksection but Now, i want one button on Second pageBlocksection ...
Nihar's user avatar
  • 1,172
0 votes
2 answers
2k views

How to avoid page reload on standardController standard action (Save)?

i am using stadardcontroller Opportunity on my visualforce page but my concern is i don't want to reload that Opportunity detail page when i click on Save Button... Code : <apex:commandButton ...
Nihar's user avatar
  • 1,172
1 vote
1 answer
800 views

Onclick of related list show more link, it's redirect to home page. while using apex:relatedlist and salesforce global variable action

So let me explain my issue. We have a custom object example custom_object__c. We decided to override the detail page using our custom VF page. SO we have one more VF page that will be home page of ...
Ratan Paul's user avatar
  • 22.3k
1 vote
1 answer
5k views

How to Give Default value to a LookUp field using Formula Editor

I have an action on which i have one Lookup Field "Year".Year is an object with only two records - 2015 , 2016. I have this value to be predefined as 2016 when user clicks an action While creating a ...
Samir's user avatar
  • 2,619
1 vote
0 answers
300 views

Problem with reRendering a component in vfp

I am doing a Add/Delete row functionality in vfp. Within this add/delete row pageblock am calling a component(which is having textbox). When I click on add row button it is rerendering the component ...
sfdc's user avatar
  • 53
14 votes
3 answers
4k views

Only rerender row in <apex:pageBlockTable> using <apex:actionRegion>

I have an editable page block table displaying SObjects records per row. There are also actions per row that only modify the row's record. <apex:pageBlockTable> <apex:column><apex:...
Robert Sösemann's user avatar
1 vote
0 answers
439 views

Unable to update (corrupt?) page layouts via Metadata API. Error: Invalid field:xxx in related list:xxx

Our application uses the Metadata API to make changes to page layouts. This mostly works great, but in the last month or so we've encountered several customer organizations where we get errors when we ...
zekay2000's user avatar
24 votes
4 answers
28k views

How invocable method and bulk behavior in Process Builder work?

I am trying to understand how invocable method called from Process builder behaves. I have Process Builder process on Account which has apex action. Apex action needs to be executed for record inserts....
apn's user avatar
  • 1,712
1 vote
0 answers
112 views

NPSP URL Buttons don't display in Lightning

I'm using the latest version of the NPSP and noticed that URL buttons are no longer supported for custom actions on related lists when in Lightning mode. This causes an issue because the org I'm ...
Lee Harrison's user avatar