Tagged Questions

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

workflow fires without meeting criteria

i have a workflow and it fires only when custom_field__c is not null. an ETL job runs periodically, then this custom_field__c is updating, then the workflow rule fires, i get a email. Surprisingly, ...
0
votes
0answers
7 views

Is there any way to show the entirety of our Chatter Feed on a VF page?

I'd like to create a VF page that shows every Chatter post. The VF Page I created was pretty simple, but it only shows my posts, any ideas? didn't seem to work..
0
votes
0answers
4 views

Email Publisher attributes behave differently

We have an Email Publisher in the service console page with a custom template in the body. <apex:page standardController="Case" extensions="FeedEmailExtn" > <apex:includeScript ...
1
vote
1answer
28 views

How can I hide & show Lookup in Visualforce Page?

I have two fields. Lookup Preferences Based on my Preferences I want my lookup to be visible and hidden. I am using jquery j$(".class-name").hide() to hide the lookup and ...
1
vote
0answers
43 views

Record Name not created when creating visualforce page

I have a custom button on a child . This button allows the user to create a new child object in visualforce from the related list on the parent. However, the child's related list are not showing. I ...
2
votes
0answers
21 views

thumbnail type images?

I'm trying to integrate amazon S3 with SalesForce, I did it with the toolkit. When it says to upload image, it shows the image to a bigger size which I do not want. How do i resize and have ...
0
votes
1answer
10 views

Does anyone know how can we show Reports via Analytics API in Visualforce with direct linsk to records like in standard report?

I'm trying to show a report in a visualforce page, with some custom filtering. The hurdle that I'm facing is, the report data comes in as static text. I would like to have a link for Lookup fields ...
1
vote
2answers
38 views

Select2 in Visualforce page

Can anyone tell me how to use the below Select2 jQuery in a visualforce page? HTML: <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/html"> <head> <!-- ...
0
votes
0answers
11 views

SingleEmailMessage with Visualforce Template doesnt work when setTargetObjectId is a NON visible community user?

Setup is as follows: A community User (UserA) is creating Events with Accounts (AccountB) (manually shared via Apex) and an email invitation should be sent to the Account Users (UserB). A trigger ...
0
votes
1answer
15 views

Error when render Visualforce page to excel

i have vf pages that will render as excel file. the data source is from custom controller. the query return in pages is correct but after the data displayed in table, the page also generate like an ...
0
votes
1answer
14 views

How can I store complex form in cache memory or local server

I have a requirement to store data some where other than the database. My form contains 3 Object records. Basically in constructor first record is displaying I am entering data into that after that I ...
0
votes
1answer
34 views

AngularJs binding expression is not working in my VFP

Can anyone tell me how to write angular js in visualforce page? The below example is displaying angular expression in visualfore: The Html page: <!DOCTYPE html> <html> <head> ...
-3
votes
0answers
25 views
1
vote
1answer
22 views

Is there a way to place a standard homepage component on a visualforce page?

I've been re-doing the homepage for my organization, and one of my requirements is that the standard components of the homepage are displayed on the visualforce page used. My problem is that there's ...
2
votes
3answers
45 views

cannot read parent field from cascaded child object

I have the current relationship: parent- child object1 - child object2. I am not able to read a field using visualforce on a parent object from child object2. I am able to create a formula field ...
0
votes
1answer
20 views

Angular Js in Visualforce Page

Can anyone tell me how to convert the below angular js code to visualforce ? <!DOCTYPE html> <html> <head> <!-- CSS --> <link rel="stylesheet" ...
0
votes
0answers
25 views

AngularJs Form in Visualforce Page [on hold]

Can anyone tell me how to create AngularJs Form in visualforce page? My VFP code: <apex:page showHeader="false" sidebar="false" docType="html-5.0"> <head> <script ...
0
votes
1answer
25 views

Reload a whole page after clicking a follow button on visualforce page

