Skip to main content

Questions tagged [visuaforce]

Filter by
Sorted by
Tagged with
1 vote
1 answer
502 views

Count selected records in list view on visualforce page

I created a Visualforce page rendered as PDF, it has a concatenated header than include info from records selected, but specifically I'm trying to count total records selected. I created a class for ...
Paco Ortega's user avatar
4 votes
1 answer
444 views

Hot to get serialized data with PageReference.getContent() inside a Managed Package provided by Visualforce outside of the MP?

We need to get JSON-Data inside of a Managed Package (there in an Aura Component) from Apex-Code residing outside of the Managed Package directly unmanaged on the subscriber org. We do not want the ...
Mohamed Houssein Douici's user avatar
1 vote
1 answer
863 views

Apex JSON: Getting error - Attempt to de-reference a null object

I am getting error: Attempt to de-reference a null object Error is in expression '{!doFetchCOVIDInfo}' in component in page covid19page: Class.COVID19Manager.doFetchCOVIDInfo: Aim: I am trying to ...
KKumar's user avatar
  • 29
2 votes
1 answer
378 views

How to add dynamic value to URLFOR after path

I have an apex repeat which I want to use to add an dynamic id at the end of the URLFOR but get an syntax error what is wrong with my annotation See: <apex:repeat value="{!idsContentdocument}" ...
Thomas's user avatar
  • 2,320
1 vote
2 answers
5k views

CORS error in Visualforce page

Still faxing the same issue.After adding two URL's. <apex:page showHeader="false" sidebar="false" lightningStyleSheets="true" standardStylesheets="false" controller="TW_MultipleUploadCtrl"> ...
Deepak Agarwal's user avatar
1 vote
0 answers
2k views

Visualforce Page : cache attribute is behaving in an unexpected way

It seems that the cache attribute for an apex:page vf component doesn't allow for the use of a visualforce expression. I am attempting to use a property of a controller to set the cache attribute for ...
SSS's user avatar
  • 53
3 votes
1 answer
2k views

how to remove \n from visualforce page when using escape="false" on apex:outputText

I need to break the paragraph at the end of the line and add it in next line. So i used substituting new line(\n) with break tag(). Here is the tag that i'm using on vf page. <td> <apex:...
naruto-sfdc's user avatar
1 vote
4 answers
3k views

How to render text based on condition quoteline items

I have created a custom table in a visualforce page on quote. I use an apex repeat to render the amount of table rows for the quotelineitems. Is it possible to show or hide my table header row based ...
Thomas's user avatar
  • 2,320
0 votes
1 answer
35 views

Issue when trying to use custom list button

i am trying to create a custom object list button but i'm getting an issue "unknown constructor 'sendemailctlr.sendemailctlr()' Markup" visualforce page <apex:page standardController="...
ClevelandDan's user avatar
2 votes
1 answer
1k views

Making the FinishLocation of a Flow as the newly created Record

I am creating a new record using Screen/Create Record elements of a Flow. I am starting that Flow with a customized New button. I am now attempting to make the FinishLocation as the newly created ...
Zoom_v's user avatar
  • 3,924
0 votes
1 answer
50 views

How to render a value to string which is coming from sObjcet Long Text area in saleforce Apex Class [closed]

I have a sObject which has a Long Text Area field "Account_Id" which contains , "'Account Name'+Account.name" but when i want to replace "Account.name" value from my Apex class than i am failed. e.g. ...
kumar gaurav's user avatar
2 votes
2 answers
4k views

<apex:commandButton> action doesn't work every time

I have implemented three dependent picklists like below: There is one visualforce page (standard controller for Opportunity with extension). This problem is connected with an action for Search button....
Piotr Szewczyk's user avatar
1 vote
1 answer
98 views

How to direct user to New Contact Page when New Account Created

I am trying to find a way to direct a user to the New Contact page automatically when a new account is created. I was thinking of using a VF page which overrided the edit on an account. The page would ...
Sara Morgan's user avatar