controller's questions - English 1answer

1.036 controller questions.

I need to make an VF component with image. All is great, but this image (preview) disappears after page refresh. How can I fix it? Controller: public class uplClass2 { public string recId{get;set;} ...

I have a custom visualforce page that has page blocks. When the render condition is false, I receive the expected results when previewing. The issue is when I change the render criteria to true and ...

Currently, sending a Employee enroll input form on a object H_HRBasic__c to the apex class method CMP <aura:attribute name="HRB_S" type="H_HRBasic__c" default="{'sobjectType':'H_HRBasic__c', ...

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? ...

I have an Aura attribute as follows: <aura:attribute name="newItem" type="Camping_Item__c" default="{ 'sobjectType': 'Camping_Item__c', 'Name': '', '...

I'm working on an interface that allows users to create activities directly from a list of records of a custom object, so I created a wrapper class that contains said object and a task, in order to ...

Here am calculating sum of amount for the field in child object. Parent Object - Department__c Child Object - Medical_Equipment__c Medical_Equipment__c field for master - ...

I've enabled the campaign influence and after it Campaign Influence Related list missing after enabling it.. Also missing the opportunities in the opportunity related list at Campaign level

I am creating my UI with React JS and have to call a Salesforce Remote Action from React file. React JS bundles everything into bundle.js and this will be added in a VF Page as an external JS file. ...

I have to fetch the ID of the selected lookup field of a standard object(here Contact) in order to populate the related list of Order(another standard object) to that particular Contact. Also, when I ...

Scenario: I have a component that has an <aura:renderIf> within an <aura:iteration>. The <aura:iteration> references a component attribute called "selectedItems" to display a list ...

This may be a dumb question. I have a custom controller and VF page. I'm trying to set up the page to render sections based upon the value of a field on the OpportunityLineItem object. However, I'm ...

I created action button in lightning which calls a visualforce page. This visualforce page loads a javascript that calls an url in a popup and closes this popup. My visualforcepage stays open. Can I ...

I am having issues passing through the VFP & Controller a Custom Field. Mimicing the process for Standard Fields, I can pass anything through without an issue. Visualforce Code: <apex:page ...

How to add a lookup field on VF page. I have custom field Contact__c (lookup to contact) on a custom object. I am adding that as iput field on the Vf page so user can enter that lookup value. I ...

I have a visualforce page which displays a list of orders in a table. For each order (a row in the table) there is a selectList for the user to select a teacher (i.e. this is a custom lookup field ...

For a visualforce page, in my constructor i'm assigning a variable and retrieving an account from an associated opportunity - when I do a system.debug I get the details I want: myObject__c myObject = ...

In a custom VF page, inside of an apex:repeat iteration, I want to display the result of a method that's in the controller. The method needs the record ID of the current record in the iteration, so ...

I am getting "FATAL_ERROR|System.NullPointerException: Attempt to de-reference a null object" in Apex controller when i click on update link pop up. Its showing in query with " ulstAsset ".I am newbie ...

With each inputCheckbox on my VF page checked, I'm adding to a string in my controller: public with sharing class ApplicationServerMonitorController { public String contactsAboutToEmail {get;set;...

I am just wondering about the life cycle of page controllers? How often are than instantiated and is there any configurations which can change this? Is there a method guaranteed to be invoked every ...

Page displays: String userinput (from apex:inputText) only in last row of apex:repeat. It doesn't allow to check is userInput=question.Correct_answer Image: Visualforce page: <table ...

I am using Visualforce to list out a few different opportunities a checkbox for each one. My goal is to select an opportunity by clicking the checkbox, then pressing a commandbutton to pass that ...

I want to write a lightning component. The lightning component should show some informations about uploaded documents. Firstly I created the following class: public class DocInformations { @...

I have these codes in my 2 visualforce pages: <apex:page standardController="mycontroller" docType="html-5.0" standardStyleSheets="false" extensions="EditDelete" action="{!editItems}" sidebar="...

I need to display time retrieved from a dynamic SOQL and display at visualforce page using remoteaction. As we know code runs in system context and values in UTC time zone are retrieved. Is there ...

I can't figure out how to read out the value from a checkbox. See my code below. Is there someone who can give me some tips?

My question is about why is an action not executed in the controller? I noticed this behavior previously in different scenarios, but I am going to explain the issue on a particular example - when apex:...

I have seen the error regarding questions posted for the patch: https://success.salesforce.com/issues_view?id=a1p3A0000008jMrQAI. However, On deploying my Apex classes and lightning components on my ...

Related tags

Hot questions

Language

Popular Tags