Can anyone tell me how to reload or refresh a whole page after clicking a follow button on Visualforce Page? My VFP as follows; <script> funtion reload(){ ...
0
votes
0answers
12 views

i have created VF uploading CSV file and inserting record, how can i update when we find a matching PO# value in Salesforce

My controller# public class FileUploader { public string nameFile { get; set; } public Blob contentFile { get; set; } public List < String ...
0
votes
1answer
15 views

Followed user's feeds in Visualforce page

Can anyone tell me how to get the organization Chatter id? My usecase is: I wanna get the chatter feeds of user that I followed. So that I can add comments,likes for that feed.. For this I have ...
12
votes
1answer
126 views

Now that Lightning is here, what's the future of Visualforce? (in short - VisualForce vs Lightning)

As a developer, just curious to know what's the future of Visualforce (pages, components, email templates, etc..) ?? I believe for sure there will be backward compatibility so that the existing ones ...
0
votes
0answers
20 views

How to get the feeds of followed user in Visualforce page

Can anyone tell me how to get the feeds of followed user in vIsualforce page? My code is: <apex:page controller="VFC06_ChatterFollow" standardStylesheets="true" showHeader="false"> ...
0
votes
0answers
15 views

How to use Salesforce PDF Viewer for custom object similar to quote pdf (including save and send email button)?

Need to use custom vf pdf and display that in custom object in salesforce pdf viewer similar to standard quote pdf
3
votes
0answers
18 views

Sorting the Opportunity Line Item Products into Categories?

I am having an Invoice Layout and adding the Products as follows using the Visual Force page: Quantity, Product Code, Product Description, Unit Price ,Net Amount, VAT 1, S5KGC, 5Kg CO2 ...
0
votes
2answers
42 views

Bootstrap DatePicker In Visualforce Page

Can anyone tell how to use bootstrap datepicker in visualforce page? My Apex code as follows: <apex:page standardStylesheets="true" controller="DatePicker"> <script type="text/javascript" ...
5
votes
1answer
68 views

ApexPages.Message appears as bullet point instead of standard graphic

I've got a message that I'm adding to a page with the following code: ApexPages.AddMessage(new ApexPages.Message(ApexPages.Severity.CONFIRM, message)); The message appears on the resulting page. ...
4
votes
1answer
88 views

Long Text Area not rendering correctly when rendered as pdf

I have an issue where I have a VF page containing a long text area field. The field and data displays correctly when it's a standard VF page. I have an option to view the page as a PDF and when ...
2
votes
1answer
22 views

Why is my Site.UrlRewriter implementation not affecting URLFOR()

I have a Visualforce Page running on a Force.com Site that looks like this: <apex:page standardController="Page__c" extensions="RootTemplateExtension"> {!URLFOR($Page.Master, null, ...
0
votes
1answer
35 views

Guidance in Creating a Visual force page [on hold]

I just want to start off by saying I am not a developer, I'm just looking for a little guidance on where to start on a specific case for a client of mine. So the thing is that I need to create a ...
0
votes
0answers
17 views

Get feed items of other user in chatter using visualforce page

Can anyone tell me how to get the feeds of another user in visualforce page? I have 3 user.If user2 post a feed then user1 can see that in visualforce page. For that How can I create a Visualforce ...
1
vote
0answers
18 views

Interaction Log does not show on opening a subtab

I have a custom visualforce page that opens a Contact in a sub tab using the openSubtab function in the Console Integration API. I have the Interaction Log enabled for Contacts, however it is not ...
1
vote
1answer
18 views

Input field for decimal property

My VF tags: <apex:column > <apex:facet name="header">Sales Price</apex:facet> <apex:inputText value="{!prod.SalesPrice}"/> </apex:column> Controller code: ...
1
vote
1answer
15 views

Display all data when no value is selected from dropdown list

I am displaying a dropdown list of Accounts on VF page which is displaying other field's values on selecting the Accounts. This functionality is working fine. My additional requirement is I need to ...
0
votes
0answers
18 views

Display chatter feature in Visualforce page

Can anyone tell me how to display the chatter feature in visualforce page? I wanna display all the features in visualforce page.. Like I have 5 users. user2 post the feed then remaining ...
0
votes
0answers
11 views

How to reference a staticPath in Visualforce page

I am having a requirement to make the current file uploader work for IE8/9. Since IE8/9 doesn't support File API, I am considering using this: File API. However, it used this line in its example: ...
0
votes
2answers
37 views

How to get id of an object, which related list your looking

You have an object. It has a related list. If your related list has more than 5 elements you have "Go to list (55+) »" link under it. If you hit that link, you're redirected to a page with a table of ...
1
vote
1answer
16 views

How to create a 100% fully custom branded Community?

I want to create a 100% fully custom branded Community like the one shown in this demo https://developer.salesforce.com/blogs/developer-relations/2013/10/communities-plus-site-dot-com.html The ...
0
votes
0answers
19 views

Problem passing Account object from VF page to Flow sObject Variable

I have a problem passing an Account object from a visualforce page to an sObject variable in a flow. Error: When I go to the url: ...
0
votes
1answer
27 views

How to display controls which are not bound to SObject field?

My assumption is that <apex:inputfield> always requires SObject Field. In the scenario where I am showing a list of SObject records {Record 1, Record 2,...Record N} using StandardSetController ...
0
votes
1answer
35 views

Display Records Dynamically based on Date Filters

Using two date filters displayed in the VF page I would like to render the records in apex:pageblocktable. I am pretty new to Visualforce and this is what I have built so far. VF Page <apex:page ...
1
vote
1answer
63 views

How to display total under related list in a user friendly manner

After creating a Custom Object and adding lookup field to a Case object, Case's detail page can have a related list of this Custom Object. This Custom Object has a field Quantity. I need to put ...
0
votes
1answer
28 views

Follow another user via Visualforce page

Can anyone tell me how to follow the another user in Salesforce Org? There are 3 user in my org. Eg.: user1, user2, user3 User3 wanna follow user1, user2 For that how to write vfp; My VFP: ...
1
vote
0answers
10 views

Implement Article KnowledgeBase vote stars picking and view stat updating

Problem description: I wanted to show the default preview knowledge article window when user click on an article from an articles list, in a modal window inside users portal site. I use a bootstrap ...
1
vote
1answer
20 views

Custom Button to mass update records

I would like to know whether it is possible to put a custom button say "Convert All" in the following view along with "New Merchandise", "Change Owner" buttons. This custom button would act on all ...
0
votes
2answers
58 views

CommandButton action doesn't populate selectList field

I've got a simple VisualForce page with a form that has one custom picklist. My controller successfully populates the custom picklist and the page renders fine. But when I click on the CommandButton ...
1
vote
1answer
28 views

Test class for VF form can't refer to input: 'variable does not exist'

I am very new to the model-view-controller and have barely been able to get my code functional, but now I'm struggling even more trying to write test code! This is my first wrapper class, controller ...
2
votes
0answers
27 views

Exporting excel from salesforce

Hi I have created form which has an excel template for users to download and fill, but when i click on download link its getting redirected to another page.I dont know how to proceed and I want to ...
1
vote
0answers
34 views

VisualForce Page to Convert Leads to Opportunities

My colleague and I have been tasked to update our Convert Lead workflow. The process is still the same of converting the leads but we now have new fields and values that the user can choose and we ...
0
votes
0answers
15 views

Icon of Global Action is getting changed in salesforce1 in different mobile devices

I have a custom global action in salesforce which opens a VF page. And I am using Standard Icon for as Image 1 for global action. But Problem is for some users global action is displayed as Image 1 ...
0
votes
0answers
10 views

How to display or customize schedule report options in custom visual force page ?

I need to have some schedule reports functionality in my custom vf-page to let the user setup some scheduled reports. Is it possible to integrate this part of the default Schedule Report Page in my ...