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

1
vote
1answer
18 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
16 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
21 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
20 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
28 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
20 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
34 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
33 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
0answers
11 views

Show eventbrite organization page on custom visualforcepage

So here is the thing, My eventbrite acc and salesforce acc is connected. I can create event in salesforce which will become live in eventbrite through API. Now i want to create one VF page in ...
0
votes
1answer
26 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
36 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
43 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
36 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
29 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
23 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
78 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
36 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
30 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
56 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
81 views

External URL is not accessible unless whitelisted

Following is the error I am getting on using bootstrap for PDF file generation. External URL = ...
0
votes
1answer
28 views

I need to get the total number of the opportunities depending on the picklist value selected

I want to create a field in accounts object that will display the total number of opportunities depending on the picklist value selected. What approach should I use to achieve this? As much as ...
0
votes
2answers
178 views

How to display records on a pageblocktable based on the value of a picklist field?

Hi i am new to salesforce. I want to display some records on a pageblocktable, which must be based on the picklist field. e.g. If i select Quarter4 from quarter picklist field pageblocktable must show ...
2
votes
0answers
29 views

Using selectRadio with field sets and data table?

I'm trying to do some dynamic visualforce and am running into a bug. I have a set of records and I want the user to select one of them. So, I created a wrapper class, and am creating a dynamic ...
1
vote
1answer
22 views

Trying to populate fields based on contact lookup

Action support is refreshing overall page.Only following section should be refreshed.Not happening may be m missing small point. Vf page: <apex:pageblockSection title="Prepared For" columns="2" ...
0
votes
1answer
158 views

Add/Edit multiple Records on custom VF page

Is it possible to add or edit multiple records on a custom VF page? For the example below, if lineItemList return fewer than 10 records, I would like to render blank inputfields for insert of new ...
1
vote
2answers
267 views

Get Map values inside vf Component and in apex:repeat

Hi have a List<String> Key and a map<String, String> mapkv VF Page: <apex:page applyHtmlTag="false" controller="testController" extensions="otherclass1" action="{!someFunction}"> ...
1
vote
1answer
309 views

Process Builder giving error The flow failed to access the value for [example] because it hasn't been set or assigned

I have a process builder which is giving error: unable to find field dataType for complex reference. In server log :The flow failed to access the value for ...
-1
votes
1answer
198 views

how can we populate picklist values from custom object in visualforce page

I have a custom object(survey__c) and custom field which holds the picklists values of the month (month__c). i want to use these picklist values in vf page.... i am using a custom controller in vf ...
0
votes
0answers
41 views

How to store Dynamic VisualForce Component value in String?

