Javascript is a weakly typed interpreted programming language primarily implemented by web browsers to allow for client-side scripting. It can be used in Visualforce pages to give a more dynamic experience to end users. Additionally, the Visualforce engine generates and uses JavaScript to support ...

learn more… | top users | synonyms

3
votes
1answer
24 views

What is the best practice to implement custom button?

I planning to use custom button. I can write all the functionality related to button using Javascript API, so that i do not need to write any apex code. Another way is i can write an apex class and ...
8
votes
3answers
41 views

How can I set a date field to null using Visualforce JavaScript Remoting?

Background I've tried to set a Date (and DateTime) field to null using JavaScript Remoting, but I've only succeeded in getting an error message or setting the date to 12/31/1969 6:00 PM. Code ...
1
vote
1answer
17 views

Creating multiple related objects from execute jscript list button

I'm trying to create multiple records of an object called Guarantor__c, a child of Opportunity and Contact, on button click. All of the Guarantor records should relate to the Opportunity on the page ...
1
vote
0answers
19 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. ...
2
votes
1answer
37 views

Getting Instance Name of Org

i am stuck in a problem.i have to call rest api but i have to get session id from a visual force page .in cookies there is sid from where i can get session id.but from where i get the instance_name of ...
2
votes
1answer
18 views

Trying to create Rollup but values not showing up in Field to Aggregate

here is my ServiceItem_Summary view: However when I try to create a rollup summary in Case, my newly added field NonWarrantedServiceType is not showing up in the Field to Aggregate drop down. Do ...
1
vote
0answers
28 views

JS.Class with Visualforce

Currently I have been trying to implement the JSClass library within my VisualForce page - mainly to have a clean implementation of Sets and HashMaps without trying to roll my own (and have it fail ...
6
votes
2answers
53 views

How to USE sendCTIMessage in a visualforce page

Well I am trying to call a number using CTI adapter. But somehow I am unable to make it work. I used the code from Salesforce Doc(http://www.salesforce.com/us/developer/docs/api_console/index.htm) ...
7
votes
4answers
100 views

How do I set the id of an apex:pageBlockTable row?

I'd like to be able to assign each row in a table an Id so I can easily find the row(s) later using JavaScript. I see where I can set the id of the table but I'd like to also assign an id to each row ...
3
votes
2answers
60 views

How to embed standard page in vf page?

My requirement is to embed standard opportunity home page to visual force page, I have tried using iframe but i don't want to show sidebar and header of standard page. For removing the sidebar ...
5
votes
1answer
34 views

VisualForce Email template trying to get 2 decimal places on outputLabel

I am new to email templates and I have a value {!relatedto.RST_Amount__c} that only displays 1 decimal point when sending an email. The way I usually fix this is by doing a .toFixed(2) with ...
3
votes
2answers
60 views

Salesforce oAuth login in popup or iFrame

I'm making an application that allows users to log in, and download a report generated from Salesforce with some additional fields specific for our environment (i.e. on top of normal FirstName, ...
4
votes
2answers
61 views

Filtering elements in visualforce with javascript

I've been searching this for a while and, despite being simple in original HTML, I seem unable to do something like this in visualforce: <script> function checkField() { ...
3
votes
1answer
52 views

Rerender when calling a method from an inputCheckbox

I currently have a pageBlockTable that I am populating using a StandardSetController. The first row of this column is checkboxes that allow the user to select the object for that particular row. ...
3
votes
1answer
27 views

Wrong value displaying. With 'EntitySubscription' in Chatter

Im using the following code to return the list of users that I am following in Chatter. I am following 4 users. List<EntitySubscription> followers; followers = [ SELECT Id, ...

15 30 50 per page