Questions tagged [action]
The action tag has no usage guidance.
185
questions
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....
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 ...
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 ...
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
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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:
&...
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'...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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:...
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 ...
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....
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 ...
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 ...
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 ...
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" ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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;...
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 ...
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-...
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 ...
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.
...
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 ...
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 ...