The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
36 views

Difference behavior with input button and button tag in VF page

I have created two VF page. With input type button With button tag like below First VF page <apex:page controller="testVFPageCtrl"> <apex:form id="frm"> {!string1} ...
1
vote
2answers
41 views

Can I build a custom button to submit a opportunity into approval process?

Is there any way to create a custom JS button that will push a opportunity into one of my specific approval processes? Thanks!
1
vote
2answers
21 views

how to override the save button to : excute the save action + execute callout

On an object detail page, I want that once the user clicks on the save button, the object is saved, and a web service callout is executed. Thus, the user feels it's a "normal" save. Is there a way to ...
0
votes
1answer
17 views

Variable from record with custom button

I have made a custom button that launches an apex class from the following javascript code: {!REQUIRESCRIPT("/soap/ajax/10.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var ...
0
votes
2answers
23 views

Mass Close Button on Case Object Should have Access Only for Few Users

Can any one help me on this ? Standard Mass Close Button on Case Object Should have Access Only for Few Profiles and in that profile only few users it should have Access . For Example : Say for the ...
0
votes
0answers
7 views

Mail Drop “Add Email” Button on Mac

I have apple computer. When I use the mail drop "add email" button to salesforce, it pastes in with this in the beginning (at least half of the time). Are we able to remove this? v:* ...
0
votes
1answer
32 views

Detail page button calling Apex without new window

I would like to add a custom detail page button to the order page which is only executing Apex. Without displaying a new window. For the moment, my custom button is linked to a visualforce page which ...
1
vote
1answer
17 views

URL Button Lookup Field Population Cannot Handle Contact with Same Name

I have been creating a URL button to create records and prepopulate the records with information. There is a lookup field to the Contact object which is giving me issues as there are multiple ...
0
votes
2answers
38 views

SAVE BUTTON :Selected Cases does not get closed on Save Button ,it Closes all the cases

Can any one help me out on this? I have a created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save button does not work as per the ...
1
vote
2answers
131 views

Preventing a reload/refresh on form submit in Lightning

i have created a form in salesforce lightning using form tag and one button there is inputtype="submit", value="submit", i dont want to reload the page when submit clicked. please help me out. ...
0
votes
1answer
68 views

Save and Cancel Button not working

Can any one help me out ? As per the requirement , i have created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save and Cancel button does ...
1
vote
1answer
67 views

Removing "Save & New Task' , 'Save & New Event' button

Can we rempove a button from the edit page layout of standard page. with out overriding.i need to remove the button fully.How can it be possible. above attached was the edit layout of the standard ...
1
vote
1answer
37 views

use javascript button to update fields on case and push through assignment rules

i'm trying to create a javascript button to update some values on a case record and then push it through the assignment rules. the following code updates the fields i want but doesn't push it through ...
0
votes
0answers
27 views

Javascript working for some profils and not for others

I have a custom javascipt button (Code below) : {!REQUIRESCRIPT("/soap/ajax/25.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var visitobj= new sforce.SObject("customObject__c"); ...
0
votes
0answers
20 views

Rendering PDF from a picklist and button

So I'm made a VF page, that displays a record accordingly. I have another list of related other records that display on the picklist off to the side. Is there a way I can program a button that queries ...
1
vote
0answers
34 views

Calling VF page for external objects

I'm trying to build out a call to a VF page that is referencing an external object from a custom button on the detail page. I'm trying to figure out how to pass the ID of the record into the VF ...
0
votes
0answers
83 views

Add a new row to pageblock table when clicking on a button

I want to add rows to a pageblocktable when clicking on a button. My current controller displays all the rows so I want to make it work to add rows when clicking on a button. 1st row should display ...
0
votes
0answers
22 views

Prevent users to create opportunity based on field value on Account

We have a custom List button 'New Opportnity', that appear on opportunity related list on contact page. Need a new functionality - User should be able to create an opportunity from Contact page only ...
1
vote
0answers
12 views

no contact field for JS button in Quote

Maybe it's Friday or something, but I have one JS button on detail page for Quotes and I wanted to check if Contact field filled, but as it turned out I can't access it from there. And it even isn't ...
0
votes
1answer
85 views

Javascript Button Error, Winter 16?

I have a button that needs to open in the Service Console, and here is my javascript, any ideas? This is a new error and I am not sure how to handle, that is stopping a lot of activities Error ...
2
votes
1answer
71 views

Custom 'new' button to create child record and set saveURL to parent

What i want to do should be easy to do via URL hack, but looking at legitimate ways of doing this. I want to create a child invoice line item from parent invoice and set the save url to the parent ...
2
votes
2answers
124 views

Get all Button who have used JavaScript

Is there any way to find out all the Button in org who have used JavaScript in it. Or Lets make it more simple - How can I get List of all Button in sObject. (Where also I can differentiate ...
0
votes
4answers
64 views

How to make apex:details read-only?

I've got very simple page: <apex:page standardController="Employee__c" readOnly="true"> <apex:pageBlock title="Hello {!$User.FirstName}!"> You are viewing the ...
0
votes
2answers
293 views

Pass value from OnClick JavaScript Detail Page Button to a Controller

Good morning. Is there a way to pass a value from an OnClick Javascript Detail Page Button to a Controller other than the controller that the button is on? This is my JavaScript: ...
1
vote
0answers
48 views

Custom object has standard “List” action , how to get a “List” button onto the page layout?

I must be missing something simple. I have made a custom object, call it TestLog. If I click my TestLog object to see details, in the section "Buttons, Links, and Actions" I see eight items: Accept, ...
0
votes
1answer
33 views

Replacing a javascript list button with a visualforce page to run on group edition

I am less than a novice at this. I was able to piece together some javascript to enable a button on list view that would allow me to make selections of "students" and then mark them as "attended" by ...
1
vote
1answer
84 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
100 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: ...
3
votes
1answer
148 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
1answer
52 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
49 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 ...
2
votes
1answer
58 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 ...
4
votes
3answers
341 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
83 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
57 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
68 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
116 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
36 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
503 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
195 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
85 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
227 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
84 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
345 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
140 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
145 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
89 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
106 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
149 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
319 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". ...