The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
1answer
27 views

how to update the lookup field default?

I have two custom objects with the fields mentioned below. 1.exam(master object) fields===name 2.task(detail object) fields==amount, emaidid, examname(look up for exam object) exam object have 2 ...
3
votes
1answer
42 views

Redirect in page action attribute

To model the situation, let's say that I have two visual force pages, which use the same controller. Let's call them PageStart and PageEnd. PageStart uses action attribute for apex:page element. ...
1
vote
1answer
40 views

How to use include script in vf page?

i have my script code in a JS static resource file. My static resource file name is "web2caseresources" . In that, it has folders like web2case-->js-->filename.js.. How do i need to refer this in ...
0
votes
2answers
32 views

Locking fields on Opportunity Records if certain conditions are met

I need to lock an account name field, and remove a custom button if the close date is more than 6 weeks from today and the stage is closed won. I was thinking to use record type and page layout. I ...
1
vote
1answer
51 views

how to edit a record? [closed]

I have created a table with edit option.Whenever clicking the particular row edit link the whole table rows enabled to edited. but i want to edit a particular row. apex public class ...
-1
votes
0answers
41 views

how to edit a particular record?

I have created table containing the account object records. After clicking the edit button the record is enabled for editing .But the "edit" button is "command button". I want to change the edit ...
0
votes
1answer
43 views

how to make a table as editable one?

I have created a non-editable table for account object. After clicking the edit link I want to edit a particular record. how could I achieve this ? controller: public class account2task1 { public ...
1
vote
2answers
41 views

how to delete a row?

I have created a table with edit, create and delete options of record. But I have a issue in deleting operation. When am trying to delete the last row of table, all the rows are deleted except the ...
0
votes
0answers
23 views

How to insert data by copying from the excel sheet?

I have three fields as model,version,discount in product object.I want to insert data every time after clicking the save button from excel sheet.Can you provide the element to create such a grid ...
0
votes
2answers
26 views

System.QueryException: List has no rows for assignment [duplicate]

I've read a lot of answered questions about this error but I can't seem to resolve it. I would very much appriciate any help. I am trying to test my Extension Controller from a SF Page but I keep ...
1
vote
1answer
18 views

Rendered Special characters romanian in PDF

I am creating a PDF using Visualforce Dynamic components where i show data from Map Object. This data contains text a Romanian Language with special characters such as ă,ș,ț... This data gets ...
0
votes
0answers
10 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
43 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
1answer
34 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
79 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
28 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
37 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
70 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
43 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
44 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 ...
0
votes
1answer
68 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
26 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
61 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
42 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
26 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
116 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
32 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
156 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
37 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
18 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
32 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
38 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
31 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
56 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
127 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
30 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
103 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
38 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
444 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
176 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
78 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
2answers
198 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
27 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
107 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
132 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
166 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
132 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
399 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? ...