The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
15 views

Restrict picklist values to show based on recordtype

I have a custom object Marketting_Information__c. There I have a picklist field Title. Now I have an apex page where User selects a particular Record Type from Drop-down and based on that I have to ...
2
votes
1answer
19 views

Favicon changing from page to page in SF

I've noticed the favicon in SF seems to be different across random pages in my SF app recently. It's not a problem as such, I'm just curious why it's only affecting some of my pages and not others. ...
0
votes
1answer
26 views

Dynamic Visualforce page for all SObject and include it in page layout?

As far as I know, a visual force page is tied to only one SObject by declaring <apex:page standardController="Case"> </apex:page> Is there any way for a visual force page to be dynamic ...
0
votes
2answers
31 views

Javascript compare set with string in apex page

I have below apex page snippet where javascript fails to execute and errors out whole page because of failing to compare. Can someone help me here? Here intersects come from controller which I checked ...
0
votes
0answers
19 views

separate sections to display in apex page function

I have below code snippet where I need to split records to display in two separate sections (say A & B) in javascript box. If a set value matches with field Survey_vod_r.Name in the record put in ...
2
votes
2answers
56 views

How to pass variable from Button to popup - close the popup and refresh the opener

I am trying to pass an oppty id from a button (on the oppty page) through an apex wrapper of a flow, to another apex page (pop up that closes itself, and should refresh the opener page). Main problem ...
0
votes
0answers
15 views

How can I make my flow page publicly accessible?

I appreciate this has been asked before, but I'm struggling to get this working despite trying to follow the documentation. Clearly I'm missing something/s, can anyone help? I've pasted screenshots of ...
0
votes
0answers
20 views

Modify the apex:pageBlockSection like adding image

Is there a possible way to add an image in the <apex:pageBlockSection>? A better way of explaining is through an image.. This is the code that i want to add: <a href="javascript:void(0)" ...
2
votes
1answer
69 views

Sharing Controller with a Visualforce Page and Visualforce Email Template

I have a Visualforce page with a custom controller that presents sales data in a simple table. The users would now like to email that data. So I'm trying to leverage the same controller for both the ...
0
votes
0answers
35 views

2 Lookups of the same object

Facing an issue with 2 look-up fields of same object. When i used both the fields on the same page only one is getting selected. Steps to reproduce - 1. created 2 look-up fields of same object 2. ...
0
votes
0answers
16 views

how to add contat id in a external form?

i am trying to make a external form through form assembly to update contact information. How can i add contact id in form so that the information is updated in similar contact.
0
votes
2answers
30 views

How can I put a clickable URL in my VF page

if I gather the url of a record that I want to direct a user to, how can I display this URL as a clickable URL in a VF Page?
1
vote
1answer
31 views

SelectList disappears when the value is an object's picklist

I have a simple page with a form that is supposed to create a custom object. This custom object has several picklist fields. I can dynamically populate the selectLists, but when I give the selectList ...
0
votes
0answers
20 views

Dependent Picklist throw page error

I have a dependent picklist and controlling picklist both present on Apex Page. Still it throws below error. The dependent picklist 'Outcome' requires its controlling field 'Transaction Type' to be ...
0
votes
2answers
45 views

Render condition

Can someone please let me know what is my error here in the render condition? rendered="{!IF(AND(Counting != 0,Inquiry=='Inquiry'),true,false)}" Please note Inquiry is a param value set in apex ...
0
votes
0answers
14 views

Data from 2 Webservices to be shown on Customer Life Cycle (Visualforce Page)

I have a requirement where I need to show Customer Life Cycle (on landing page for customer - visualforce page) depicting various stages of him registrating for flat, welcome call, allotment letter, ...
1
vote
1answer
86 views

View state size limit & de-reference null for transient

I have below code to allow multiple file attachments to be inserted against a parent record id. But this results in either View state size limit exceeded (not all the time) or dereferencing null ...
1
vote
0answers
26 views

Attachment Parentid population

I have two VF Pages. Say V1 , V2 where V1 is my parent page and V2 is included in it. Here in V1 an instance of a custom object (Call) is created and in DML insert it gets into the system. In V2 ...
0
votes
2answers
65 views

Google Geocharts for Salesforce

Hi I am trying to setup google charts in visualforce page. In side I've created a report with the following id : 00O200000079q0Q The code that I've created is below <apex:page sidebar="false" ...
0
votes
1answer
34 views

Integer declaration

I have below method in a public with sharing class. In the method, I need to use an integer but unable to declare that. Can someone please help me in integer declaration here? Snippet: public with ...
1
vote
1answer
158 views

Checking a list if a certain string exist in visualforce page

How can i check if a list has certain string in salesforce. For example I have : anotherList which is from controller and has this value [NAME_A, NAME_B, NAME_C] Then in my page: ...
1
vote
0answers
136 views

ReplyTo email address using Visualforce email templates but sending through apex

I have been working on creating a Visualforce page that allows you to choose users and send out emails to those users using apex. The problem I have run into is that the email address that the user ...
0
votes
1answer
46 views

page reference not redirecting properly and stripping parameters

I am trying to create a url in my class it gets created corectly and i am able to see it in debug log but when i pass it to the pagereference it does not redirect correctly. and it strips the ...
0
votes
1answer
73 views

Pass ID from detail page to a VF page

I have created a detail page button of Custom source as URL that has below URL /apex/ComplianceIncidentPublish?Id={!Compliance_Incident_abv__c.Id} That is unable to get hold of ID in the VF page. ...
2
votes
1answer
21 views

List button to be used in detail page button

I have a List Button on a custom object. I need to use that button in that object as detail page button. Please find the VF page that List button calls here. Page: <apex:page ...
0
votes
1answer
75 views

Salesforce1 button expose VF Page

