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
0answers
15 views

how to use JiffyStubs.js?

can anyone tell me how to use JiffyStubs.js in salesforce organization? From where can i download this file. where can i store this file. how to use this file in vf pages. how to check the ...
-2
votes
0answers
15 views

To markup the bubble dynamically. Change the linecolor of the bubble in high chart dynamically [closed]

{ name: 'ClosedWon', color: '#8ba359', marker: { lineColor : ('{point.priority}' == 'Prime Prospect' ? '#ADD8E6' : ('{point.priority}' == 'Defensive Play' ? '#590000' : ...
1
vote
1answer
12 views

Campaign Member Javascript Button Help

I have created a custom conversion process that uses Visualforce. There is a custom button on the Lead page for conversion. I want that same button on Campaign Members that need to be converted, but ...
1
vote
1answer
22 views

Reshape of items in listview

What i am trying to achieve is to reshape the listview of the leas/accounts/etc... To be shown as grid view. For example, what i want to see is something like this Instead of this... Please ...
0
votes
3answers
17 views

VisualFlow dynamic choice not displaying any record after deployment to production

I have created a VisuaFlow where the user starts off from a screen where they have a picklist to select all created Pricebooks. When created and tested in Sandbox environment, the picklist correctly ...
0
votes
0answers
16 views

correct date format on date field dynamic [duplicate]

I am fetching dynamic field values in apex repeat so in these scenario, i am using 1 date field so when i fetch data then it show as a incorrect date format. How is this possible to show date in ...
0
votes
1answer
30 views

How to get Dynamic Variable value In Test Class

I have Two VF pages (SME Coach, SME info). SME Coach have a Picklist field. When I choose One Value here It will Dynamically Updated in Another picklist field (SME) In SME Info. Using the Value of ...
2
votes
1answer
87 views

Jquery is not loading in force.com edition

I have created calender using jQuery lib please find the code below: It's working fine in developer Edition. But same code if I copy in partner enterprise edition it's not displaying information: ...
0
votes
3answers
32 views

After saving remove the value from the field

I worked with save and new functionality. When i click save and new the record get saved but the field doesn't get blank. I need after i click save and new, the record need to get saved and field need ...
0
votes
1answer
37 views

Integration with Google map

I want to integrate our system with google map. Like if address found in the system it should locate address in google map.
0
votes
1answer
44 views

Wrapper class for adding dynamic rows in VF page [closed]

How to use wrapper class for adding dynamic rows in Visualforce page??(ie)When click button one row have to get add. can any one plz give me code for this...
0
votes
1answer
35 views

Unable to add row dynamically in vf page

I am beginner to salesforce. I want to add row dynamically to VF page when i clicked add row button. this is my script <apex:page standardController="Employee__c" extensions="Cutomextension"> ...
2
votes
0answers
63 views

Visualforce - Lookup InputField not Displaying picklist when in Dynamic Component

Standard Salesforce OOB lookups display a picklist field when a value is entered that matches multiple records (In my scenario a lookup to the 'country' table could return Australia & Austria for ...
1
vote
3answers
77 views

How to Dynamically Update Related List Values via Apex Trigger in Salesforce

I am fairly new to triggers, so please bear with me. Goal: The related stores dynamically update based on the Account location's Postal/Zip Code. Requirement: When a new Account is created or ...
0
votes
1answer
38 views

Sorting functionality using dynamic soql

I have created a visual force page in Account page that displays related opportunities by RecordType(5 Records at a time) for the given Account and when click on Go to List it directs to new VF page ...
2
votes
2answers
53 views

An aproach to a solution of an autofill ZipCode Visualforce page

I'm quite new to Visualforce so i just want to know what would be a good approach to solving this improvement i have to make in an org. I want to make a Visualforce page to attach it on the accounts ...
0
votes
0answers
13 views

Question with media content

How can we set HTTP response header for video/MP4 so that the various browsers read it as media file and be able to play it. The context is being served from VisualForce page and the media files are ...
1
vote
1answer
44 views

Dynamic Visualforce Component or Javascript?

I have a requirement where, the client needs to plan a budget on Month/Country basis. First select the % of budget that the Month Gets. Lets call it x. Then select the the % of x each country gets ...
0
votes
0answers
54 views

i have multiselect picklist field where based upon the selection it show records

i have created a searchpage page which contains free search and search based upon fields .when i select value in multiselect picklist it should records based up on those values ...
-1
votes
1answer
33 views

Day and dynamic Date in a column header

I want to create a timesheet table in which the column header contains Day and dynamically changing date. For example, if a user selects 2/1/2015 as the Start date that is Sunday, I want to show ...
0
votes
1answer
30 views

how to get the list after the delete the record?

I have an problem with my vf page,whenever I delete the record from my list ,record will deleted but I unable to return my list. public PageReference deleteRecord() { ID rid = ...
0
votes
2answers
56 views

Access label of Field Set in Visualforce

I am using Field Set in Visualforce pages to render user-defined fields. <apex:pageBlockSection title="HARDCODED TITLE"> <apex:repeat ...
0
votes
2answers
254 views

Why Custom Field's (Picklist - Data Type) values are not appearing on VF Page(PageBlockTable-Column)?

I am new to SFDC and started development in Apex and Visualforce Page with tutorials and online samples. So, here what I have tried and got stuck at the point. What I am trying to achieve: 1. In VF ...
0
votes
1answer
113 views

rerender attribute of command button not working to display charts

I have 3 command buttons on my vf page. one of them displays text and the rest two are used to display . Now I don't know if it is possible but the chart that I keep above in the VF page gets rendered ...
0
votes
0answers
123 views

Create a Visualforce page that acts like the lead convert page

I have a visualforce page that is set up to override the standard lead convert page. I have two issues. 1. When I tried to add the opportunity record type field it would not let me. I need this so ...
1
vote
1answer
60 views

How to download to particular employee details using custom object to excel sheet using visualforce page

I am trying like this but its not getting exact output. Visualforce page: <apex:page controller="MyControlleremployee" tabStyle="employee__c"> <apex:form > <apex:pageBlock ...
1
vote
2answers
268 views

Error handling for View State of vf page in Apex Salesforce

I have one vf page in which I have a requirement to display huge data but as we know Vf page has View state Limit as 135 KB , hence after reaching this Limit salesforce throws Exception as "Maximum ...
2
votes
1answer
40 views

Custom Create new view

i need to replicate the custom create new view functionality,after selecting the condition i have to store the data in to some object .is this possible to achieve the functionality??Could you please ...
3
votes
1answer
112 views

Unable to access component attributes in specifc getter methods

I am setting a string as an attribute someString in a custom component tabComponent from the mainPage. I know that we cannot access the attribute in the constructor of the VF component controller, but ...
1
vote
1answer
138 views

Filter Column on Analytic:reportchart not a valid filterable column

I have created a vf page with a standard controller equal to the Account Object. In the report that I am trying to bring in on the vf page it has the Invoice_History__c object and the Account object ...
0
votes
2answers
47 views

Dynamic Visualforce Components with commandButtons tied to records

I'm creating a VisualForce page that is going to load records from a web service using JSON. I have a requirement to add a button next to each record I pull. I don't see a direct way to do this with ...
1
vote
1answer
70 views

Accessing Public Variables within Webservice

I'm having some trouble with what I thought would turn out to be a simple form built upon a custom visualforce page. The back story here is that I need to display a dynamic number of records to a ...
0
votes
1answer
114 views

Visual force table display

I have created table using tag , In that table Column Header values are coming dynamically from Apex class as List. while displaying it on vf page I am using tag to populate the values of Column ...
0
votes
0answers
72 views

Display Converted Currency on Visualforce page inDeveloper Edition

i have a price(currency data type) and currency(pick list data type i.e(INR,USD,GBP)) custom fields in account object.when ever i enter a value in price(INR 70) field it should display the ...
0
votes
0answers
151 views

Dynamic table on VF page

I have a requirement in which I have to display records of object as Table. In which column header values will be dynamically taken from Records fields values which need to populate in respective ...
0
votes
0answers
18 views

when I view the chart the right Axis should shows labels from 20 at the down , -20 at the top

I am currently testing out Visualforce Charting to see if it is worth using but I have hit an issue when using negative values in the chart. Basically, I have a Y number axis showing values between ...
0
votes
1answer
95 views

Why isn't this dynamic VisualForce page style toggling the Static Resources properly?

I'm currently looking at the Dynamic References to Static Resources Using Mostly, it works as expected, with one anomaly: When the page initially displays, as expected, it correctly uses both the ...
0
votes
2answers
316 views

How can I write a unit test which includes ApexPages.StandardController methods?

Currently looking at the Using Dynamic References with Custom Objects and Packages tutorial. For reasons I won't speculate on, step 7 included the controller extension code (again) instead of the ...
1
vote
0answers
437 views

Enable/disable fields on create page based on picklist value using reRender

I'm creating a Hospital Management application that has a custom object GH_Patient__c. There is a picklist field GH_Patient_Type__c which has 2 values - In-Patient and Out-Patient. My Requirement is ...
1
vote
1answer
97 views

Dynamic values for picklists depending on profiles

I am building a piece of functionality where I need to filter a picklist depending on the user profile that access the functionality. The behavior I want to build is the following: User with specific ...
0
votes
1answer
47 views

Element viewStateWrapper with id = ajax-view-state must exist : Error

I have an visualforce page in which i am rerendering the apex form element on dropdown change. This page works fine until their is an validation error ( i am validating with jquery validate). Once ...
1
vote
1answer
169 views

Invalid parameter for function URLFOR

i have a requirement wherein I have a button on my VF page XYZ_VF 1.The button needs to open a create record page of an custom object 2.Also when the standard create page is displayed,its lookup ...
0
votes
0answers
168 views

Dynamic picklist column in pageBlockTable

I have a Visualforce page for an Order form in my Salesforce instance. The form includes a pageBlockTable for the products (line items) being ordered. So there is a button to add another line item, ...
1
vote
1answer
38 views

How to “unrender” an OutputPanel with required fields on

I've overridden the new Opportunity page and I have a dynamically generated picklist of Contact Names and a static value "New Contact". When "New Contact" is selected a new panel is displayed with ...
0
votes
0answers
63 views

Error while trying to create a dynamic visual force page

I am trying to create a dynamic visual force page and am referring https://developer.salesforce.com/page/Dynamic_Visualforce_Components I am getting the below error when trying to save the class: ...
0
votes
3answers
163 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
191 views

How to display 1 out of 2 possible fields values in same column : visual force

I have a column that needs to display date if there is no condition else display a combination of text+date if a criteria is met. I have to append a text Week Of to a date field if a custom field ...
0
votes
0answers
135 views

How to pass parameters to dynamic components that reference custom components

The code below from salesforce documentation shows how to pass parameters (attributes) to custom components <apex:page> <c:myComponent myValue="My component's value" borderColor="red" ...
0
votes
1answer
56 views

Currency field to words

I got this apex code for converting numbers to word but want to display this in VF using standard controller and extension. public class NumberToWord1 { public ...
3
votes
0answers
149 views

Pass different values as componentvalue to <apex:dynamiccomponent> in <apex:repeat>

<apex:repeat value="{!blocksThatAreComponents}" var="key"> <div id="{!key}"> <apex:dynamicComponent componentValue="{!PageComponentsMap[key]}" /> ...