The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
27 views

Strange Behavior with Log A Call Button When Creating Follow Up Task

I'm encountering some rather odd behavior when using the standard Log A Call button. Basically when creating tasks, I want to take some information from the task itself, and update the related ...
0
votes
1answer
25 views

How to create a button that will execute javascript function in Viaualforce Page

I'm trying to create a button on a visualforce page that when clicked will execute a javascript get to submit a form to a remote page. I would truly appreciate any help! Thanks in advance! click: ...
2
votes
1answer
26 views

<button type=“submit”> apex equivalent

I would like to know I would be able to convert the following codes into apex equivalent. <button type="submit"> <span></span> </button> I can't use ...
-1
votes
0answers
29 views

Add customized button in Calendar?

I'd like to add a button in my calendar, but in a fast way. I'd like avoid to do the complete visualforce. Is it possible? Thanks all!
-1
votes
1answer
24 views

Trigger for Freeze Button in Salesforce

Is it at all possible to create a trigger, workflow rule, process builder, flow, etc that would automatically update a custom field on the User object when the "Freeze" button is clicked on the User's ...
1
vote
1answer
26 views

Dynamic Button functionality Error as HTML Getting away

I am having a dynamic button on home page side bar problem. I am not much into Jscript and Jquery so any help would be appreciated. I have a button which needs to be displayed only to few users based ...
1
vote
1answer
23 views

Set up an Alert on the “New” opportunity button

Is there any way to set up an alert message when a user clicks the "New" button either on the Opportunity object or on the account related list? I don't think creating a new button will help because ...
3
votes
3answers
128 views

Making trigger into a custom button

I am new to Salesforce development. I made a trigger that creates a new asset record and autofills some of the fields on said record. What I want ultimately would be a button that I can put on the ...
0
votes
2answers
40 views

How do you add help to buttons? [closed]

I want add help text to every button. How do I do it?
0
votes
2answers
36 views

How to mark a checkbox in the related opportunity from a quote button?

I am trying to mark a checkbox via a javascript button, i.e. update it as true. The checkbox is a field (Precisa_Cota_o_Frete__c) in the opportunity, but I want the button to work from the quote ...
0
votes
0answers
30 views

Add custom button into the Price Book Entry Search Layouts

I would like to add custom button into the "Price Book Entry Search Layouts". In the documentation, it says : it speaks about custom button. :/ I speak about this page : ...
4
votes
3answers
65 views

Access field Information in a URL button

Why does this not work within URL buttons: /XYZ/e?{!$ObjectType.myObject__c.fields.myField__c}=what+Ever I know XYZ can be replaced by {!$ObjectType.myObject__c} but why can I not go further? ...
1
vote
1answer
17 views

display visual force page without modification button

