Visualforce is Salesforce.com's HTML template technology, allowing dynamic creation of web pages (as well as other files) utilising Apex logic and SOQL queries to replace merge fields with content.

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

Login Custom Salesforce Excel Plugin in Microsoft Excel?

Actually , We have created a custom plugin in Excel to provide tally like functionality to any user in our App. This app is created using apex and visualforce pages In Salesforce Application. This ...
4
votes
0answers
34 views

Does anyone know how to make input work properly on iOS devices in Salesforce1

So iOS has some major bugs with input objects in iFrames, the upshot of which is that if you use input fields in a Visualforce page in the Salesforce1 mobile app, you get to deal with those bugs. If ...
4
votes
0answers
30 views

Time limit exceeded - Your request exceeded the time limit for processing

I have a VF Page where I gather data from Attachments, deserialize the Attachments into Apex Classes, process the data, and then display the data on the VF page with ...
2
votes
2answers
28 views

Passing a value from a VF Page to Controller

I have been working on this on and off for quite sometime now, and have hit a wall. So what I'm trying to do is pass a Super Customer to my controller where it will get picked up and pushed over to ...
0
votes
1answer
16 views

Add Standard/Custom fields to Visual Force/Apex

Problem: Click on your name in salesforce -> My Settings -> Personal -> Advanced User Details Here there are some standard check-box fields (i.e. Marketing User, Salesforce user, Force.com flow ...
1
vote
1answer
14 views

Error: Unknown component analytics:reportChart

What am I missing from the report chart tag? What else is needed? Looks ok based on Release notes on report charts documentation. <apex:page standardController="Account" ...
0
votes
1answer
23 views

What is the syntax for an external CSS file when adding to VF page

All I am trying to do is add a background image to my visualforce page with CSS. Here is what I have, very simple just not sure if I am missing something small because it is not working. this is what ...
1
vote
1answer
16 views

How to view the VF page with in the another VF page

I have created tow VF page and i would like to show the one VF page with in the another VF page. Is this possible?
1
vote
1answer
19 views

Custom validation on submit

I have a page that needs to be validated when the submit button is clicked. A couple of these components require validations such as "if this checkbox is checked as well as this other checkbox is ...
1
vote
0answers
16 views

Extract JSON from Remote Object

There is remote object var case = new Case({Subject:'Test', Status: 'Open'}); How to get/extract json {Subject:'Test', Status: 'Open'} from case reference? Is there some documented approach like ...
1
vote
0answers
27 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
2answers
29 views

Display header even if <apex:pageBlockTable> is passed an empty List

Is there a way to render the column headers of a even if the passed list is empty? I have the field labels already in place as I am iterating over a Fieldset. <apex:pageBlockTable value="{!rows}" ...
2
votes
3answers
86 views

How to mimic the look of a standard detail page in a VisualForce page

I have a standard Account detailpage, where I want to add a small VisualForce part in a column on that page. So I created a VF page that looks like this <apex:page standardController="Account" ...
0
votes
0answers
9 views

Within Salesforce1 Canvas App, Redirect to a page of the Parent Salesforce1 App

I guess what I'm trying to do is impossible but I want to get your expert opinion before giving up. I've searched for an answer but found nothing. Here's what I have: I have created a Canvas App ...
0
votes
2answers
21 views

Unable to set custom Picklist value from Class to VF page

I am having a small issue while assigning a value to custom picklist in my VF. I am storing values (0 or 1) in a custom field (Match_Filter__c). With my logic I am able to get the value of above ...
1
vote
1answer
31 views

Javascript Alert on change of picklist value

Can someone suggest me a way to display an alert message onchange of picklist values(Different alert message, for different picklist values). Below is the sample code that I'm using, but the ...
3
votes
1answer
27 views

SANDBOX - Access webservice getting below error - added my machine IP in the Remote Site Detail

ERROR The requested URL could not be retrieved While trying to retrieve the URL: The following error was encountered: • Access Denied. Access control configuration prevents your request from ...
-2
votes
0answers
32 views

I need help in writing test class for custom controller [on hold]

The below code is a custom controller which inserts a merchandise record into the database when the SAve button is clicked. public class MyCustomController { public Merchandise__C merchandise { get; ...
0
votes
1answer
32 views

View State and Heap Size too large

I am trying to execute this Apex code but getting view state size of 196 KB and Heap size error. I tried to find where the bulk of view state is going to and it seems to be this controller. Could ...
2
votes
1answer
37 views

Visualforce + Angular JS, ui-router not working

I've been doing some digging to figure out how I can get ui-router to work. I came across this: How can I reference angularjs template files within a visualforce page? but every answer on there ...
-1
votes
0answers
29 views

How to write trigger in such scenario? [on hold]

I need to write a method in a controller(It will be opportunityTriggerHandlerClass) for following requirement: When ever the StageName Field on opportunity changes from A to B from ui then following ...
1
vote
1answer
20 views

Using the MVC, the Visualforce page times out when calculating discounts of large amount of Quotelineitems

I am using an MVC to calculate all discounts to valid products and display them out on a Visualforce page. The problem I encounter is if the Quote has over 500 quote line items, the MVC will finish ...
-1
votes
1answer
10 views

What is the difference between rendered and apex: actionRegion

What is the difference between rendered and apex:actionRegion? Please provide me with an example of the difference.
0
votes
1answer
40 views

Remove whitespace before html5 doctype

I've got the following <apex:page> tag in a Visualforce page: <apex:page docType="html-5.0" showHeader="false" applyHtmlTag="false" applyBodyTag="false" standardStylesheets="false" ...
3
votes
1answer
21 views

Can Hierarchical Custom Settings be used in Javascript Remoting calls?

Can we use JS Remoting to Fetch and update Hierarchical Custom Settings? Also, if yes, then can we make it work as well if Custom Setting object is in Protected Mode?
5
votes
1answer
30 views

Returning a location hash in a page reference

I want to return a URL with a location hash in a page reference, but it appears that the system strips it out. Anybody know of a way to make this work without resorting to javascript? I can think of ...
7
votes
2answers
127 views

Handling Large JSON String Values on Visualforce Page

I'm using amcharts to build graph on a visualforce page. The amcharts's input is JSON. So I parse my object to JSON string using JSON.serializePretty. Using this approach, the graph is built fine and ...
4
votes
1answer
32 views

Refreshing a value on a Visualforce page used as a popup as a precursor to window.close if save is successful

Past performance: A visualforce that would save and then close would hit a validation rule and would then close before the user could see the Message on screen. I resolved this by putting a ...
1
vote
1answer
30 views

Resetting picklist value back to none onchange

Picklist 1 values: Yes No Picklist2 values: one two three I was able to attain the rerendering functionality from the below sample code. If I select picklist1 value as "yes", I am able to display ...
2
votes
2answers
66 views

Using dc.js (d3.js and crossfilter) in visualforce

Today I was able to make angular.js run in visualforce. Now, I am trying to use the dc.js in visualforce to generate graphs. I create a page and this is how my code looks like: <apex:page ...
2
votes
0answers
19 views

Automatic Resizing of Canvas App in Visualforce Page

I have created a canvas app and am hosting it on Heroku. I then added this app to a Visualforce page, along with the required Salesforce SDK (which is hosted on heroku). Because this app will be used ...
3
votes
1answer
25 views

How do I use the same Visualforce page to override view, new, and edit buttons on custom object

I have a custom Visualforce page for a custom object. I have overriden the new, edit, and view buttons to point to this page. I would like to dynamically change the look of the page based on what ...
2
votes
1answer
22 views

Javascript show/hide rerender

I have a checkbox that triggers a javascript function which shows/hides another component. The problem is if I hit submit, but there is a required field missing the submit rerenders the page but ...
0
votes
0answers
20 views

Scroll not working on Salesforce1 App

I have the basic Account tab in my Salesforce tenant, but when i open this tab in my Salesforce 1 mobile app, i am unable to scroll to view all the details. Can anyone tell me how could i rectify ...
7
votes
1answer
36 views

word-wrap not working with VisualForce PDF generation?

I cannot get word-wrap to work in a VisualForce page, which is rendered as a PDF. There is a table with a column called Comments and this contains a long string without any spaces. The long string is ...
0
votes
0answers
5 views

Style pageblockSection or other collapsible component

I have the requirement to have a collapsible section in which there will be a bunch of iputs and data and also another smaller collapsible section (inside the main collapsible section). So right now I ...
2
votes
1answer
37 views

Accessing Local Static Resources from a Managed Package

I keep seeing conflicting information about whether this is possible, so hoping the supreme court of StackEx can definitively rule! I have a managed package that queries a field on the campaign ...
0
votes
0answers
17 views

build a dashboard and filter by account

How would I build a custom dashboard page (visualforce page) and use a customer account lookup on the page to filter it by. I would envisage having two graphs, one for list of opportunities and the ...
-1
votes
0answers
19 views

How do i fix Cross site scripting errors [on hold]

21.public ProjectDetailsExtensionController (ApexPages.StandardController controller) 28. membs= [Select Role__c, Type__c, User_Email__c FROM Members__c where ProjMembers__c=:workId]; `` 65. ...
1
vote
2answers
21 views

The CheckMarx security scanner says that this lines is a Stored XSS vulnerability

14. public void LoadData() 16. plan = [Select id, name,Icon__c,Bar_color__c from Activitytype__c limit 20]; 41. <div ...
6
votes
1answer
45 views

Error in loading the iFrame in Salesforce 1 Platform:

Scenario : I have built desktop based Force.com platform and now i have enabled the Salesforce 1 Mobile app on my environment. Now if i try to load the same Desktop based Quote Detail page on Iphone ...
0
votes
1answer
22 views

Visual Force page display name of given Id

ok i have this: <apex:column headerValue="Provider"> <apex:outputLink target="_blank" value="/{!o.WhoId}">{!o.WhoId}</apex:outputLink> </apex:column> this returns me this ...
0
votes
2answers
55 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
48 views

Conditional Rendering inside Visualforce pages

I have an overwritten edit page for my custom object, which have different record types with different fields. The simplified desktop version of this VF page looks like this: <apex:page ...
0
votes
0answers
20 views

Sorting on date gives me error

I've an issue while sorting date by arrow sorting. I successfully implemented this for "Subject" and "Status" field on Task object but while i click on Date column , it gives me error saying : ...
0
votes
1answer
17 views

Split selectCheckBox into two columns?

I would like to use a selectCheckbox for a field but the design team wants the options to be in two columns like so opt 1 | opt 2 ------------- opt 3 | opt 4 ------------- opt 5 | Im sure I could ...
2
votes
2answers
67 views

Values don't update after I call action on a commandbutton?

I am trying to implement functionality in SalesForce where when a user clicks a button then the following count increases. Currently I have a simple test page that just shows the following count. ...
0
votes
1answer
17 views

How can i send data from external page to salesforce visualforce page without salesforce authentication

I am trying to create a Visualforce page and a controller to receive request from an external web page . This external page will send an XML file to my page and I have to using controller to get this ...
3
votes
2answers
48 views

actionFunction working only when I have certain parameters in the URL

I am having a weird issue when using apex:actionFunction as it only works sometimes (Only when I am passing a parameter in the URL). The visualforce page sometimes will have a parameter in the url, ...
0
votes
1answer
36 views

Display CSV data on a Visualforce page

I want to read in a CSV file and display the data as a table in a VF page. So for example my file might look like this: Name, category, description, Priority, Type, Status, Number, Issue11, Decision ...