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)

5
votes
2answers
74 views

List of Features and Limits which can be activated/increased by the support

There are a lot of features which can be activated and limits which can be increase if you contact the support. As an examples you can log a case to do the following: Activate: Organization ...
3
votes
1answer
27 views

Render pageBlockSection based on RecordType

I am trying to build a custom New Case page, but am having issues getting sections to load based on the Record Type. <apex:outputField label="Record Type: " value="{!Case.RecordTypeId}"/> ...
0
votes
0answers
29 views

Add custom lookup field in VisualForce page

I want to create a VF page that displays a Custom Object's Lookup field. I create the object in my apex controller class using the new keyword and would like to add a lookup field to write another ...
1
vote
0answers
15 views

Getting “Id value <long ID> is not valid for the <custom object controller> standard controller” for post install custom link

So I've followed the steps outlined in: How to show a vf page on the first installati​on of the managed package? but now I'm getting the following when one of my test users is trying to install the ...
1
vote
0answers
7 views

Add value in dashboard filter using apex code

I have one filter criteria which gets changed for every report that i am using in my dashboard. I cheeked about adding filter in dashboard. But a user needs to add the filter values manually. I ...
2
votes
1answer
26 views

Is there a way to show tasks and calendar in a VF page

I am trying to create a custom homepage for which i am using a VF page. Is there a way to display the tasks and calendar which is available in the standard home page into a VF page? Thanks
1
vote
2answers
26 views

Null Value for method called by command button

