The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 views

How to keep a button before creating a case automatically from prechat form in LiveAgent

We are using LiveAgent application for client support.We are using pre-chat form to capture the customer details like Name,Email,Casenumber etc.We are creating a case automatically based on customer ...
2
votes
1answer
21 views

Avoiding button action based on a condition

I have a button on Opportunity Page (button created and added by layout, normally), that perform an action. I'd like to do a check before this action is performed, based on the value of a field of the ...
0
votes
1answer
14 views

Button to display different messages before proceeding

I have two buttons. Button1 and Button2. Clicking Button1 button will show an intermediate page for the user to proceed "Are you sure you want to Action1?" ...
0
votes
0answers
24 views

Home component JS to hide a button

So I wanted to hide the "save & new" button on case edit page layout. So I added a home component, Narrow Left column and in the body click on show html. < !--------Wait for the loading of ...
0
votes
0answers
26 views

pre-populating the child event record with the parent campaign_id

Hope you are both well. I was wondering if I could pick your brains on one small piece (the only outstanding item) for this development. A I’ve created a custom button “create child event” which ...
1
vote
2answers
56 views

Show Warning Popup on standard Save Button Click

I have the requirement to show a WARNING POPUP / confirmation box based on a condition. If user edits the opportunity and changes the status to "Closed Won", then clicks on save then depending on ...
4
votes
1answer
32 views

How to trigger an apex:actionFuction from an apex:commandButton without a page refresh?

How can I add an apex:commandButton to a page doing the following: Executing an apex:actionFunction ReRendering some parts of the page (with reRender="") NOT redirect to another page / refresh ...
2
votes
1answer
34 views

Testing custom button

I am just trying to write a test method for my custom button. However I cannot find how to refer to the button in the test method and basically activate it. I managed to do this when I wrote a test ...
2
votes
1answer
27 views

How to Clone records on a pageBlockTable via Button

I'm very noob with apex and VF. My problem is: I've a pageBlockTable that shows a list of record from a Custom Object. Now I've a column of the table on which there's a button ("Clone") that should ...
0
votes
0answers
45 views

Custom create pdf button

I have a custom object stock, and I need the same button like the quotes create pdf button. So if a checkbox is selected select button is available and choose one of two templates and create a pdf, ...
1
vote
1answer
122 views

How to prepopulate custom fields by URL hacking?

I am able to copy and save a new custom object from a JS button in Account detail like this.. {!REQUIRESCRIPT('/soap/ajax/27.0/connection.js')} var fb=new sforce.SObject("Feedback__c"); ...
0
votes
0answers
45 views

Launch Visual Flow from custom button determined on Record Type

I have a custom button which sits on a Contact that launches a Visual Flow. If the Account relating to the Contact has an Account Record Type of 'Merchant' then I want the Flow to run as normal. If ...
3
votes
1answer
116 views

How to call a managed-package page controller's method from your apex?

I have a managed-package VF page that has a button which calls the page controller's method. While i can go to the page and click that button to invoke managed code, I would like to invoke it ...
4
votes
1answer
115 views

Put custom button on page layout when there is an error

We have an opportunity page layout that has a custom button on it for feedback regarding that opportunity. If the opp stage ='won' we want to force the user to provide the feedback. This can be done ...
1
vote
1answer
88 views

Users cannot see Change Status button on Case View page

I've noticed that some of our users cannot see the Close or Change Status buttons which normally appear in the cases List Views. They have permissions to read, create and edit cases. I have checked ...
1
vote
3answers
33 views

Standard Button not available in Salesforce1

Some of the Standard button are available on Web page but not on the Salesforce1 page, eg -- Share button. I am not able to figure out why this is not available.
2
votes
2answers
296 views

How can I override the Record Type selector and still use the standard “new” page

I would like to use a custom VF page for the record type selection page for new Opportunities but after that, I want the standard new/edit page to be displayed. I have the custom VF page set to ...
1
vote
1answer
124 views

need an alternative for the help text field limitation

When creating a new record, I need to be able to show a popup with some text. I tried using the help text on my custom fields but the field is too limited in size. What are the alternatives?
1
vote
2answers
104 views

disable save button in page for particular stage

