Dynamic Visualforce components offer a way to create Visualforce pages that vary the content or arrangement of the component tree according to a variety of states, such as a user’s permissions or actions, user or organization preferences, the data being displayed, and so on. Rather than using ...

learn more… | top users | synonyms

0
votes
1answer
27 views

Unable to set focus on <apex:inputText> inside an ouput panel of visualforce page

I am quite new to Visualforce and Apex. I am trying to set focus on the apex inputText field, placed inside an ouputpanel, which will be popped up based on an action function. I tried setting focus ...
0
votes
1answer
29 views

Image selection on VF Page

I have a 4 step wizard displaying images on visualforce page. I have created a text rich field on product with family as "t1", "t2", "t3", "t4" where I store images. I have to display images to my ...
-1
votes
1answer
30 views

Dynamic Visualforce Search Page

I'm running into two problems on my search page. Nothing is happening when I click the 'Reset' button and I am getting this error when I search using a date field: System.QueryException: ...
3
votes
1answer
151 views

Dynamic Visualforce page not showing Checkbox values correct after page reload

I have the following Visual force page: <apex:form id="mainForm" > <apex:actionFunction name="renderConsolePage" action="{!renderConsolePage}" rerender="out1"/> ...
0
votes
0answers
15 views

View state in Visualforce components

I am developing a VF page which will have two components. These two components will be placed multiple times on the same page with different input parameters. I am not sure how much view state will ...
0
votes
1answer
18 views

Build Dynamic Search page for Custom Object ''Building''

I am a solo admin with no dev skills. We have a requirement to create a searchable page for our custom object ''Building'' they would like this page to allow user to search for building records, ...
0
votes
1answer
46 views

How to Format the numbers entered in the Input Text Fields

When i try to search with 1000000 and 1500000 in Price Min and Max fields.the soql query is executing fine.but when i enter the values seperated with commas like SFmin=10,00,000 and ...
0
votes
4answers
57 views

Issue with apex:map

I have a map, Map<Id, Contact> contactsMap in my apex class where key is the contact id and value is the contact itself. I am iterating over this map in visualforce page to get the contact's ...
1
vote
2answers
32 views

Conditionally Render Input Fields from Component - Visualforce

I am trying to figure out how to render a Visualforce component containing inputfields conditionally, depending on a stage field outside of the visualforce page. I would like to render a different ...
-3
votes
2answers
58 views

display opportunity products in a table

i created custom button on opportunity object which will redirect user to a VF page which will populate some opportunity fields and a table showing related opportunity product details ...
2
votes
0answers
22 views

Dynamic <apex:inputHidden> fields

