Questions tagged [rendering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Images rendered in visualforce page but can't be rendered in pdf [duplicate]

I have an image from an external url and I want to use it my visualforce page and render the page as pdf. However when I add the keyword renderAs="pdf" to the top of the page I showed below. ...
0
votes
1answer
32 views

Apex includeScript outputting scripts after </html> tag

I am using the loadOnReady="true" attribute of <apex:includeScript /> to defer loading of scripts till DOM rendering is complete. Here's my VF page skeleton: <apex:page doctype=&...
0
votes
2answers
28 views

aura:if visibility issue with force:inputField

I am having a problem with aura:if tag. As when my condition is false, my field will be invisible. The Problem is when my condition again went true from false then only Label of my inputfield is ...
2
votes
0answers
60 views

Visualforce Page as a PDF File with metadata

Is there a way to render a Visualforce Page as a PDF File with metadata. Ex: Title , Authour, Subject and Keywords. I tried adding meta tags to the VF page and so many other ways. But non of them were ...
0
votes
0answers
28 views

Using renditionDownload?rendition=SVGZ only first page of pdf displays

----* code in apex *---- listContentDistribution = [SELECT Id,DistributionPublicUrl,PdfDownloadUrl,ContentVersionId FROM ContentDistribution WHERE ContentDocumentId = :listContentDocumentLink[0]....
0
votes
0answers
9 views

Fields are getting dis oriented after using dynamic re rendering

Hello guys can any one can explain me? i have created a VF Page, i have put two dynamic re rendering fields, depending on picklist value the other two text field show up.But the problem is they are ...
0
votes
0answers
42 views

Rerender of select list throws validation error on required field

I have a vf page with drop down to select the activity type : Task/Event and display the fieldset accordingly. When I Change the type the required fields throws errors. I added action region and ...
2
votes
1answer
653 views

How to conditionally render inside a datatable in lightning?

I have a lightning datatable and into one column called 'Set Primary Contact' I want to display an icon if the custom field IsPrimaryContact__c has the value TRUE, or a button 'Set primary contact' if ...
2
votes
1answer
758 views

LWC Conditional rendering: alternative for fetching the initial database value?

Looking for a conditional rendering solution in lwc, which uses the initial value of a field in the database to decide whether to render or not. I have found a way to get it working, but it seems like ...
1
vote
1answer
344 views

How to set lightning:input focus on initial render

I have a Lightning Aura Component form with several lightning:input elements, and a request to set the cursor/focus to the first input when the component loads. I have something like this in my ...
1
vote
0answers
396 views

Quick Action Lightning Component Throws Error due to Opportunity__c lookup field for Platform User

I created a custom quick action lightning component. This component contains a form with a lookup field to an Opportunity (see simplified code below). <aura:attribute name="config" type="...
1
vote
1answer
512 views

How can I display a spinner when switching between lightning:tabset tabs?

I recently asked a related question about how to display the lightning:spinner while waiting for a component to render. Although I found a way to make it work, and have thoroughly reviewed the 'Events ...
1
vote
2answers
941 views

Cannot understand this $A.getCallback error

I've a parent component containing a formattedRichText component and an edit button. Edit button onclick() calls a child component that hold a modal component. That modal component contains an ...
3
votes
3answers
199 views

Lightning Community: v.body on Custom Template is initialized even inside an aura:if

I have a Lightning Community and I'm using a custom HTML template to render my pages, inside this HTML template I have a v.body where my custom components are being displayed (the ones selected from ...
3
votes
1answer
5k views

Rendering problem with Lightning in Chrome

Since a few days, I am experiencing a weird rendering problem in Lightning, only in Chrome. Two issues: Listview drop downs do not display -- all I see is a partial scrollbar, the actual list of ...
2
votes
1answer
262 views

Visualforce Page's outputText not updating when other outputPanels are next to it. Why?

I have the following controller variable {!selectedValue} that updates successfully on the page just fine when the markup next to it is commented out. However when I add the outputPanels back in, it ...
0
votes
1answer
729 views

Is it possible to get the email subject string before sending it?

I know for a fact that it is possible to render the email context without sending it, using the Messaging class' method renderEmailTemplate. This is great for getting the message content rendered, but ...
0
votes
1answer
202 views

Image not rendering in Visualforce Email Template

I am using a visualforce component in which I have an image tag that is rendering in the org, but when I am sending it via Email the image is getting rendered. Visualforce Component <apex:...
4
votes
1answer
4k views

afterRender threw an error in 'lightning:select' [Cannot read property 'setAttribute' of null]

I'm intermittently receiving the following uncaught error on my lightning component. I have a parent lightning component which is used as an input form. The parent component uses metadata, stored in ...
1
vote
0answers
154 views

How to print Lightning icon?

We're having below markup in Lightning component. <lightning:icon aura:id="statusIcon" iconName="action:check" size="xx-small"/> When java-script is controller prints the page with this ...
3
votes
1answer
449 views

Lighning Component: Rendering Lifecycle and JS static resources

I would understand the exact order of execution about "Lightning Component Rendering Lifecycle" and JS static resource. For example, we have this First Scenario. Alpha.cmp: <aura:component> ...
5
votes
3answers
603 views

cmp.set() is blocking the UI to re-render, but no event is triggered

I'm having a big table filled with custom cell components and after changing a cell, the table gets re-rendered. dataChanged: function(cmp, evt, helper) { var table = cmp.get("v.data"); ...
3
votes
3answers
6k views

Aura: init of child component executes before parent components init, alternate approach?

I am new to Salesforce lightning, just started using aura tags. I have to pass parameters to a component (Aura Table) inside parent component (no inheritance), Unfortunately child component's init is ...
3
votes
2answers
4k views

Rerender pageblock on change of picklist

I am working with with picklist. Here I have to show a pageblocksection on change picklist but when I change the picklist it rerenders all the page and I am able to see pageblocksection but my ...
0
votes
1answer
443 views

Rendering Visualforce field based on Profile Id

I've created a Visualforce page and I want a record to render as an inputfield for certain profiles. Can someone help me with the Profile Id syntax? The following works if I remove the following: {!$...
0
votes
1answer
210 views

Setting Fields as required without using Required = True

I have a SelectList from which user selects x,y,z recordName from Object 'A' in a pageBlock 'A' for which the an another pageblock 'B' gets rendered showing fields to insert into 'B' object. Out of ...
2
votes
1answer
1k views

Dynamic Visualforce Input Field

I am trying to make a dynamic visualforce input field. Actually, I have already made it before, however I am trying to clean up code so that I only need one input field per page. I have a table on ...
3
votes
1answer
1k views

Issue changing inline css during Lightning afterRender

I have a simple Lightning component <aura:component > <!-- 100x100 box --> <div style="width:100px;height:100px;background-color:blue"> <!-- 50x50 box --> ...
1
vote
1answer
50 views

VisualForce rerendering issue

I'm trying to set up some visualforce input and output to display if a select list is sent to a certain value. I've got my select list set to rerender the entire panelgrid on change and the inputs and ...
1
vote
1answer
827 views

How do we determine the lightning component is requesting from Mobile device or a Desktop?

I have a Lightning Component which loads in both Mobile(SF1) and Desktop, is there a way to detect the client(who is requesting Mobile or Desktop) based on the parameter value I need to render some ...