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
10 views

Collapse a PageBlockSection once a commandlink has been pressed

i have been asked to have a pageblocksection minimize as soon as commandlink has been pressed to make our page look less crammed, so far i have set the area i need to minimize to collapsible true and ...
0
votes
0answers
14 views

I need test class for this? [on hold]

public class sendEmail5{ public quote getQ() { return q; } public sendEmail5(ApexPages.StandardController controller) {} public String emailVal{get;set;} public String ...
1
vote
0answers
14 views

saving form options

I have created to forms and i am trying to save selected options of form in there objects can you provide some help my code is like; what logic should be used in save button page-- <apex:page ...
1
vote
1answer
22 views

Send list in HTTP Request in particular order taking order by as row num?

Apex code: List<order_batch__c> bcList = new List<order_batch__c>(); bcList= [select ...
1
vote
0answers
21 views

Commandlink in knowledge:articleList component - method is not called/param doesn't set the parameter

When I click on the article title OpenArticlePage() method is not called, the portal homepage just refreshes. < apex:param > tag in the component doesn't set the parameter. Since the method is not ...
1
vote
1answer
13 views

Report build using the VF page

I would like to design the custom report (Exact report view) using visualforce page and also trying to provide the inline edit feature in the report. Any one have the idea for that?
1
vote
1answer
18 views

How to Add HTML / Javascript / Jquery “Slide Out” Tab (Globally)

I have a form that displays when a user selects a tab This form slides out when selected, and hides itself when selected again The action to display / hide is javascript / jquery I'd like this form ...
0
votes
0answers
21 views

Custom fields within fieldset are not visible in VF page

I want to display all the fields field set but out of 4 it is displaying only 1 which standard field I am not able to display the custom field form field set. ...
0
votes
1answer
11 views

Display VF page on customer portal sidebar?

I have a really simply VF page thats outputs some figures I have in one of my custom objects. I would like to show this VF page on the side panel (narrow content pane) of my customer portal however VF ...
2
votes
3answers
40 views

Open a visualforce page from a managed package page: URL No Longer Exists

I am trying to open a normal visualforce page (that is NOT a part of the managed package) from a visualforce page that is IN managed package. This button I have on the visualforce page in manage ...
0
votes
0answers
17 views

Sforce.one.navigateURL

I want to create contact using this way but I am getting error "The page you are trying to access is not supported on mobile device" <apex:page > <script> function MyApp(sfone) { ...
1
vote
0answers
19 views

Submit button does not enable on 'Submit Feedback' window, if user copy any text and paste it in the text box by mouse [on hold]

Submit button does not enable on 'Submit Feedback' window, if user copy any text and paste it in the text box by mouse. I need to use ONCHANGE function in my code .how to use and where need to make ...
-1
votes
0answers
27 views

need help creating a test class [on hold]

my visual force page looks like: <apex:page controller="China_MSR_Q"> <apex:messages /> <apex:outputLabel style="font-size:12pt" >For Admin</apex:outputLabel> ...
0
votes
0answers
39 views

Customized Related List in Visualforce, suppress edit/delete buttons

I am fairly new to Visualforce and I have been trying to create a Related List in VF on object Employee__c to show all of the devices with an ‘Active’ status (Status__c field on Device__c object). ...
1
vote
2answers
27 views

Can we Display a Error Message on Standard Detail Page of Opportunity on Load

I have a requirement on Loading Standard Opportunity Detail Page, if Opportunity Amount is greater than certain value say 500K i need to display a message on top of page. is it possible without ...
1
vote
0answers
32 views

Http callout not giving correct response when calling fom visualforce page

I am stuck in to one strange problem. I am sending http request as below. The below request giving me perfect result when i m calling it from developer console, but for some reasons it is not working ...
2
votes
1answer
22 views

Link in Salesforce1 loads non-mobile page

I have a visualforce page that I'm running in Salesforce1 on my Android phone. The page is a simple list of Campaign objects. Each Campaign in the list has a link to the associated Campaign record. ...
1
vote
2answers
24 views

Best Ways Of Customizing or Replacing Related List on Opportunity details page

On Opportunity, I've created a related object called Opportunity Item. On the details page for an opportunity, a related list was automatically added for Opportunity Items. I need to take complete ...
1
vote
1answer
21 views

Changing custom field type

I need to change the field type of custom field from Text to Text Area (Long). I have around 2000 records for an object requiring this change. I also have apex and visualforce code referring to the ...
1
vote
0answers
26 views

Visualforce appears differently in Community site

I have a super small VF page that is embedded as a component on my Contact page. It works fine internally. However, when I expose it to users in my Community, it appears differently. I've tried to ...
1
vote
0answers
17 views

Validate parameters passed into the URLFOR function

What is the best way to check if parameters passed into a URLFOR function are valid? I am trying to pass in a target and id without any inputs or an override param. Example: URLFOR(param1,param2) ...
2
votes
1answer
25 views

Display VF custom components with user-defined order

We want to allow users to add/remove modules (custom components) from a VF page and set their order of display. We will use a dialog similar to the standard SF one (see image) on the front-end and ...
1
vote
2answers
35 views

apex repeat to show data in two columns

I am using a apex repeat which is giving me details as below data1 data2 data3 data4 I want to display it as <table> ...
0
votes
4answers
30 views

how to show the validation error below the input field in VF page

I have used the following code for the email validation and the validation is working fine but I would like to show the error like the the image. how to do that? My Code: <apex:pageBlock ...
2
votes
1answer
24 views

Access public static member from visualforce

I have an Apex class as follows: public class Util { public static ID AccountId { get; set; } } I am trying to reference this from a Visualforce page without luck. How ...
0
votes
2answers
30 views

Catch state of custom check box field in Apex

I have a custom object MyObject__c I've added a custom field which is of type check box. one__c If a system admin ticks this checkbox on the object in the Salesforce UI, I want an apex element ...
5
votes
1answer
25 views

Dynamic Visualforce Components - Access Pass-Through Attributes

Is it possible to use html-pass-throug attributes at Dynamic Visualforce Components? Component.Apex.InputField result = new Component.Apex.InputField(); result.style = 'font-size: 9px'; result.title ...
3
votes
2answers
57 views

Pass data from VisualForce page to Apex Class

I have a VisualForce page which displays some data from a standard controller, I would like to know how I can add a button which activates an apex class? I want to also pass data thats visible in the ...
0
votes
0answers
11 views

Quotes getting changed when we migrated the visualforce page from one env to onther env [closed]

I have The above quotes before Help (") are changed when page migrated into another env. Please suggest me any ascii characters can be use here to fix.
1
vote
1answer
22 views

Writing JSON using JSONGenerator with writeStringField()

I'm wondering why I can't use the method writeStringField() on the class variables below. I'm using the JSONGenerator class methods instead of hand-constructing the string. global class ...
1
vote
1answer
51 views

How to remove visualforce page default tooltip

In my visual force page where ever I place the cursor it is showing the page name as the tooltip(title).Its really annoying. How to remove it...??? My Vf page name is Support First,in that page am ...
0
votes
1answer
34 views

Assign rendered value using javascript [duplicate]

Folks, below is my code, <apex:inputtext value="{Account.Name}" rendered="True"/> <apex:commandbutton> am not using controller here, so i want to change the value to rendered="False" ...
0
votes
1answer
30 views

Related list availablity

I have custom object X which is look up with Account and custom object Y which is detail of X(master). Now I have to make Y appear in related list section of only those Accounts, whose reference ...
0
votes
1answer
11 views

List has more than 1 row for assignment to SObject on action button in a page from managed package

Installed a managed package, which contain simply 2 pages, controllers, styles, scripts etc. Then created a site using the a page within the package. When i clicked an action button, Received the ...
0
votes
1answer
24 views

Rendering <img> tag in table

I am attempting to render noImageURL when icon.image is null. For some reason, noImageURL is always rendered. It's not respecting the javascript if statement <td> <apex:image ...
2
votes
1answer
38 views

How to set defaults when creating a record from a visualforce page button/link?

I can create a link or button in a visualforce page that references an object's links or buttons with a line like this: <apex:commandButton ...
0
votes
2answers
35 views

Use Edit function in vf page

I have to use edit function in a vf page.Please find my apex class and corresponding error showing below. Apex class: global with sharing class poistionController1 { public ...
1
vote
1answer
17 views

Have you seen this line core.apexpages.el.adapters.AggregateResultELAdapter@?

I want to display in a VisualForce Page a map like this, Map<Integer, List<aggregateResult>>. But the map only shows "core.apexpages.el.adapters.AggregateResultELAdapter@3482c248". Does ...
1
vote
0answers
22 views

How to refresh record when user presses Cancel button in Salesforce1?

I'm writing a visualforce page as a custom object action for Salesforce1 app accessed on user's mobile devices (e.g. iPhone) and need to refresh the detail screen when the user clicks the Cancel ...
0
votes
0answers
12 views

how to Integrate salesforce to Linkedin [closed]

I'm Integrating salesforce to Linkedin with help of some blogs , but I didn't get any output , could you please anyone suggest for how to integrate SF to Linkedin Thnaks Ganesh
0
votes
2answers
25 views

rendering the table data through apex code

I am trying to fetch the custom object data into page block table with below code. I am getting the table as expected but my need is not to get the data when page is loaded and should come true only ...
2
votes
1answer
33 views

Object type in <apex:inputField> for color picker

I'm trying to develop a color picker using JSColor but I don't know how to do it with an <apex:inputField>. I have the error below : Save error: Could not resolve the entity from value ...
0
votes
1answer
68 views

Adding row inside a row in repeat.?

I am adding a row inside a row..Here is the scenario. On Click of add button i am adding a row.i know how to do that..I am able to do that.Now i want to add more rows inside that row using some ...
2
votes
0answers
32 views

Detect if Visualforce Page is rendered as a Mobile Card or as stand-alone page

Is there any way to detect if a visualforce page is rendered inside a Salesforce1 Mobile Card as opposed to being rendered as a stand-alone page? I'm aware of a few javascript/URL Parameter ...
-1
votes
1answer
34 views

multiple Standardcontroller

I have to use VF page of a custom object in Account page layouts.Please find my apex class as below. Apex class: global with sharing class poistionController { public HCP_Depth_Tracker_OAPI__c ...
0
votes
1answer
19 views

Show custom object ,not immediate child in Account's related list

I have to show custom object HCP Depth Tracker in Account's related list.It is having Account reference.It's child of Depth Tracker object which is immediate child of Account.My approach is by ...
1
vote
1answer
16 views

How do I parse a variable from my VF Page URL to my VF email template?

I need to get a string into my Visualforce email template. I have attempted to parse it over the URL as I thought it would be the easiest way but I'm not sure. I am using sendMail and sending the ...
1
vote
1answer
78 views

Returning Image from Query

I have a query fetching a document which is an image. I want to assign the image to a field (URL). I am doing: Document doc = [select id, name,url, body from Document where name = 'image']; ...
1
vote
1answer
21 views

Removing inputField causes visualforce page to error out

I have created a page and am currently converting the page to use bootstrap. I was using an apex:inputField and nothing is wrong except that inputField does not accept disabled as an attribute. So I ...
0
votes
1answer
19 views

getSalesforceBaseUrl() in a Custom Email Template

I've created a Custom Email Template. In the HTML Email Content, a few fields are displayed and I've created a button with a link <a ...