We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [dynamic-visualforce]

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 standard markup, dynamic Visualforce components are designed in Apex.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k 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
32 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
725 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. https://na5....
2
votes
1answer
538 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 = ...
2
votes
2answers
5k 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
2k 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
3k 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
2k 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 ...
4
votes
0answers
268 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
182 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 ?
6
votes
2answers
375 views

URLFOR/Component.Apex.OutputText in Unit Test causing Internal Server Error?

Background I'm trying to build the usual "URL hack" to default some field values when a new record is created. This is a simple override that basically has a page like: <apex:page ...
5
votes
1answer
2k 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
2k 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 ...
2
votes
0answers
45 views

Remove Dynamic created pageblock [closed]

i have to created dynamically page block . now how i remove it dynamically. See the picture when i click on red button that block i want remove. thanks in advance
-1
votes
1answer
744 views

get date field based on picklist value? [closed]

I need to display inputtext or inputdate based on dynamic picklist. Example i have picklist name 'section' and values a,b,c,d. By default inputtext will shown. When you select picklist value is 'd'...
2
votes
1answer
303 views

Attachments are not displayed in a Pageblock Table

I have a visualforce page that will display the attachments from A custom Object based on the Current logged in Portal user AccountID and ContactID. The custom object is Child(LookUp Rel) of Account ...
0
votes
3answers
476 views

StandardSetController - Can I override New, Edit, Clone Buttons?

For creating list button in relationlist, I changed my constructor StandardController to StandardSetController. After changing constructor in VisualForce Page, the standard Clone, Edit, and New ...
0
votes
1answer
2k views

IF condition in Visualforce page

I'm trying to dynamically set value attribute of commandButton using if condition. <apex:commandButton value="t" action="{!IF(PototalPayMap[po.id] => po.QA_amount__c,'Paid','Make/View Payments')...
1
vote
1answer
159 views

How to get URL for Go button in Tab Homepage

Hi i am using custom vf page for Tab Homepage. I need Go button that redirecting to standard list view page. what is the url for redirecting to list view page.
2
votes
1answer
62 views

Redirecting when i hit save button with values

i want to create a code that when i hit save button i want to save the data and redirect it to a another view page with same values. I tired several method, but it does not work. Anybody have any idea?...
3
votes
1answer
135 views

How to get the source IP field?

we want to get the source IP field from login history object. We do not know how to get it. We can get the IP but the system randomly chooses a one. Does anybody have any idea? thanks trigger ...
1
vote
1answer
35 views

visual force page

i want to populate certain field on the basis of selecting some look up field.below is the code i am giving. <td class="table_gap"><apex:outputLabel styleClass="BoldWord">...
2
votes
2answers
1k views

Images are fetched from attachments for Visualforce page rendered as PDF displaying broken images

I am trying to fetch the images from the attachments and trying to display these images in a visualforce page which is rendered as pdf. But in the pdf I am getting broken images. If I remove the ...
0
votes
0answers
519 views

How get the date field id using javascript in vf page

Hi i am trying to get the date field id using javascript in vf page. This Date field is rendered based on meeting type picklist. I tried so many ways but it won't work. my requirement is If Date field ...
-1
votes
1answer
532 views

How to use D3.js file in VF Page [closed]

HI could anyone please say how to use d3.js step by step procedure with small example from the scrtch like loading the script in static resuorces will be so thank full to you in Advance
3
votes
1answer
2k views

Visualforce - ActionFunction and ActionSupport not calling action methods

today i'm having some issues with actionFunction and actionSupport visualforce tag. This is my example page: <apex:page controller="TestLookupActionFunctionCtrl"> <apex:form id="myform"> ...
-1
votes
1answer
2k views

How to display Dynamic data on HIGHCHARTS? I used JSON Generator but not displayed anything,

Here is my Snippet,I don't get any Javascript errors but my graph is displayed simply without populating data. Any one help me where i am wrong VF Page <apex:page controller="JSON5" > &...
1
vote
1answer
813 views

Nested Tables - How Can I Add A Child Row Dynamically

Working on Nested Table Functionality, I was able to display the Master-Detail custom objects Master__c and Child__c in a Nested Table. Now, I need to add row/delete functionality for the Child Table....
3
votes
2answers
97 views

Need users to be able to add extra input fields on visualforce page

I have a visualforce page with a table in it with three lines that the user can fill in... it seems now that 3 lines is not enough, some users wanting up to ten. I do not want to add ten lines if I ...
0
votes
1answer
2k views

Dynamic Picklist with Action Support Is Not Working

I am trying to make users picklist based on that some logic should happen.But action support is not calling method based on event="onchange".Please Find the below code VisualForce code: <apex:...
3
votes
1answer
3k views

Filter Visualforce List Dynamically Using Picklist

I am trying to create a visualforce page that has a list of field values in a table that uses a picklist that on change will reRender the list by filtering by a specific field value. My problem is ...
0
votes
1answer
241 views

Can I render force.com page template based on a url parameter?

Using a force.com site - Is there a way to select the visualforce page template using a URL parameter? Use case: Our business partners want to send their clients to a co-branded page - including ...
3
votes
1answer
922 views

Visualforce Dynamic Binding Map of wrapper Object

today i need your help for an issue I'm facing. I have the following custom controller public with sharing myCustomController { public Map<String, wrapperObj> myMap { get { // ...
3
votes
3answers
3k views

How to create a visual indicator of Stage on Opportunity record

I want to create STAGE based chart in my salesforce org. Please find the screenshot for the sample.
0
votes
2answers
83 views

IF Statment in Visualforce <apex:selectlist>

I have inherited a visualforce page used as a service form online. The three item values "1-10 toestellen" ect are rendered in 5 languages for different business areas. I need to know if there is a ...
3
votes
1answer
922 views

Change Value of Visualforce Dynamic Picklist on Submit

I am creating a custom visualforce page as part of an approval process. I have already made it so that based on which team the user chooses, one of two possible dynamic picklists will be rendered with ...
0
votes
0answers
90 views

Salesforce Mutiselect apex:selectlist and javascript remoting

Can anyone provide me any example or code snippet how to use multiselect apex:selectlist and javascript remoting. Regards
2
votes
2answers
743 views

Add Visualforce components using jQuery

I need to add VF elements dynamically on the client side (cannot use Apex due to page structure). I am looking for something like this: $("#myid").append("<apex:outputText id='abc'>My Text</...
0
votes
1answer
761 views

Generate Tree View from XML in VF Page

Below is my XML:- <Category> <ID>1</ID> <Name>Root</Name> <Type>NA</Type> <Children> <Category> <ID>3</ID> &...
0
votes
1answer
434 views

CSS style issue for PDF in Visual force email template

I have one visual force email template which sends an attachment in PDF format. I have given style class for fields in the PDF, but the given CSS does not works for the PDF. Please help me out.
3
votes
1answer
2k views

How to show a Case Feed within a Visualforce page where the Case Id is dynamic?

I am currently trying to expand upon the Web-To-Case functionality by exposing certain updates to our users. When trying to do this I would need a way for them to enter their case number, then pull ...
0
votes
0answers
568 views

Dynamically assign column index in apex:dataTable with apex:repeat

Here is what I'm trying to achieve. <apex:variable value="{!0}" var="colNum" /> <apex:dataTable ...> <apex:column> </apex:column> <apex:repeat ...> &...
1
vote
1answer
324 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
37 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 advise, ...
0
votes
3answers
250 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
1answer
2k 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
687 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
4answers
1k 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
163 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
648 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...