Following is my VF page: <apex:page standardController="Case" extensions="ctrlClaim"> <!--read--> <style> .customPopup{ background-color: white; ...
0
votes
0answers
18 views

Lookup editable only in edit mode [duplicate]

I created a custom lookup field, but when I add the visualforce page (the lookup) to my object page, he stays editable in the details page. I want he stays read only at details page and editable on ...
1
vote
0answers
7 views

Show Chatter feeds related to a Knowledge Article on Salesforce Community

I'm trying to show the chatter feeds related to the knowledge article using chatter:feed component on visualforce page. I'm able to show the feeds successfully to all the internal users but it gives ...
7
votes
1answer
49 views

Should I add Sandbox support to VFFiddle? [on hold]

I'm working on some updates to to VF Fiddle. I want to gauge the interest in running fiddles in sandbox and get some feedback on the security concerns. Because fiddles are not reviewed they could ...
2
votes
1answer
27 views

How to display data on custom visual force page on page load

I'm a relative newbie so please be gentle... I've created a visualforce page using a custom controller. The VF page contains a number of fields and a drop down list (i.e. Industry) from which users ...
1
vote
0answers
10 views

Critical Update “Serve Static Resources from the Visualforce Domain” still serves resources via Salesforce Domain

After activating the Critical Update, I checked a couple of my orgs using Managed Packages which provide resources used on buttons and scripts in the Standard Salesforce domain. It surprised me that ...
0
votes
2answers
34 views

Increase test coverage for query IsSandbox =true

I am checking for sandbox with help of query select Id from Organization where IsSandbox =true limit 1 but now in production and developer org my code coverage is going down to 33% as this query is ...
2
votes
1answer
22 views

Visualforce with jQuery and HTML Files Separately

Have a question if it is possible to have a visualforce page that is referencing both an .htm document and a jquery (.js) file that are loaded as static resources. The logic behind it is to keep the ...
3
votes
0answers
33 views

Salesforce Lightning Packaging

Did anybody try to package salesforce lightning new component framework apps? I tried a managed package and installed it, its not working if i try to access the app like ...
3
votes
2answers
58 views

Custom Fonts in Visualforce Page (renderas=“pdf”)

Trying to use a custom font in my visualforce page (rendered as pdf). I have looked at many conflicting articles saying that the only option are the "limited" fonts supported, whereas others say that ...
2
votes
0answers
8 views

Dependent picklists in components conflicting with each other

Imagine an object called Location that has a Country, State, and City dependent picklists. You select a Country then the States are populated, you select a state then the Cities are populated. Now ...
2
votes
1answer
21 views

Can we access class from managed package in a local VF page

We have a class in a managed package which is a controller for a VF page which is also a part of the managed package. Now we have a customer who wants the layout of the VF page changed to suit his ...
0
votes
0answers
7 views

Need Print option for Google map with direction on VF Page [on hold]

I have requirement to print only the Google map and with direction on visual force page. I am using some plug-in to achieve this functionality but i am unable succeeded really.So please provide any ...
0
votes
1answer
26 views

Issue with Development footer

Command button with oncomplete attribute does not work when development footer is Enabled. <apex:page controller="google_redir"> <apex:form> <apex:commandButton action="{! hello1}" ...
1
vote
2answers
31 views

Add transparent color code in apex tag

Hi in my meter gauge I have to add a transparent white color <apex:gaugeSeries dataField="size" donut="50" colorSet="#78c953, #FFFFFF" tips="true" /> i.e. I need: colorSet= "#78c953, ...
1
vote
2answers
22 views

How to pass document id dynamically in help url?

I tried to pass document id dynamically and i am going to render that pdf document when we click on help link. but not getting how to achieve this.. here in below pageblock component i want to pass ...
0
votes
1answer
22 views

Error: Invalid field Job_Application__r for SObject Position__c

I have two custom objects those are position and job application objects,those are related by lookup relationship.But when try to access the job applications through relationship I m getting above ...
0
votes
0answers
15 views

Developer console inside VF page goes away after return from AJAX call

Okay, so this seems to be a very strange issue. I have a VF page that contains a basic form for inputting field values into a custom object record. There is a button on the page used for saving the ...
1
vote
1answer
29 views

Visualforce Page Reference : Managed Package

As I understand, I can refer one VF page from another VF page using page reference. However, if out of these two VF pages, one VF page is a part of the Managed Installed Package, is it possible to ...
2
votes
1answer
44 views

text field which should accept only numbers from 0-9 as input

I have a text field which should accept only numbers from 0-9 as input, if the user enters character it should display an error message next to the field. I tried doing this with JQuery but I am not ...
1
vote
2answers
27 views

Conditional Visualforce HTML dependant on Profile [duplicate]

I have a Visualforce form which that contain a couple of fields restricited to only certain profiles. With Salesforce the fields are automatically hidden/shown depending on the permissions, what I ...
1
vote
1answer
35 views

The value of the “id” parameter contains a character that is not allowed or the value exceeds the maximum allowed length

It fails right here: <apex:inputField value="{!Rec.supplier.id}" styleClass="rate" required="true"/> My code is: Public List<sobject> ...
0
votes
1answer
28 views

Displaying custom field description on VF page

I have a requirement where the names of the custom fields far exceed the 40 characters limit. So instead I thought I would put a keyword in the field name and the whole name in the description of the ...
0
votes
1answer
20 views

How to logout from community portal in Salesforce

I am working on Sites and want to implement logout functionality and redirect to custom login page. I used the scripts but they are redirecting me to standard login page.. ...
0
votes
1answer
23 views

In an internal SFDC Http Get from a VF Page, how do I authenticate for the redirected URL?

I'm trying to execute an internal http: GET from a VF page on a Knowledge Article so that I can parse the response HTML for some text in the page. (The Knowledge article looks like this: ...
1
vote
1answer
26 views

Javascript to delete rows from a queue

I have javascript on my visualforce page that adds a delete button beside each new case added to the queue but cannot get this button to actually delete these items. This is the code I have so far. ...
-1
votes
1answer
25 views

Display data of fields on selecting other fields

I have a requirement where I have to display Account's 2 fields (Text type) FieldA__c and FieldB__c as dropdown fields. and once selecting the values of these two fields, values of other Account's ...
4
votes
3answers
44 views

A way to determine a required field is missing in Apex

For my case, I don't really need to know which required field is missing data, as long one of them is I want to thrown in a generic message. Is there a method in apex that will tell me that one of ...
0
votes
0answers
39 views

show how to display date in visualforce page without using output text?

I am trying to display only the day from a date in visualforce page but i can't use output text ,please help me to achieve the task.
2
votes
0answers
33 views

Get print of visualforce page containing different charts

I am creating a dynamic dashboard using Vf Charts. I am having about 18 different charts on a single visual force page. I have added a print button on the visualforce page to print all the charts on ...
0
votes
1answer
19 views

increment in number of calls field when task is completed through trigger?

trigger totalnumberofcalls on Task (after update) { Set<id> leadid = new set<id>(); for(task t:trigger.new){ if(t.Type=='Call' && t.Status=='Completed'){ ...
0
votes
1answer
26 views

Force.com with PKB - Only 3 Articles are visible

I set a force.com site and I discovered that only 3 published articles are visible on the front page, but when I use the search field I can see all articles. What is the way to display all articles, ...
0
votes
3answers
63 views

how to make visualforce view fields align horizontally?

Help me I have this I need this Here is my code: <apex:pageBlock tabStyle="Account_Search__tab" title="Search Criteria"> <apex:pageBlockSection > ...
0
votes
1answer
26 views

I want to create a custom formula field using apex

I want to create a field in which user is going to put the formula(through picklist ). For Eg: a+b*c\d or if(condition)) then a= b+c Where it is working fine with normal ...
0
votes
1answer
26 views

MyVisualForcePage does not exist or is not a valid override for action View. - Deployment Error

tried to deploy a a change set from 1 sandbox to another and it gives the error "MyVisualForcePage does not exist or is not a valid override for action View" . I included the VF page so I'm ...
0
votes
0answers
21 views

How to render excel WITH multiple sheets WITH images

Right now, what we have is a fully functional VF page using XMLSS to render multi-worksheet excel files. We have no problems with this. However, we've reached a limitation of XMLSS wherein it can't ...
0
votes
0answers
17 views

Can i change background colour of salesforce logo

I would like to change the background colour theme to aluminium silver .Now its blue colour. Can i know how is it possible so that i can implement. right now i have created a vf page its working but ...
0
votes
1answer
17 views

Where is the Winter 15 Release Developer Preview Video?

I got used to a regular youtube video salesforce has provided for earlier releases like this https://developer.salesforce.com/en/events/webinars/summer_2014_release Does anyone know if there is or ...
0
votes
1answer
8 views

Opening a dashboard link outside the component window

I am currently trying to simply put a link onto my dashboard. I am using a VF page with this simple code : <apex:outputLink value="https://login.salesforce.com/">Main ...
2
votes
1answer
22 views

Customer Portal - Self registration for new users

I am trying to understand how the self registration for customer portal works. I came across , https://developer.salesforce.com/page/Authenticating_Users_on_Force.com_Sites and ...
0
votes
0answers
36 views

Refresh Service Console

I am facing an issue to refresh the Service Console. When I click on a button New Contact from left side visualforce page in Service Console, it will displays the standard New page at the middle part ...
0
votes
2answers
34 views

Retrieve string from custom object based on title defined in VF

I need to retrieve content from a field in a custom object based on the "title" of the record. While the code below works, it has obviously been told specifically to return the record with the title ...
1
vote
1answer
15 views

How to avoid red line through https:// OR display external webpage as landing page in customer community

We are building a customer community and I'm having trouble with the home page. Currently I'm using a VisualForce page with an iframe to display a welcome page that our marketing team built in ...
1
vote
0answers
38 views

Following SQL WHERE clause in my pagination SQL

I have a custom object which is displayed on my visualforce page, the page can take url parameters which will alter the results filtering out types of records. The page also uses a custom controller ...