I am trying to create a small VF page which displays a set of dynamic fields. Here is the controller: public class dynFields1 { public final Case casex {set;get;} public ...
0
votes
0answers
22 views

How to delete selected profiles from the pageblocktable?

I am displaying the selected profiles on another pageblocktable but my requirement is I want to display the selected profiles on another pageblocktable and at the same time I want to remove those ...
2
votes
1answer
33 views

Dynamically determine type of input from controller

I have a custom object with a field named AnswerType that is a Picklist, and has possible values of Picklist, Text or Textarea. Essentially, the client wants to be able to ask the user a question in a ...
0
votes
2answers
44 views

How to make column ID as Dynamic in vf page?

I want to generate dynamic ID in my vf page for columns. Here is my code: <apex:repeat value="{!customerMap}" var="indexKey" > <apex:pageBlockTable value="{!customerMap[indexKey]}" ...
1
vote
2answers
28 views

Creating VF page by using Salesforce Tooling API . JSON_PARSER_ERROR

I am using Salesforce Tooling API for creating dynamic VF pages . Everything is fine but i am getting 18:23:09:159 USER_DEBUG [239]|DEBUG|[{"message":"Unexpected character ('P' (code 80)): was ...
0
votes
0answers
33 views

Ending position out of bounds: -1 Visuaforce page

After disabling development mode in visualforce page the following error is comming.
0
votes
0answers
19 views

How to show Integer list in vf page

<apex:repeat value="{!grndlst}" var="grnd"> <table> <tr> <td> {!grnd.grndacc1} </td> </tr> </table> </apex:repeat> ...
0
votes
2answers
23 views

IF inside an action=“” - different method based on criteria

I'm struggling with syntax here. This is what I'm trying to do - obviously the syntax is wrong. <apex:actionsupport event="onchange" action="{!IF(x=1, {!save}, {!otherMethod})}" How would I ...
3
votes
3answers
76 views

CKEditor when used to rerender text area to rich text area breaks the binding with the controller

I tried using CKEditor to render the text area as rich text. But when I edit the text present in the editor, it does not sync back to the controller. Here is the code i used to make text area rich ...
0
votes
0answers
24 views

Dynamic Apex Chart -apex:axis maximum calculation

Am Creating a dynamic apex chart .The problem am facing is in calculating the maximum value is considering only 500.00 where in the map has still higher values . Thanks for help in advance. The ...
3
votes
2answers
231 views

Data Driven Visualforce Page

I am designing a custom input picklist form that will be data-driven.Based on picklist value selected next question should show up with the picklist options.Like wise it might end up having 10-15 ...
1
vote
0answers
32 views

Apex:selectList dependent on ApexInputfied

`First, I am not a developer by any means so please be kind. :) I have created a custom Visualforce Log a Call page which makes use of URL Param button to auto populate a picklist field (Vertical__c) ...
0
votes
1answer
34 views

Link to Report on VF Template

Is there a way to add an Link to a particular report onto the visualforce email template. example:<apex:outputLink ...
0
votes
0answers
32 views

How to use fields that are not in the page layout in a VF inline page?

Is it possible to use in a VF inline page, fields that are not presented on the page layout? I don't want fields to be presented twice but not sure how to achieve this as when I remove a field from ...
2
votes
1answer
36 views

Visualforce | Multi Conditional Block Rendering

I have a beginner's question.. I'm trying to make a VF PageBlOckSection render by the following logic: IF Opportunity.Cancellation__c == TRUE AND Opportunity.Paid_Upfront__c == TRUE than Render ...
1
vote
2answers
74 views

Javascript Actions such as onmouseout and onclick not working for apex:inputtextarea with rich text enabled

While trying to call JavaScript functions on <apex:inputtextarea> with rich text enabled the call is not being made and alerts are not being displayed. <apex:inputTextarea richText="true" ...
2
votes
1answer
23 views

Dashboards: show list of leads counted in graph

Say I have a graph that looks like this on a dashboard in Salesforce: How can I display, preferably color-coded, the leads counted in it (i.e., the ones talked about in the graph)? Like to the ...
0
votes
0answers
57 views

Base URL in VF Component

I am creating a vf component and was stuck to add a base url to href. <apex:component controller="OpportunityReminder_cls" access="global" rendered="{!NOT(Isnull(FLstWrapperString))}"> ...
1
vote
1answer
130 views

How to increase the width and height of the Rich Text area field in Visual force Page?

I know this question has been asked earlier. but did not see proper responses so asking again. <apex:pageBlockSection title="Preview Pane" columns="1"> <apex:inputTextarea ...
1
vote
1answer
41 views

Multi select Picklist and Visualforce issues

I am trying to display picklist values from a multi select picklist from a related object. I am using a visualforce page and putting this in the record detail. VF Code: <apex:page ...
0
votes
0answers
22 views

what approach to take to build a search filter on visualforce page

i am a beginer in salesoforce,want to build a search panel on the vf page in which there will be 3 fields product name,operator(equal to,not equal to etc) and value if the searching will be based on ...
1
vote
1answer
34 views

Outputting spaces with dynamic VisualForce component

I am having trouble getting my dynamic VF Component to space out the buttons for navigation on my page. As you can see in the image below, it correctly outputs spaces between the Previous and Next ...
0
votes
1answer
46 views

How to hide or show (<DIV>) items dynamically in a VF Component?

I have the below VF Page where I am using pagination to only show 7 records at a time: The VF component code in the VF page is: <apex:pageBlock id="navGroup" rendered="true" > <div ...
0
votes
0answers
24 views

Get VF page/component instance from controller

The distinction here is that I want to access the very page/component that is binded to the controller (as opposed to calling Page.MyPage or Component.MyComp which instantiates a new object). To put ...
1
vote
1answer
37 views

Is it possible to line up PanelGrid with PageBlockTable or hard code a pageblocktable

So I have a data entry grid that is a pageBlockTable. I'd like to put instructions below the grid. What control can I use to make the grids line up? This is the data entry section ...
1
vote
3answers
54 views

Mass email the Visualforce email template

We have a limitation using Visualforce email template. VF Email Template can't be used for mass email. I am look for the ways how this can be achieved. I have created a visalforce email ...
1
vote
1answer
33 views

Visualforce Email Template - Related To

I am trying to fetch all the Opportunities associated with the User.Below is the Visualforce Email Template. I am stuck with the line of the code received error: Error: Invalid field ...
2
votes
0answers
46 views

Dynamic Visual Force Binding - getting values to Controller (null)

I am stuck at what I beleived to be a simple implementation using Visual Force Dynamic Bindings. I have the following scenario: A Standard Case has a relationship to a Custom Object (we can call it ...
0
votes
0answers
38 views

want to call Script from Visualforce page

When i run below code on button click event, it is not working. <apex:page > <apex:form > <apex:includeScript value="{!$Resource.jqueryAvaWidget}"/> <div ...
0
votes
1answer
56 views

Disable selectList after selection is made

I have a selectList in my VF page which allows the user to select the record type. On change the appropriate fields are shown to the user by re-rendering the PageFields. But as well as re-rendering ...
4
votes
2answers
61 views

Getting a VF component dynamically by name in Apex

I am trying to use Apex to control which component to show inside a <apex:dynamicComponent> but I don't want to hardcode the component names. So my question is, how can I reference the component ...
0
votes
0answers
63 views

Download an Attachment in VF page, Chrome issue

I have created a VF page which displays the attachments of a case. I have added the below piece of code to view or download a file. <a href="/servlet/servlet.FileDownload?file={!attachment.id}" ...
0
votes
1answer
42 views

how to do a alert message [closed]

How to alert message the events section and resources section so that I can check whether all my events are being loaded into the VF page or not. $(document).ready(function() { ...
0
votes
1answer
43 views

How to access User's Profile fields in visualforce page Javascript portion

I want to access a custom field of my administrator profile in a Visualforce page which has a standard controller i.e. "Company__c". I want to access the custom field in javascript portion of that ...
0
votes
1answer
30 views

apex:param not recognized by document.getElementById()

I'm not sure if apex:form is supposed to show up as something on the HTML, but I don't see it and document.getElementById() is not finding it. This is what I have: <apex:page id="parampage"> ...
0
votes
2answers
210 views

Pass input date values to controller

I am unable to pass date values to constructor :Attempt to deference null object: Vf page: <apex:pageBlockSectionItem > <apex:outputLabel value="From Date" /> ...
0
votes
0answers
37 views

Paragraph Sections and Sub Sections Numbering in Visualforce PDF

Am rendering vfp as PDF. I want to show sections and subsections Numbering dynamically to the paragraph for example 1. First Section 1.1 First Subsection for first section 1.1.1 child for ...
1
vote
0answers
40 views

Multiple checkboxes form to create new records

I'm trying to update a jQuery mobile app that uses visual force to do a couple different things, one of which is to create multiple new Tasks based on checkboxes for picklist values. Each value ...
2
votes
1answer
90 views

Dynamic Picklist Values by RecordTypes?

I've searched high and low and can't seem to find any posts or blogs showing how to get picklist values for a particular recordType to use in a custom controller. I can easily obtain the RecordType ...
0
votes
1answer
118 views

External URL is not accessible unless whitelisted

Following is the error I am getting on using bootstrap for PDF file generation. External URL = ...