Questions tagged [action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
4k views

<apex:commandButton> action doesn't work every time

I have implemented three dependent picklists like below: There is one visualforce page (standard controller for Opportunity with extension). This problem is connected with an action for Search button....
Piotr Szewczyk's user avatar
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
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
2 votes
1 answer
181 views

Does anybody have "New Task" implements QuickAction.QuickActionDefaultsHandler sample code?

Anybody has sample code for "New Task" action implementing QuickAction.QuickActionDefaultsHandler on Case Feed layout? Thanks Hari
Hari's user avatar
  • 21
2 votes
0 answers
849 views

Filtering an Action button on a record based on active User

I am trying to display a Create a Record button only if the user looking at the page is the same user in a related user field. I currently have a formula checkbox field that is true if the active user ...
Chris Berghoff's user avatar
2 votes
0 answers
47 views

'Create a Record' Action Navigation

Scenario: I currently have an Action associated with the Account object that creates a new Opportunity, with fields mapped to that new Opportunity, from the Account where the user clicks the Action. ...
Mr. B's user avatar
  • 425
2 votes
1 answer
431 views

How do I add customer attribute personalization to my online optimization asset markup in Interaction Studio?

I have been trying to work out a way of reading the customer attributes for an individual in order to create a personalized message. I'm assuming I'm looking to tdo this by adding some syntax in the ...
Nick's user avatar
  • 65
2 votes
0 answers
30 views

Can a Flow "know" the specific Quick Action that called it?

I'm hoping to create one flow and have two different Quick Action call it. Wondering if it's possible for the flow to "know" which Quick Action initiated it so that we can build in some decision ...
Eric Luu's user avatar
  • 890
2 votes
0 answers
283 views

Lightning custom button like Javascript button on classic

we have some requirements for which we need to build-up buttons like "javascript button" enabled for Classic version of SF. If I would like to reproduce the same behaviour in lightning the only way ...
Fabio Maturo's user avatar
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
0 answers
61 views

Reload Page for new Page Message

I have below page snippet where after facet execution to "stop" , I need a page reload. Currently it's not happening hence retaining older page message. Can someone please guide me? Page Snippet: &...
Testing_SFDC's user avatar
  • 2,940
2 votes
1 answer
228 views

Is there any way to have a Case workflow rule create a task with WhatID set as the triggering Case's AccountID?

I have a workflow rule on the Case object that is supposed to create a task, but I want to associate the task with the Account that the Case belongs to, not to the Case itself. I have seen that I can'...
OBerm's user avatar
  • 1,224
2 votes
0 answers
41 views

Publisher Action without Publishing to Chatter

Good afternoon all, Is it possible to enable the log-a-call publisher action but not post to chatter? I want the publisher action to create a log-a-call record but I don't want it to create a post ...
pziggity's user avatar
2 votes
1 answer
158 views

Why is there no actions for event objects?

I would like to add a Publisher Action to an Event object so that I could have this action in Salesforce1
Thibault Jacobs's user avatar
2 votes
0 answers
383 views

What types of Visualforce pages cannot be used with Publisher Actions?

I created a VF page using code from Salesforce help files: https://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_access_data.htm It uses the Account standard controller and ...
snugsfbay's user avatar
  • 956
1 vote
2 answers
4k views

lightning:datatable actions menu is hidden

The actions menu that is supposed to show when you click on the downward arrow on the right-end of a row is not showing. My component is dead simple: there is a lightning:datatable inside it ...
Mossi's user avatar
  • 3,906
1 vote
1 answer
5k views

Why are Lightning Actions for Case Object showing in Feed?

I'm trying to create a button for a case detail page. However I can't get anything to show in the highlights panel at the top. I've created a new page layout for Case that isn't feed tracked but it ...
rna7's user avatar
  • 347
1 vote
1 answer
2k views

Clean way to default child record values from parent record in Lightning Experience?

A customer is asking that a status field on a child record be defaulted to a value from a parent record when the "New" button is used on the "Related" tab of the parent record. Can this be ...
Keith C's user avatar
  • 135k
1 vote
1 answer
4k views

How to download a file created by APEX

When user clicks the download button in VF page, the apex code has to generate a xdp file on the fly and should get downloaded in the user machine. The below code creates the attachment. I don't know ...
Saranya's user avatar
  • 476
1 vote
2 answers
1k views

Automatically Publish Knowledge Article

I am trying to implement a requirement where few knowledge articles based on the priority(custom picklist) will be auto published immediately they are getting created. I am currently doing this with ...
Sudipta Deb's user avatar
  • 1,261
1 vote
1 answer
678 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
1 vote
3 answers
4k views

how to control the height of a visualforce lightning action

We're checking the feasibility to roll out lightning experience to our users. We had a couple of layouts where we had inline visualforce pages. Since lightning experience changes the mindset of ...
KoenVM's user avatar
  • 2,416
1 vote
2 answers
1k views

Command button display control

I have two command buttons (say A , B). I want when A is clicked then only B would be shown. When B clicked then it would be hidden again. Is this achievable ? Please find my page below. Page snippet:...
Testing_SFDC's user avatar
  • 2,940
1 vote
1 answer
942 views

Flow Currency Decimal Places being dropped when passed to Apex Class

My flow has a screen where the users enters a value in a currency field that has 2 decimal places and that value gets passed to a variable in an Apex Action within the flow. For some reason, when I ...
Heather's user avatar
  • 51
1 vote
2 answers
2k views

Schedule action in process builder not working

I have a requirement where I need to send an email to contact 1 hour after the created date but for some reason it is not working. But it works perfectly fine when I try to add it as immediate action....
Hari Ha's user avatar
  • 127
1 vote
1 answer
174 views

apex:selectCheckboxes Command button stops working when an option is selected unless you click the button at least once before selecting any options

I have the following page: <apex:page controller="testPageController"> <apex:form> <apex:selectCheckboxes value="{!selectedContacts}"> <apex:selectOptions ...
gNerb's user avatar
  • 9,441
1 vote
1 answer
625 views

Animation on opportunity closed won status

Is there a way to show some animation on the page once an opportunity is set to closed won status? I'd like to have some animation like money falling or fireworks to keep the sales team motivated once ...
Dennis's user avatar
  • 49
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
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
  • 371
1 vote
1 answer
813 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.5k
1 vote
1 answer
2k views

Can a page reference method be called from within a void method?

My use case was--> referenced a void method in the action attribute on an apex:page In the void method, check for a condition. if true, do nothing, else call a pagereference method to redirect ...
arlon's user avatar
  • 13
1 vote
2 answers
5k views

How to get current record ID in a Visualforce Global Action?

I have created a Visualforce global publisher action with the intent to add it to the Chatter actions menu for several objects in the organization. The action should be able to post a message ...
Jason Hartfield's user avatar
1 vote
1 answer
3k views

URLFOR($Action.Account.Edit,Account.Id,null,true) redirects to edit page but unable to save or cancel

I'm using Account edit button override with custom visualforce page. In the visualforce page, it correctly redirects to that particular Account edit page, but the save and cancel button doesnt doesnot ...
user59759's user avatar
  • 581
1 vote
1 answer
35 views

VisualForce page Action not using updated data

Situation: Sales reps use an external quoting tool. It tells them the total amount of all products (product1 and product2) and the separate amount of 1 product (product 2). Rather than them needing ...
Ahowell's user avatar
  • 15
1 vote
1 answer
1k views

Dynamic action with filter based on Role is not visible on record page

I am stuck in one thing. I have added one dynamic action on record page with filter based on Role. When logging in with end user with this Role, I am still not able to see this action on my record ...
Anoop's user avatar
  • 47
1 vote
1 answer
1k views

Missing Apex Action (legacy) in environment - unable to refer the same on flow

I have a class implementing Process.plugin interface and being used on an existing flow. Whenever I try to make any changes on the flow and save I get the We can't find the Apex callout for class . It ...
Sagnik's user avatar
  • 595
1 vote
1 answer
900 views

While offline in the Field Service Lightning mobile app, how can I determine if a record has been deleted?

When a record is deleted while offline, how can I filter it out of subsequent Get Record flow elements? Our most common use case for deleting records is removing Product Consumed records via the ...
K. Langston's user avatar
1 vote
1 answer
252 views

Lightning controller action not working for an specific user

I have a code that enqueue one lightning action. This code is working fine for my System Administrator user but if I try calling it from any other user it retrieves this: Se ha producido un error ...
molinet's user avatar
  • 867
1 vote
1 answer
1k views

Custom Quick Action of type 'Send Email' is not shown on a case record

I have created a Custom Quick Action of type 'Send Email' on Case object. (See attached image below). I have put it on the Case layout and somehow I don't see it on the Case record. Only the standard ...
sfdcdev's user avatar
  • 389
1 vote
1 answer
379 views

How can I set an ActionOverride with metadata API? (Using JSforce)

I am trying to use JSforce to set (update) the type, content, and comment fields on Account's New and Edit actionOverrides. I've been reading the documentation for the SalesForce Metadata API as well ...
Neo's user avatar
  • 775
1 vote
0 answers
2k views

Error when send email from Flow?

I create the screenflow that calling Send Email Action this flow will triggered from Action Button that I put on record page. when I activate this flow and test to sent an email from record page I got ...
naticap's user avatar
  • 121
1 vote
0 answers
101 views

Can I config number of action in boxcar request?

I created a community site. In the site I have a form with a lot of item dynamic (item stored in database: type (input, radio, checkbox,...), label, max length,...) When I submit form, cause of number ...
chipcoiga's user avatar
1 vote
1 answer
467 views

can standard action component fire an event on a LWC?

I have an action on my record page to update a field. Field tracking is enabled for that field. I developed a LWC that renders the history records for that field and it is placed in the same record ...
Kevin Maldonado's user avatar
1 vote
1 answer
450 views

Highlights Panel never shows action icons?

I want to check if I'm missing something or if the "Highlights Panel" component that allows custom actions to be added just does not (by design) show custom action icons. I assume the latter;...
Keith C's user avatar
  • 135k
1 vote
0 answers
504 views

SF FLOW - Remove duplicated Opportunity records from Opportunity Collection using Apex Action

I am currently working on a flow in Salesforce Lightning using the Flow Builder and I would like to remove duplicates from an Opportunity collection before updating it. In order to do so I created the ...
Yann M.'s user avatar
  • 23
1 vote
1 answer
701 views

Process.Plugin to Invocable Method in the Apex Classes

We are currently using the Apex Class with Process.Plugin that is refered here in the article https://developer.salesforce.com/blogs/developer-relations/2012/03/visual-workflow-converting-leads-with-...
user81642's user avatar
  • 667
1 vote
0 answers
365 views

Buttons, Links, and Actions not being applied to Community (since Digital Experience rename - 1/13/2021)

We have an override of our 'Edit' Action on the Case object. In the past, when using the 'Edit' Action, regardless of whether you were logged into the community or not, it would apply our override ...
Arjun Kumar's user avatar
1 vote
0 answers
61 views

What is `$Action.Custom_Object__c.CreateFromLookup`?

When creating a custom button, I see an $Action value I can't find documentation on - $Action.Custom_Object__c.CreateFromLookup. It's not on the list of Valid Values for the $Action Global Variable. ...
Charles Koppelman's user avatar
1 vote
0 answers
153 views

Translate Flow Label

we are using Flows in the Actions & Recommendation Section on the Leads Object. My problem is: We can translate the most content of this flow, but NOT the label. But this label is displayed in the ...
hannes-83's user avatar
1 vote
0 answers
48 views

Find column from event was fired

experts! I have LWC data table populated with data. One or more columns contain Button element. I want to show some 'master-detail' information by clicking this button. I tried to handle onRowAction ...
pwaszkiewicz's user avatar