The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
9 views

How to insert a record in the data table? [duplicate]

I have a table of 3 rows and 3 columns in which the data I enter should be saved in the account object. But what I am facing is , only the 3rd row data is inserted not the first two. Thanks in ...
0
votes
1answer
18 views

How to insert a record using table?

I have a table of 3 rows and 3 columns in which the data I enter should be saved in the account object. But what I am facing is , only the 3rd row data is inserted not the first two. My controller ...
0
votes
0answers
41 views

Multiple conditon in script tag [on hold]

Please find below script tag directly fed in my apex page. I need to check for multiple conditions to disable an input field. It is not working.Here 'out' is the id for inputfield. I do need something ...
0
votes
1answer
22 views

Javascript Message show on List button click for a profile

I have a requirement to show a javascript pop-up that 'U r not allowed' when a particular profile Users click on the List button. For the rest of the profiles , I have a landing VF Page to deal with. ...
4
votes
1answer
68 views

Exact equality operators only allowed for reference types: String

Please find below piece of code where I am getting this error. Error: Compile Error: Exact equality operators only allowed for reference types: String Code: if(((inc.Status_abv__c!=='New') ...
0
votes
2answers
24 views

Link to open VF page beside a field

I have a requirement to place a link beside a custom field value in a detail page. Can someone tell me how that can be feasible? I am not getting such a thing in net surfing.
1
vote
1answer
24 views

How to link Salesforce1 feed page from a Lightning app?

someone in Salesforce forum provided me with the following solution: return new PageReference('/one/one.app'); It works when testing from my Salesforce sandbox, it doesn't when I do the same from my ...
2
votes
1answer
47 views

Visualforce page title is not set

The problem is pretty straightforward. We are using page title attribute to set title for our vf community pages, like: <apex:page sidebar="false" showHeader="false" ...
0
votes
1answer
39 views

Render condition not working

I have below render condition on below snippet that makes output field show on apex page when a particular checkbox is true for a list record. It is not working when that checkbox is checked from a ...
1
vote
1answer
41 views

Update record based on checkbox

I have below page where I can show different records under different sections based on their record type. Now I have to update only those records where User checks checkbox Confirm_Attestation_abv__c ...
-1
votes
0answers
24 views

How to create a tab using a custom view

I need to create a TAB inside an APP. In this tab I need to list all (and only) the contacts that have a certain Account. I've created a custom view in the Contacts tab page and I suppose I can use ...
0
votes
1answer
31 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
23 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
36 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
36 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
21 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
81 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
25 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
90 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
36 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
17 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
34 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
25 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
52 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
15 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
112 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
28 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
86 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
36 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
274 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
158 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
60 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
116 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
23 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
93 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
121 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
158 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
2answers
124 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
329 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
86 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
588 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
49 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
129 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
230 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
378 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
222 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
148 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
52 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 ...