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)

1
vote
1answer
12 views

How to display attachment image on custom community page

I need to display an image attached to a custom object to all community portal visitors (logged in and not). I've managed to get the url, but it only works when I log in to SF first with my admin ...
0
votes
1answer
12 views

How to build a gauge dashboard on visual force page?

Hi to all, i have created custom vf page, but in that i have to show only 2 different colors. Here i'm pasted my vf page and class.. vf page: ...
1
vote
1answer
16 views

passing the Check box value to the apex controller

User can select or deselect a record from a list of records in a table for update by checking and unchecking of a checkbox. I am trying to maintain this check box value in a wrapper to identify ...
1
vote
1answer
44 views

BestPractice: Displaying Months on Visualforce Page

Is this a good practice in displaying months? Code Snippet: <b>{!CASE( IF( (MONTH(TODAY()) +3) > 12, (MONTH(TODAY()) +3) - 12, MONTH(TODAY()) +3), ...
1
vote
1answer
21 views

Is it possible to remove CreatedBy field from case comment related list?

Can we remove CreatedBy field from case comment related list through configuration?or do we need to go for customization?if we have to go for customization please tell me the approach.
0
votes
0answers
27 views

When we click on Button it Should generate a PDF FORM with the Ship to and Ship from details

Can anyone help me out with this requirement ?Any help is much appreciated. We do have two Buttons as GeneratePicklist and GenerateInvoice created using Execute Javascript ,ON a detail page button. ...
1
vote
1answer
19 views

Create a custom button in Accounts that generates a new opportunity with products that are related to type of division

Account: The propose is to fill the fields in the related list "division" and link to the products. I want to create a button that generate an opportunity with products that are related with ...
10
votes
4answers
321 views

Howto wildcard SELECT * to query all fields of objects in APEX?

I have created sObject and I need all the fields and I have many. Is there a way I can directly get all of them rather then typing each one of them.
1
vote
1answer
18 views

Modify User.AboutMe inside community

I have the following code, <apex:page standardController="User" showHeader="false" sidebar="false" docType="html-5.0" > <apex:form id="theForm"> ...
0
votes
1answer
21 views

Custom Object Calendar functionaity

I'm wondering what the best solution is to deploy a resources booking feature? We run a training company and are always scheduling our consultants on various engagements. We'd like to create a ...
0
votes
1answer
14 views

Manipulating Account information using Visualforce Remoting

Can anyone tell me how to display account details using visualforce Javascript Remoting? I wanna edit ,save and validate the account using viusalforce remoting(Manipulate account details using ...
1
vote
1answer
25 views

Refering Static zipped Resource in a Visualforce

I'm trying to reference a zipped icon in a VF like this: <img src="{!URLFOR($Resource.icons,'clock.png')}" class="orgIcon" /> Where icons is the name that I give the static resource. I've ...
2
votes
1answer
24 views

jqgrid demo in salesfoce

I want to display data in a JQGrid on visualforce page. I am not getting any error but i can't also see any data. By looking into the debug logs i came to know that my java script is not at all ...
3
votes
0answers
29 views

Unable to Override Add Products on Order - Deployment Error

My co-worker overrode the Order Product's (OrderItem) Add Products related list button on the Order with a Visualforce page. He did this in the web UI without any issue. The Visualforce page is an ...
1
vote
2answers
36 views

How do you capture an e-signature and attach it to a record in the Salesforce1 app?

I created a custom button on a custom object that launches a Visualforce page to capture the signature of a user. The Visualforce page has two buttons: Capture Signature and Exit. Upon clicking ...
0
votes
0answers
25 views

Record Opens Directly to Visualforce Section Not Top of Page

When adding the Visualforce section to our page layout, it brings the user directly to this section when clicking into a record. How do we open the record to the top of the page?
1
vote
1answer
30 views

Unknown Property error for two variables - one prevents VF page from saving, other throws runtime error

I have two variables that are causing problems: “students” and “stuinclass”. Previously these variables were incrementing the number of classes (in a school, not Apex classes) contributing to a ...
2
votes
2answers
32 views

Newbie VF Question: Save action not saving record

I have the following basic VF page to update fields of an Asset object from a Case page: <apex:page standardController="Case" > <apex:form > <apex:pageBlock title="Update Asset ...
1
vote
2answers
22 views

Nested table using pageblock

So I want to add a nested table for another table. I'm able to add table 2 as nested for table 1. I could do this by adding a pageblocktable table 2 inside the last column of the pageblocktable of ...
0
votes
0answers
26 views

moving value from one multiselect picklist to other

I am trying move values from one multiselect picklist to other. Assume that there are 2 multiselect picklist A and B. Now I have to move some values from picklist A to B by clicking on the Add button ...
1
vote
2answers
74 views

Error in VisualForce Page as :List index out of bounds: 0

Can any one help me out with this Error ??Any help is much appreciated Error in VisualForce Page as :List index out of bounds: 0 Here is my VF Page and the Class. Visual Force Page : ...
0
votes
0answers
25 views

Filter On Google map on visualforce page salesforce

I have one VF page in that it opens a Google map which displays near by Accounts depending on user's location. On that Google map I have to add a filter to show the account depending on condition(My ...
0
votes
1answer
21 views

Fetch the records based on the topics

Can anyone tell me how to fetch the records based on the topic name.. Like I have 20 contacts ..10 contacts are associated with the topic name test1 and others are test2 Wanna fetch the records ...
3
votes
1answer
52 views

how to use topics in viusalforce page

Can anyone tell me how to use topics in visualforce page? My scenario : I have created 15 contacts . 10 contacts are associated with topic name test1 and 5 contacts are associated with topic ...
1
vote
1answer
37 views

Validation for inputFields inside Pageblock table is not working

I am trying to do a simple validation, if qty received ENTERED is different than qty ordered, a JQuery dialog box should open. For some reason this validation is working only for the first ...
1
vote
1answer
36 views

I wanted to make a page which is readonly but when clicked on edit the user should be able to edit it

I have basic user details page, that I display to user when they login. Now once they click on edit they should be able to edit their information on the same page. I am doing this for the first time ...
5
votes
1answer
43 views

JavaScript Remoting and optimal Angular.js architecture

Background I am starting to build more and more apps with angular, inside of a Visualforce container. Since many of the database services rely on some apex logic, the services layer uses JavaScript ...
2
votes
0answers
18 views

Any way to dynamically change the height of a publisher action?

I'm creating a UI component that I would like to use as a custom publisher action as well. It is a two-step wizard that expands vertically when a user clicks in a form field. I suspect that ...
1
vote
1answer
31 views

Resource for Learning Dynamic VF

I am looking for a good place to learn dynamic VF. I did google it but did not find anything great. Does anyone know of a good resource where i can learn? Thanks.
1
vote
1answer
36 views

Hide Columns in a VF Table if variable is chosen

I have a VF Page like below -- what I am trying to do is hide values appearing in the table if they have a certain tickbox ticked -- so this page is looking at Opp Products - if the Product has the ...
1
vote
1answer
20 views

Nillable for required attribute

I'm wondering meaning of "nillable" used in the required attribute below: <apex:inputField value="{!Case.Invoiced_Tons__c}" ...
2
votes
1answer
27 views

How to show a selectlist in a visualforcepage populated with picklist values on a custom object using only javascript?

I am trying to show a selectlist in a visualforcepage populated with picklist values (from field say pickField__c) on a custom object (say object__c) using only javascript. I know how to achieve this ...
1
vote
0answers
54 views

Issue with SelectOption not working

I have a multiselect where I have seleted some fields and need to move same to other multiselect I have a button add to add them and I am calling a method on the button click and checking the ...
1
vote
0answers
38 views

how to show different colors in gauge dashboard in sales force?

My requirement is in that gauge chart we have to show different colors up to 5. for that i have created custom vf page, but in that i have to show only 2 different colors. Here i'm pasted my vf page ...
2
votes
1answer
53 views

How to Assign TEXT to DATE field

I need to display "Not Available" on a date field. Actual_Delivery_Date__c and calculated_actual_delivery_date__c are date fields. So the following code works fine ...
2
votes
1answer
37 views

Setting a dynamic pdf filename to my visualforce page

I would like to set a dynamic pdf filename to my visualforce page Thé code is below, however this code still generated pdf with visualforce page generic name? (This code is Just to test to set a ...
1
vote
1answer
6 views

Can't postMessage in SDK to canvas app iframe when the app url has redirected

When trying to use the JavaScript SDK in my canvas app, I get the following error: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://myapp.com') does not match the ...
3
votes
1answer
40 views

ActionPoller and pageMessages rerender issue

I have a pretty batch that is trigger from a VF page. Then I check the batch status using an ActionPoller until it is completed and finally I rerender the batch results. Everything is working fine ...
1
vote
1answer
29 views

Need to Filter a VF page with date input and pass to SOQL statement in controller

I have been working on this for a few weeks now so any assistance would be wonderful. I am trying to create a report with a VF page to pull information from some custom objects and their associated ...
1
vote
0answers
18 views

Issue regarding core.apexpages.el.adapters.RuntimeTypeMetadataELAdapter

I have an outputPanel that saves if it's in one spot, but throws the core.apexpages.el.adapters.RuntimeTypeMetadataELAdapter error if I put it in another spot. See below. The reason I want to move ...
3
votes
2answers
60 views

testing if something is null in visualforce, NOT(ISNULL())) vs. != null

Is there a difference between the two statements? {!NOT(ISNULL(variable))} and {!variable != null} What is the appropriate way to check if something is null? EDIT: What if it's a SF checkbox? ...
1
vote
0answers
41 views

Not able to get the selected values from multipcklist to my apex class

I have VF page where I am displaying 2 pick list I want to move some value from 1st picklist to another. But when I select and click on add button the value of the selected pick list is empty. It is ...
1
vote
3answers
58 views

How to get custom tab visibility in controller based on user profile?

I have a custom tab name 'Payments' and i need to provide a short cut access link to this tab from other pages. I know how to control the visibility based on object level settings, However, in this ...
2
votes
1answer
34 views

UI for custom merge

I'm working on a custom object merge feature and am having difficulty replicating the standard SF merge UI. I'm hoping to use <apex:selectRadio> to display field values on a row, with the ...
1
vote
0answers
40 views

Is there any way to write code or use <iframe> tag to display service related content in .JPEG / .PNG images

When the end user is viewing downloaded images from web, at that point, the client wants to display his service related information in bottom of the image (if internet connection is available). Is it ...
4
votes
1answer
45 views

Can't alter metadata in an active org

Why, when trying to modify a Visualforce Page in Dev Console on a Production org, do I get the following error: Can't alter metadata in an active org But, when I modify the page in the Web IDE, ...
0
votes
1answer
23 views

Changing the display on a Visual force page

I need some help I have created a tab called “Other” and the content is looking a VF page called “Other Tab” My VF page is the following ; <apex:page > <h1>Link to : </h1> ...
2
votes
2answers
47 views

Unable to Open VF Page using PageReference for given URL

I have called NextStep() on Button Click where I wanted to open a standard VF page provided by SF with some new additional parameters in URL - where my string MergeURL is just fine, but it gets ...
0
votes
1answer
32 views

Error “Initial term of field expression must be a concrete SObject: LIST” when fetching values from list

Can someone please help me here?I have the piece of code here alongwith the error I am facing. Apex class:Code snippet: Map<Id,Attachment> mapCaseAttachments = new Map<Id,attachment>(); ...
0
votes
1answer
32 views

How to create a table which contains the data entered in the input text?

I have created an input form. The input form fields are Name, Status, Start time and End time which are the fields of Deliverable object. On click of Add button the values entered in the input text ...