The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
38 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
12 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
26 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
33 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
19 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
27 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
25 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
35 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
39 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
144 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
246 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
116 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
55 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
64 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
52 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
250 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
46 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
458 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
244 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
144 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
81 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 ...
0
votes
1answer
306 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 ...
3
votes
1answer
173 views

Custom button URL hack - how to send to specific email address

I tried to send a email from a custom button in opportunity, but I can't send to a specific email, I want send automaticaly when I click in the button. I try this but don't work. I can't send to a ...
1
vote
1answer
340 views

Button onclick change his text with an <actionStatus>

I'm able to display a loading image after a click on a button. <apex:commandButton id="myButton" value="Save" action="{!save}" status="saveStatus"/> <apex:actionStatus id="saveStatus"> ...
1
vote
2answers
285 views

Open a standard record page in edit mode Using URL

I have to open an order object which is linked to a case and the case is further linked to contact. I have to get an Edit contact button on Order to edit the order information. I have created a ...
0
votes
1answer
65 views

How do I make a custom button dynamic across objects?

I want the child Work Order Line Item object to inherit the record type from its parent Work Order. This will allow me to show a different page layout for the child that matches the parent. There ...
1
vote
0answers
364 views

Save using Jquery UI modal popup

I have a Jquery UI modal popup that is basically an iframe with a VF page within. The VF page requires the user to enter some data and either click SAVE or CANCEL. The problem is that if I use ...
2
votes
3answers
319 views

VisualForce apex:relatedlist - button redirection

I am having a little problem with visualforce and displaying a related list. The task is to display account related contacts and opportunities as a related list on a custom object. Account is a ...
2
votes
1answer
57 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
51 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
206 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
61 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
473 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
77 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
179 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
137 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
140 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
502 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
2answers
231 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
2answers
330 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 ...
5
votes
1answer
220 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
412 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
47 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.
3
votes
2answers
785 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
336 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
293 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
523 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
689 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
307 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
221 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. ...