Hey guys look at my scenario I have a stages(picklist field) in custom object. Requirement is i have to enable my save button only when the stage is 'completed' if the stage is other than 'completed' ...
2
votes
1answer
283 views

how to assign a JavaScript variable to an standard salesforce field to prepopulate it on an Standar Page Layout?

I made a custom button that prepopulates fields to create a new task and works fine. But I want to assing a js variable to an standard field (in this case Name or evt2 field of Task) and it does not ...
1
vote
1answer
361 views

URL Hack Button to send email

I have created a custom button on a custom object with the purpose of sending an email to a fixed email address (admin). I have used the forum examples to create that button and I understand it ...
2
votes
1answer
176 views

Remove 'Create New Case' button from Community

I have sandbox where community is enabled, and Case tab added to the community. When we click on Case tab list of Cases getting displayed and also a button on top with name 'Create New Case'. My ...
1
vote
0answers
133 views

MALFORMED_ID error on detail page button

I have a detail page button on Opportunity record . I am trying to call a Webservice class method and do some operation. I am trying to pass the Id as parameter. ...
3
votes
1answer
178 views

Mail Merge Button

I'm a newbie...and am looking for direction to create a mail merge button and add it to the task page. I understand how to create a button and add to the page but need some help in creating the code ...
2
votes
2answers
904 views

Visualforce Page Form Submission not going to Custom Controller Method, Just reloading page

I have a custom controller that has been working for years (literally), and for tens of pages. Basically, the page displays a form with a number of lead fields, and when the user clicks a command ...
4
votes
1answer
201 views

Javascript Button to run apex class

I want create a custom button that runs an apex class. This class create a record and open the detailed page of the record created. Do you know if is it possible? Do you have an example code for ...
2
votes
2answers
333 views

Buttons with dynamic titles in formula Field Buttons?

Question Is there anyway to create an image for a button with a variable title for use in a formula field? Background A common request I get is to put buttons in the page layout itself as the ...
13
votes
2answers
2k views

Changing the color of a custom button

Is there a way of changing a custom button color? Not a button on the visualforce page but rather the ones created under custom and links on an object. Thanks. -K
2
votes
1answer
109 views

S-Control Refreshes Page Endlessly (one-click owner change)

This code is actually on the AppExchange and is supposed to give one-click self-assignment of ownership on a case. When put onto the Layout, it never renders the control, and refreshes the page every ...
7
votes
2answers
310 views

Custom link or button to download most recent version of chatter file

Is there a particular url I can put into a custom link or button that will link to a chatter file, that when clicked will download the most recent version? I know I can use the download url to get a ...
5
votes
4answers
3k views

Using jQuery to disable VF page button onclick

Quick background: I've already tried disabling onclick via apex, but my disable does not execute fast enough in the UI. I'm trying to incorporate jQuery in my VF page code so that a button is ...
2
votes
2answers
2k views

Override 'New' button and redirect to VF page based on PageLayout assignment

I need to override the standard 'New' button with a VF page. Based on the record type selection, I am able to redirect to different pages. now my challenge is to decide the VF page redirection ...
3
votes
1answer
470 views

Button Validation Logic

I came across a simple example for validating that when a button is clicked, it verifies that something is true or false in the Record before allowing the normal button logic. ...
3
votes
2answers
196 views

Any ideas on creating a custom button for policy acknowledgement?

A URL field will link to externally hosted policy documentation that users must review and acknowledge once per year. The Salesforce.com system needs to track who has acknowledged the policy and ...
5
votes
2answers
7k views

How can I update a field with a custom button?

I would like to create a custom button for use on an object detail page that when clicked updates a field on a the record. So far I've looked at two methods, but neither one works perfectly. I tried ...
1
vote
3answers
2k views

Override the standard save button with a custom button

I am planning to do something like below: Create a custom detail page button to replace the save button. When user clicks the button to save a record it should execute the standard save method after ...
11
votes
7answers
5k views

Is it possible to remove/hide the “New” button?

When you click on the Opportunities tab, (assuming you haven't modified standard salesforce layout), you see a "Recent Opportunities" list. At the top of the list, there is a "New" button. Is ...
10
votes
3answers
3k views

How to check if a record is locked or not in Apex during an approval process

I have an approval process on a Custom object and also two custom buttons on the same record. Once the record goes into the approval process, it gets locked. During that period, I want to ...