Questions tagged [lightning-apps]

A Lightning app is a special top-level Lightning component whose markup is in a .app resource. On a production server, the .app resource is the only addressable unit in a browser URL.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Lighting Data table : Capture header column width when changed

Is there a way to capture the width of columns(header) in data table when user changes the width? I am trying to persist the changes which user makes to the columns(width) after the table is loaded. ...
0
votes
1answer
33 views

Lighting Component: Render getting invoked twice

Some context on what I am trying to achieve. I am trying to add/attach a resize event to a lightning data table, to capture and save the size of the header columns when it is resized by the user. The ...
0
votes
0answers
13 views

Get the application active by code

I need to know the application that is being used by the user. I want to make a lightning component that shows a page layout according to the application (by standard it is not possible). The ...
0
votes
2answers
23 views

Lightning out App error in callback function

I had created a lightning component to upload multiple files with the help of this URL how to create upload multiple file url which is working fine in action button but when I try to call that ...
1
vote
0answers
19 views

Enable Lightning runtime for flows

I have a Softphone Layout that needs to call a lightning component from a flow. I wanted to call the lightning component from a Visualforce page so I could set the finish location. When I try to ...
0
votes
0answers
17 views

How to display Activity Component as List with Header Rather than Timeline

Is it possible to display the Activity within the Activities component as "List" rather than "Timeline"? I would like to keep this activity section but display items in "List" format and not "Timeline"...
0
votes
1answer
22 views

How to create lightning page for a custom object?

I'm new to Salesforce development and currently learning about lightning web components. Currently I'm just trying to build a lightning page which look like below for my custom object. But It seems ...
1
vote
1answer
23 views

How to make input form Readonly based on User profile in Lightning Component?

I have an Action button in our lightning Page, upon clicking it shows a form to input couple of fields and save it. But I have to make those input fields readonly for Profile 1 and editable for ...
0
votes
0answers
20 views

Users Can't See Community HomePage from Salesforce Mobile App Switcher; Missing home page functionality for communities in Salesforce Mobile App

I have followed the instructions here: https://help.salesforce.com/articleView?id=networks_access_in_salesforce1.htm&type=5 for Users with standard Salesforce licenses Internal org users who are ...
3
votes
0answers
30 views

Package Install custom validation error - can't use template with page type AppPage

Need help resolving a package install validation error. I'm installing a managed package (containing a newly developed custom app) into a test org for the first time. I get two of the following ...
3
votes
1answer
46 views

Deploy custom Lightning App Home Page assignment using SalesforceDX

Which is the metadata responsible for specify the assignment of a custom lightning app home page to a lightning app? In my lightning app metadata I just have the specification of the home page tab: &...
0
votes
1answer
25 views

How to retrieve lightning page?

I'm a Salesforce newbie and trying to develop lightning app page. I understand it is very simple to create a lightning app page easily in Salesforce UI. But I want to retrieve all the metadata about ...
0
votes
1answer
22 views

How to create a lightning app in Visual Studio Code?

I'm pretty new to Salesforce development and I'm trying to wrap my head around Lightning App development. Essentially I'm looking to setup a base application which will have a tab(ex:Admin) So far I ...
0
votes
1answer
30 views

Custom validation message on Lightning Component