public Component.Apex.PageBlockTable getdynamicTable() { List<Account> listAcc = [select id,name,Question__c from Account limit 10]; Component.Apex.PageBlockTable table = new ...
0
votes
1answer
41 views

Vf page Issue with account lookup

I am not able to get account name as lookup to account as it is standard lookup field it appear as read only. As <apex:inputfield value="{!quote.accountid}"> should get that . > ...
2
votes
1answer
65 views

schema.getglobaldescribe needs test class [closed]

need to cover try and catch blocks public class InsertDynamicSObject { public String RecordName { get; set; } public String ObjectName { get; set; } public ...
2
votes
2answers
41 views

VF Page - Landing page - Building Tables

I am creating a VF page that will serve as a "Landing" page when Partners using our Portal, click a link for Sales Training. The Page is fairly straight forward to create, however I'm not sure how to ...
0
votes
0answers
12 views

while refresh page block(auto completion script code outside pageblock it is not working) [duplicate]

<apex:pageblock id="pb"> <script type="text/javascript"> $( ".AutoPin" ).autocomplete({ source: function( request, response ) { ...
0
votes
0answers
24 views

How to handle applet URL in irame in vf page that comming in http response

I am getting URL's in my http response..... I am expecting url's of images but that are the url's of that external system's image viewer. Means image will open along with its image vjewer of that ...
2
votes
1answer
122 views

Can i Create Custom Button same like Create PDF button of Quotes?

when i click on Create Pdf then this pdf Preview open,i need exactly same functionality . i want to create button like Create PDF button of Quotes, i make same functionality for my custom object , ...
2
votes
1answer
303 views

how to make selected radio button as checked?

depending upon the selection of radio button it displays the selected row in differnt fields. the selected radio button disappears after the selected row splited.but i want the radio button selected. ...
-1
votes
1answer
62 views

upon checking checkbox field on parent need to check child records exist or not

I Have a Parent Account object in this i have check box field "No Asset exist". when ever i am trying to check the checkbox it need to show error message if Assert records exist for this Account ...
1
vote
1answer
142 views

How to show wrapper list records in vf page if that list we made from http response

VF page part :- <td > <apex:pageBlockTable value="{!doclist}" var="WrappedCustomer" cellspacing="2" columnsWidth="50" rendered="{!showpage}"> <!-- value="{!doclist}" --> ...
0
votes
1answer
23 views

related to visualforce page getting images from godaddy [duplicate]

Is It possible to get images from godaddy and use in visualforce page ,if it possible can You tell me syntax for that in visual force page.
1
vote
1answer
95 views

Passing Time Frame parameters in Report?

I need to pass report parameters from VF page.? I want to run a report from Thursday to Friday dynamically... I have the dates on Vf page... But how to pass in the report URL..Please help. ...
0
votes
0answers
62 views

AngularJS Json parsed data working in local machine but not in VIsualforce page.

I have two json files with cities and stores information. I need to show them in a typical grid format. For that i have used angularJS to fit the design. Now i executed the solution from local xampp ...
2
votes
1answer
60 views

How to display tabs within tabs in Visualforce?

I tried using dynamic Visualforce components to display tabs within tabs. But it does not seem to work. Apex Class: public Component.Apex.TabPanel getMyTabs() { Component.Apex.TabPanel myTabPanel = ...
1
vote
2answers
307 views

“ Error occurred while loading a Visualforce page ” in Portal Site,

I've already googled on this issues and I did all the recommendations, But still Un achieved, I've created visualforce page to display Attachments on Particular Object for Current Logged in User in ...
0
votes
1answer
142 views

How can i show multiple object records in listview

I have 3 unrelated objects like obj1, obj2, obj3. I need to display these three object records in listview based on created date. How can i do this..?
3
votes
2answers
624 views

How to dynamically add row between two rows in vf page

How to add the new rows dynamically in the middle of existing rows in visualforce page. My rows will like this shown in image. I can delete the rows where ever i want, but new rows are added in end ...
0
votes
1answer
64 views

How do I create working links from a data table in a custom component to open up a new window?

I am making a visualforce page to add a custom component to my homepage. I'm trying to add an unread leads table. I'm trying to get the names clickable so my sales team can get to their unread leads ...
3
votes
0answers
61 views

OWASP Zap Report for scan Http request

Hi Friends , anyone heard about OWASP Zap Report ?? Scan request and response. i want create repohttps://eti-massemail.na24.visual.force.com/apex/MassEmail rt for one app of Salesforce. i face an ...
1
vote
1answer
38 views

Lookup fields appear with the Lookup button on record edit pages

Lookup fields appear with the Lookup button on record edit pages How can i make it in my VF Page ?
4
votes
1answer
364 views

How to create nth level tree hierarchy structure in salesforce?

I have a Product XML with parent,childs,grandchilds....upto nth level. I want to parse this xml & create a tree structure out of it & display in vf page. I saw an example of accounts,contacts ...
0
votes
3answers
356 views

Can i add two number field dynamically on Visual force page

I have two input field of type number Field1 and field2 on Opportunity page . Here is my requirement If i enter field1= 5 then field2 should auto populate 30+5=35 on the same screen. I am ...