I have a visualforce page called /apex/fileDetails and i include it in my object as button but when i click on it, the page is opened but with the button modification at the bottom of page (it's the ...
0
votes
2answers
106 views

How do I override a new related list button to redirect to a VF page (custom controller)?

My new related list button should redirect me to the New VF page for the child object, with certain fields from the Master on this form pre-filled. I can't seem to be able to both prefill the fields ...
0
votes
1answer
29 views

New Button on Lookup Search Layout

On my Opportunity object I have a look up to Primary Contact. I would to enable users to create a New contact when using the lookup. I would like to have a 'New' Button next to 'Search' search layout. ...
2
votes
3answers
50 views

Button in an Email

Is it possible to have an email alert fired from Salesforce contain a Button, and then for that Button to send a response back to Salesforce if clicked? This would be used in a Case/Ticket situation ...
0
votes
1answer
28 views

Custom Button to update Record Type and open in Edit mode

I have two record types on Opportunity. Stage 1 and Stage 2. I would like to use a custom button to update an opportunity Record Type from Stage 1 to Stage 2 and open the current opportunity in edit ...
2
votes
1answer
59 views

Trying to re-direct VF on clicking Save button not working

So I was trying to create a VF page which on clicking Save will re-direct the page to google form and following is the code I am using. This is currently loading the page back to VF on edit mode. ...
1
vote
1answer
101 views

Javascript navigate to visualforce page button

I basically need to mimic the button content source: Visual Force Page logic I can't use the Visual force drop down button because I need to check that a field is filled in first. So I need to use ...
0
votes
0answers
57 views

Flow Error when inserting Order Products

Using this appexchange(Generate to Order) to generate Orders from Opportunities and seems to be working properly in Sandbox but having an issue in production and we are getting below error when ...
3
votes
1answer
75 views

Custom button on account list view to assign child records to parent

We upload lists of accounts/contacts often. There are occasions when we upload a list that includes a new location for an account we already have in the system. I would like to be able to mass assign ...
1
vote
0answers
46 views

Customize “ Select Products to Reduce” button on Reduction Order

I am trying to customize the Select Products to Reduce button on Reduction Order but I don't see the button available on Order Product and also I don't see a way to remove the button from pagelayout. ...
1
vote
1answer
37 views

How can I fire the “Submit for Approval” button on the lead form via the api?

I've recently been asked by a customer to mimic the 'Submit for Approval' button on the lead form via the api for various leads. I can see that this is a standard button and I assume that the process ...
0
votes
1answer
73 views

How to take the snap from the button Click

I want to take the snap from the button Click(Take Picture). When I open the account, "take snap" button should appear on top and if we click that button, the web cam or phone cam turn on. after ...
0
votes
1answer
75 views

Check the current field value before updating in custom button

I am creating a custom button that will update the Status field on the Case object to "Resolved". Before the field is updated, I would like to first check if the field already is set to "Resolved". ...
0
votes
2answers
87 views

Custom Clone Button - Default values to blank

I would like to create a custom clone button on the case object that clones all of the case but I want two fields - Escalation_Stats__c, Escalation_2 to default to blank. Below is the code I am trying ...
0
votes
0answers
21 views

window.alert on custom button

I have a custom button on Account Object. Currently its set as: Behavior = Display in New Window *Content Source = URL ...
0
votes
2answers
140 views

Detail Page JavaScript button on Custom object

I have a custom object that has lookup to Contact. I need to create button on the custom object "Pipeine__c" that when I click it creates a NEW Task and it copies the contact name from the ...
0
votes
1answer
84 views

JavaScript Button to create a User from the Case object

I am creating a JavaScript button on the 'Case' object and if the user selects the button it will create a New User. I'm able to map most of the fields from the Case to the User page just fine but for ...
0
votes
0answers
46 views

Convert a custom DocuSign button for use on Salesforce1 or the Mobile Site

I have the following that I want to add to Salesforce1 or the mobile site. I know you need to create an action, and that it requires a VisualForce page. Could someone please walk me through ...
1
vote
1answer
69 views

Disable Button Not working for save button

I have used page block button in one page for save button so that I can have two save buttons at the top and buttom of the page.I have to disable the both the save button once clicked both at top and ...
1
vote
2answers
60 views

Being able to switch between two Page Layouts?

So we have an object in our organization that I recently had to convert a bunch of the fields into another type. I did this by creating new fields and then with APEX, converting the data for each type ...
2
votes
1answer
23 views

List button to be used in detail page button

I have a List Button on a custom object. I need to use that button in that object as detail page button. Please find the VF page that List button calls here. Page: <apex:page ...
0
votes
0answers
69 views

getting a button error onclick sync with mailchimp

A problem with the OnClick JavaScript for this button or link was encountered: Unexpected identifier {!REQUIRESCRIPT('/resource/ChimpSync__ChimpSyncJS')} ...
0
votes
0answers
44 views

Salesforce1 nooverride not working

We need to override Edit button on Account object. A visualforce page is used to verify whether the user has rights to edit the account. If he has, he is redirected to the standard Edit ...
0
votes
2answers
42 views

How to approach for this webservice request?

Currently I'm displaying orders and related objects in a visualforce page. The new requirement is: For every order a hyperlink/button will be added. On clicking that button, a related document from ...
2
votes
1answer
59 views

Link to custom visualforce detail page

I have a page that displays Ideas dynamically with page blocks and repeater. I would like to be able to click the title of the Idea as a link that would take me to another custom visualforce page that ...
3
votes
1answer
237 views

JavaScript Custom Button for updating Case Fields

I want to update some case fields and populate an email template via a custom JavaScript button. Thanks to your answers to questions in the stackexchange, I created buttons that do that but send out ...
0
votes
3answers
608 views

Standard Save button on visualforce page doesn't update standardController

I'm trying to save a checkbox value (and eventually a pulldown list of invitee status) with a standard Save button but all it does is refresh the page. I want to update the custom object ...
1
vote
0answers
185 views

Add new record, then add master-detail record on save

I have a master-detail record that works like this: Contact > ContactEmail > Email (based on this many-to-many document: ...
2
votes
1answer
106 views

'Email Quote' button issue

The 'Email Quote' button which is visible on the page layout on Quote records, is greyed out. I have added the 'Allow Email' permission to all of the Quote Status Values and this has not resolved the ...
1
vote
0answers
87 views

Show list buttons when user clicks on Go to list link

How to show list buttons when user clicks on Go to list link in related list.I see there is a idea posted. Any work around for this.
0
votes
1answer
148 views

can i make a ajax post from a salesforce button

I have a button on salesforce record page which calls a url with parameters from a post call is made . Is there a way i can make post call from salesforce button directly?
5
votes
2answers
357 views

Javascript get field ids for URL

I'm trying to replicate the "New" button on a related list. The only difference is that, if a record of that type already exists, then it simple returns an alert. Otherwise the "New" activity should ...
2
votes
1answer
67 views

Hiding/Deactivating “Demote” button on Ideas

I'm looking to implement "Ideas" in an organisation, but they have concerns as to having a "Demote" button being against the spirit of the initiative. There doesn't seem to be any good options for ...
1
vote
1answer
783 views

Remove or Hide New task/New Event button from Activity List View

I need to remove or hide New task/New Event button from the standard Activity List View. I want to show users the list view but do not want any user to create a Task/Event from that view. Is there any ...
1
vote
2answers
350 views

Display in existing window without sidebar option for the javascript button

I have implemented the code in the JavaScript list button. the problem is when we click that button form the listview pop, the page is open with in that popup. so how to avoid that. see the below ...
4
votes
1answer
262 views

Custom button on list view

I am trying to build a button in the list view to: Change case ownership to the current user Change the case status to work in progress I have the following code in the detail page that works ...
1
vote
1answer
104 views

VF Page Not Found issue with Managed Beta Package

When I am creating an Unmanaged Package and Test it in demo org - It works fine as I required, but when I create Managed Beta of the same package and Install it in Demo org and Test, It does not open ...
1
vote
1answer
437 views

Change color of custom button based on field value

I am trying to do the same thing as this question (set the color of a custom detail page button): Changing the color of a custom button but I want the set the value based on the value of a field in ...