I am not able to show the custom validation error message based on my callback method in the helper class. Controller.js saveCase : function(component, event, helper){ var validTab4 = helper....
1
vote
2answers
85 views

iframe in Salesforce Lightning Web Components [closed]

I am showing a site inside an iframe using lightning web components. I've successfully gotten it to show but sometimes the page has to be reloaded for the content to show in the iframe. I have also ...
0
votes
2answers
68 views

Error when wrapping Lightning Web Component in Aura App

I have an developed with the new Lightning Web Component framework. The issue comes when I wrap it in an Aura app it order to expose it direclty at a single URL. Everything works except that when I ...
0
votes
1answer
35 views

Odd static resource behavior between aura component and LWC in the same aura app

This behavior seems odd to me... So, a static resource loaded into a VF page creates a variable 'someVar' that can now be used on the VF page. A lightning component and a lightning web component ...
0
votes
0answers
29 views

Get/set an attribute trough Lightning Event

I can't get the attribute trough Lightning Event. By clicking on the button "Get msg" I get undefined: ceEvent.evt: <aura:event type="COMPONENT"> <aura:attribute name="message" ...
0
votes
1answer
162 views

LWC Datatable with mass edit functionality

Can custom data types be used to create an empty row for the lightning datadatable where values from the top row would copy to all rows below? Is this functionality achievable or should I use a ...
0
votes
2answers
40 views

How to reload custom lightning component in a lightning page tab every time I click on the tab?

I have one lightning component named "Add/Edit Invoice Line Item" (as seen on screenshot) I want to reload this component every time a user clicks on this tab. Is there any way or event which can be ...
0
votes
2answers
29 views

community app not visible in app launcher on profile level

how to enable link to communities app on click app launcher on profile level. I'm System admin and I'm able to see it. But a custom profile of salesforce license type is unable to see it.
0
votes
1answer
183 views

Hide/Remove items from lightning app menu

Is there any way to remove following items from Lightning App Menu CMS Workspaces Chatter Discover Companies Email Templates Enhanced Letterheads Home News Notes Tasks So far I had got links that ...
1
vote
1answer
102 views

How to track down an internal server error?

I'm getting an internal server error message, wondering how I track down the cause? I have a custom lightning component (lwc) that runs fine when dropped into a tab on a Campaign record page. ...
2
votes
1answer
40 views

Can we get mode of lightning component if its open in App Builder?

When we add lightning component to app builder its showing spinner because if there is nothing it keeps loading. We wanted to show some message if its get opened in App builder in "Preview Mode" is ...
0
votes
0answers
16 views

Translate picklist value into Arabic

we have a requirement in which we have to translate the multi picklist values into arabic. We are saving Multi pick list value as string in other field. We need to convert this string Arabic also. ...
1
vote
0answers
43 views

Is there a way to prevent navigation from standard new record page after save

I have a Lightning web component that uses Navigation Mixin to show create new record page for a custom object. I am using the following function for this. this[NavigationMixin.Navigate]({ ...
0
votes
0answers
41 views

Drag and drop COLUMNS using lightning

I have seen multiple links to drag and drop rows in lightning but can we do drag and drop columns in lightning Example1 of drag and drop rows : https://developer.salesforce.com/forums/?id=...
0
votes
1answer
24 views

I am inserting single record with single file.but how to insert single record with attach multiple files using lightning input

i Am inserting single record with single file but how i can insert single record with multiple file in single transaction using lightning aura component.please let me know. please refer this link ...
0
votes
0answers
75 views

Salesforce Lightning CORS issue: Failed to execute postMessage on DOMWindow

Synopsis: we have a Salesforce lightning app that works fine in the dev org, but once we create a managed package and install it in orther orgs, if fails with this CORS error: Failed to execute ‘...
1
vote
1answer
233 views

Error: [LWC error]: Invalid url value “”. Expected a non-empty string

Error Details I keep seeing this error in my Developer Console each time I load a page or a Lighting Component in my Lighting App. Please note there are no LWC components in the app. I see my ...
0
votes
1answer
89 views

popup on case object edit page, when a picklist value is selected

Is there any way I can have a dialog box pop over on selection of particular picklist in the standard case object. My use case is: If the user selects one of the picklist value from the dropdown in ...
0
votes
0answers
22 views

Add News Standard Component to a Custom Component [duplicate]

I have a requirement as to make the New Standard component (that can be set in any lightning page from lightning app builder) conditionally rendered. To that respect I am trying to create a custom ...
1
vote
0answers
80 views

Public Page: Lightning Upload not attaching documents [closed]

We are working in lightning and created a flow to upload files. when we are calling the flow in visualforce page and using the page on a public website, its upload file functionality is not working on ...
2
votes
1answer
247 views

Lightning pageReference state no longer contains my parameter/attribute in Summer 19

Ran into an issue after the Summer 19 preview in my sandbox. I have a Visualforce page re-directing to a lightning URL Accessible component passing in a parameter, here is the controller code: ...
1
vote
0answers
32 views

Salesforce Themes and Branding not showing in Lightning App

I have Codey Canyon theme enabled (the orange one), but a Lightning App which is being used in a Visualforce page is still showing the standard blue theme. Visualforce page <apex:page showHeader="...
2
votes
0answers
163 views

Lightning Web Components file preview does not work on mobile version

I created a component in LWC which uses standard Salesforce file preview. It is perfectly working on desktop but nothing happens when I press file name on mobile version. My html code is below: &...
12
votes
2answers
2k views

How to pass query parameters in URL in Salesforce Summer 19 Release?

The requirement was to open a Lightning App page and pass some query parameters in the URL. These query parameters were then used to query data and display in a Lightning component present in the ...
0
votes
0answers
21 views

override standard component styling

I have a request to change the icon color of different feed items on the standard chatter feed component. Feed items that are of type question have the same color icons and field updates. A question ...
1
vote
2answers
603 views

Hide Standard Page Header in Custom Lightning App page

Is there a way to hide the page header in a custom Lightning App shown below ? This banner is not available in the Edit page section. I have selected 'One region Template' and added just one ...
0
votes
1answer
255 views

Why lightning:fileUpload doesn't work on public sites?

I'm using lightning:fileUpload inside a lightning component and I'm testing it on a public site, but when I attach a file/files the modal box with the Done button doesn't show up. When I'm testing ...
0
votes
1answer
283 views

Custom Script Eval error on lightning application initial load

So I'm working on a legacy file at my new job and I'm getting this error: Custom Script Eval error in the resource loaded using 'ltng:require' [[object Event]] when a custom aura application is ...
2
votes
1answer
33 views

How to make Action Button appear for certain opportunity stages?

I have a custom button called 'Revenue Forecast' in the 'Salesforce Mobile and Lightning Experience Actions' in my Opportunity layout. How do I make this button appear/diaasppear only in certain ...
0
votes
0answers
35 views

Navigate from one lightning Component to Lightning App builder

Can we build a Lightning app builder with different components and save it and redirect a Lightning component to that app builder page. Scenario - Since GoogleDoc object record details cannot be ...
0
votes
1answer
137 views

Lightning Component empAPI in LightningApp [duplicate]

this is a follow up question to Platform Event - lightning:empApi. however in my case the component is not working in a standalone Lightning App, but it is working when implementing it on the ...
0
votes
1answer
90 views

How do I show a tooltip on hovering over a star rating lightning component?

I have this star rating lightning component. I need to show a tooltip that shows the number of the star that the cursor is on and not the rating that is selected. I know I can get the value of rating ...
0
votes
1answer
34 views

How to Hide or remove New button on case Object for particular profile in Lightning?

Need to restrict by creating cases for a few profile users. The new button should not be visible or hide for a particular profile user in lightning experience. How to do this? Is there any ...
2
votes
0answers
48 views

How to switch into a specific app in Lightning Experience from a link?

In Classic, the "Tab Set Id" (tsid) could be included in a link to switch the selected app. (Yes this is URL hacking.) It looks like in Lightning Experience such switching is not possible: Deep Link ...
0
votes
1answer
62 views

How to use the Streaming Monitor app?

I have downloaded the app, installed it, added myself to its permission set. Still, I cannot do anything in the tab. See the screenshot. The AppExchange page does not give any instructions, the Github ...
1
vote
2answers
311 views

Sending wrapper object to apex controller from lightning component

I am trying to send a wrapper class from lightning component to Apex controller. But it is throwing following error: This page has an error. You might just need to refresh it. Error in $A.getCallback(...
0
votes
1answer
70 views

Customize Standard Chatter Component

A previous developer added custom inner tabs in the Standard Chatter Component. When I go into Lightning App Builder for my app, there doesn't appear to be a way to remove the inner tabs. I want to ...