The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
22 views

How to get child record value from parent in AJAX toolkit?

I have onclick javascript code: var a = sforce.connection.query("select Name,Net_Price__c,(select Name,Net_Price__c,Price_HT__c from Services__r) from Rfleet_Car_Set__c where id ...
0
votes
0answers
20 views

Send With DocuSign Button not Working

When i Click on Send with DocuSign Button On contact its showing me this error Unable to display this envelope either because the user has insufficient access or the envelope does not exist. Can ...
0
votes
0answers
14 views

Custom Button Ajax CORS Error

Running the following code as a button: {!REQUIRESCRIPT("/soap/ajax/19.0/connection.js")}{!REQUIRESCRIPT('//code.jquery.com/jquery-2.0.3.min.js')} $(function() { var params = { // ...
0
votes
2answers
13 views

Override FlowPageBlockBtns CSS for Visual Flow page?

Has anyone been successful in overriding the FlowPageBlockBtns CSS for a Visual Workflow VF page? ...
0
votes
0answers
11 views

Refresh the fields in salesforce

I have an external URL i.e. from Php. I just want to hit That url by sending(POST) 2 parameters from sales force and Then update the fields. I could achieve this by creating a button if I click on ...
1
vote
0answers
35 views

Feature works in sandbox but not in production

I've developed a button to send a custom email with a template in an Opportunity for a client. All went well in his sandbox environment, but when the feature hit production, Salesforce won't stop ...
3
votes
2answers
42 views

Submit button won't ReRender my VF Page

I am in the final stages of creating this awesome custom VF report. Everything is coming together but now the Output Panel won't refresh. I have it setup so an end user can select a date range and ...
0
votes
1answer
45 views

Javascript Button Error: Missing )

I encounter this error: missing ) after argument list in javascript salesforce when running the following: {!REQUIRESCRIPT("/soap/ajax/35.0/connection.js")} ...
0
votes
1answer
20 views

How to get userID using javascript in a button

Here i am trying to get the userid if i get userid, i've to check if that userid is present in an public group and perform some function. but it's showing some error. can anyone please help me out. ...
1
vote
1answer
26 views

How can I Hide the button on (activity history Standard layout)based on the field selected on Accounts

I have 3 fields on Account and 3 different buttons on contacts On Account If Field A has value then Button 1 should appear to the User On Account If Field B has Value then Button 2 Should appear ...
1
vote
1answer
50 views

'Edit' button to open a vf page in new tab

I have overriden the standard Edit button with a vf page now I would like open the page in a new tab. How can I do this? VF Code: <apex:page standardController="Notes__c" extensions="Notes" ...
0
votes
0answers
47 views

Add to campaign button missing form contact related list

The add to campaign button is missing from the contact (campaign history )related list and is showing on the leads related list. The button is on the page layout and assign to the correct record type ...
1
vote
2answers
117 views

New button in Lightning [closed]

I have a lightning custom page and I need to include a New button to create a new record. How to do this.
0
votes
1answer
72 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
77 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
30 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
21 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
26 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
12 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
38 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
19 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
47 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
244 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
117 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
121 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
43 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
35 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
23 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
43 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
175 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
16 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
114 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
129 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
140 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
89 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
474 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
49 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
42 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
102 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
171 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
229 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
62 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
50 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
72 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
416 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
105 views

How do you add help to buttons? [closed]

I want add help text to every button. How do I do it?
0
votes
3answers
70 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
88 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
124 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? ...