I have a requirement to render a VF page in salesforce1 on Account Page when a button is clicked on a particular Account record. Please let me know how to achieve that. Searching in google can't get ...
0
votes
1answer
112 views

Visualforce Search Page - SOQL Results Pagination

I've been building a VF search page and have run into a slight issue. I want to add pagination so that I can return all of my results and allow users to go through the results at 20 records a page. ...
1
vote
1answer
146 views

Visualforce Search Page - Dependent Picklists

I'm working on building a custom search visualforce page and I've run into a problem. I have added 2 picklists (one controlling and one dependent) as filtering fields. However, when I go to the VF ...
0
votes
1answer
87 views

Colored Picklist Values in VF Page

Got scenario where I need to display picklist values coming from a text field values (0,3,5,10…) and when the picklist values are displayed, it should be colored out based on less than 12 would be in ...
0
votes
1answer
264 views

Display error message from controller fails

I have below apex page where I am trying to catch a custom apexpages.addmessage from the controller. But it is not working , simply not displaying the error message in page. Can someone please help? ...
2
votes
1answer
83 views

Update based on csv data

I have a requirement to update records of custom object Incident_abv__c if the value of it's Name field in present in csv. I have below class and page to do the same. But when I click the Read csv ...
1
vote
2answers
502 views

visualforce page readonly based on logged in user's profile

How to make visualforce page readonly based on profile of the logged in user? I have a pageblock table of outputfield with inline editing, which is not working as read only when enabled ...
2
votes
1answer
47 views

Can we assign same fields to different page layouts. How can we achieve this requirement

Can we assign same fields to different page layouts. How can we achieve this requirement. I have created few fields and assigned one page layout ( Account Lead), Now i want to assign the same fields ...
0
votes
1answer
110 views

Update list values in an input text field

I have below code to update the input text field value for OUTCOME field from the User. My list update is failing to happen without throwing any exception. Please can someone help me here? My ...
1
vote
2answers
212 views

How to query custom object fields value and sum them before opportunity page load, Salesforce?

I have two Custom Objects: BigMachines Quotes ( Not Allowed to make any changes in this custom object ) Phoenix Quotes I Need to query values of Total from both custom object, sum them and set the ...
5
votes
2answers
321 views

How to decode German characters(German umlauts) from the salesforce url?

I have an issue in Getting url parameters.Since i have german alphabets as values for parameters some of the characters are not decoded properly . ...
2
votes
1answer
176 views

Visualforce Page and Visual Flow - Back and forth redirection - Solution?

I have a visual flow that is started on a click of Custom button. This flow is embedded in a visualforce page (standard way of using flows). Now, in one of the steps in the flow, I want to redirect ...
1
vote
2answers
141 views

Column background color in pdf

Please someone let me know how to get a colored background of a column in pageblocktable in an apex visualforce page with renderAs pdf. I have tried with this. It works in pages but fails for pdf. ...
0
votes
1answer
48 views

Unable to locate Secure Agent under Develop

I tried logging a case asking salesforce about this but was rejected and directed here. Can anyone here shine a light on why I don't get this option in my Setup menu? I am attempting to follow the ...
1
vote
2answers
168 views

Show values in VF page from both map and list

I have a requirement to show map values and list values simultaneously in a page. Can someone suggest a wayout? Apex controller: public class IncidentDetailExtnController{ Incident__c oInc ...
1
vote
1answer
128 views

When I change a VisualForce page ContentType, can I somehow give it a file extension?

Currently reading about Using Custom ContentType. I see that, instead of serving an HTML page, I can instead serve some other media types, such as Excel or RTF. However, when I create the page, I ...
0
votes
1answer
152 views

Create Visualforce page that opens up on hyperlink

There is a VF page OpenIncidentsByRep that shows columns having User Names and no. of Incidents of that User, referring from Incident object in a single row. The Number field is an hyperlink. I need ...
2
votes
2answers
46 views

Impact on the Standard Entity

If I use custom VF page to override the Save functionality @ Opportunity level, what will be the impact on the Triggers, VAlidation Rules and any other codelinked with the entity? In a nutshell, I am ...
2
votes
1answer
1k views

How to get Anchor tag (which works with JS function call) to work using rightClick > open in new tab?

I'm using an anchor tag <a href="#" onClick="javascriptMethod();">asdasdasd</a> This javascript function dynamically decides on the page to open. Works all right on click. But when I right ...
0
votes
1answer
240 views

Page.pagename OOPS Concept

We use Page.pagename to get the Page Reference of a Visual Force Page. I am unable to get the OOPS concept related to Page.pagename Here Page is a class? pagename is a static variable? What is ...
-1
votes
2answers
190 views

Too Many SOQL Queries 101 though limit 100 [duplicate]

I am getting this error though limit 100 is provided in SOQL statement.Can someone please suggest a way out here? Apex code: public class Attachments_11{ public List<attachmentCaseWrapper> ...
3
votes
2answers
582 views

Pagination in apex

I am getting an error of limit exception in salesforce for SOQL results more than 1000. I need to show 50000 records in a pdf page(may be in different pages). Can someone help me here to do ...
2
votes
0answers
86 views

saving form options

I have created to forms and i am trying to save selected options of form in there objects can you provide some help my code is like; what logic should be used in save button page-- <apex:page ...
0
votes
3answers
452 views

Why style.display = 'block' works only on Firefox?

I'm using the code below : <apex:outputPanel id="myID" style="display: none;"> ... </apex:outputPanel> <apex:commandButton value="Display" onclick="display()"/> <script ...
0
votes
2answers
168 views

Use Edit function in vf page

I have to use edit function in a vf page.Please find my apex class and corresponding error showing below. Apex class: global with sharing class poistionController1 { public ...