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
0answers
22 views

Company logo not showing up at top left of sales app

I have uploaded a new company logo for sales app in lightning app builder, the logo is only visible to system admin profile user but it's not visibling to a custom profile user.
0
votes
1answer
79 views

Guest User cannot access @AuraEnabled Apex Controller

I created a force.com Site, which uses a LWC in Visualforce page. It seems that the Guest User cannot read the records and even if I preview as admin the Site still the records are not showing. Guest ...
1
vote
1answer
17 views

Error in $A.getCallback() [Cannot read property 'setParams' of undefined] Callback failed When Dismissing Alert Message

I created and displayed a custom list button in standard Lead list view. This references a Visualforce page. Clicking this button makes an action, and there's nothing wrong with the results in the ...
2
votes
1answer
26 views

Best practice for distributing LWC lightning app in managed package

I am distributing a managed package which includes a lightning app built with LWC. In my dev org I needed to enable My Domain to get it to work. I've tested installing my package on an org without My ...
1
vote
1answer
26 views

Load scripts in lightning web component with out strict mode

I'm trying to load a library into a lightning web component. The library itself has comments in it that say it shouldn't run in strict mode which I think is what's causing my issue since I can get the ...
0
votes
1answer
35 views

How to increase the list size on button click on lightning component?

Below is my code .please do let me know how to increase the size of the list on my component on button click? Right now it is replacing the previous value . I want to add the new value to the existing ...
0
votes
1answer
21 views

Salesforce Custom Navigation

Currently we have to create our apps with set of Tabs but I would like to have total control over where these tabs should display e.g; on right side of application. Add sub Tabs under main tab etc etc....
0
votes
1answer
43 views

Hide an LWC component based on custom property. (Set component visibility based on custom field in component)

I have an LWC component on the Lightning App Builder. I saw that we can use "Set Component Visibility" feature to hide the component but it only works for standard Record/User/Permissions ...
0
votes
0answers
27 views

Invalid 'X-Frame-Options' when using lightning:container inside visualforce page

I use lightning container to load my React app then use visualforce to display in an app but it does not work properly. It's really weird that when I right click, and click "Reload frame" ...
0
votes
1answer
50 views

Refused to frame 'lightning.com/' because an ancestor violates the following Content Security Policy directive: “frame-ancestors visualforce.com”

I update the code to below and I can preview the page. But when I add the page to Lightning app builder, it cannot load. And got the error Refused to frame 'https://mirage-video-dev-ed--ltng.container....
0
votes
1answer
19 views

How to create app from lightning resources?

I already manage to create an app running at https://mydomain.lightning.force.com/c/myFirstApp.app in developer console. <aura:application access="global"> <lightning:container ...
0
votes
1answer
50 views

How to show my custom lightning web component on any standard object detail page in Salesforce mobile app?

I want to show my custom lightning web component in Salesforce mobile app. I have edit the lead detail page and activate it as for desktop and mobile both but that component show only in desktop not ...
0
votes
1answer
21 views

How can i make lightning-layout horizontal with nested iterations?

Can someone help me with getting the sections in horizontal format rather than how it is shown in the screenshots? (sorry for the screenshots, i was not able to save the playground file to share)
0
votes
1answer
49 views

Manage LMS channel (view/create/update/delete) from within the Salesforce setup menu

Is there any way to view created LMS channels from within the SF org, other than querying them from the setup menu? How do I delete the channel if I want to from the org ? I was able to to create a ...
1
vote
1answer
56 views

Accessing the current record from the HTML table in JS file using Lightning Web Component

I am displaying the records from the custom object test__c using the HTML table in LWC. I am using this below tag to iterate over the list of records. <tbody> <template for:each={testList} ...
2
votes
1answer
21 views

Salesforce: How to change language of the form in lightning?

I am using lightning:recordeditform. I have a picklist where users can select the language eg. Spanish, German etc. How to show the field labels and picklist options of the form based on language ...
0
votes
0answers
13 views

Perform Contact Update On follow button click salesforce lightning

I have this requirement in which when the logged in user clicks on follow button on contact record i need to update a field on contact with the user id (current user id). How do i achieve it as i ...
1
vote
1answer
19 views

Why is my component looking so different in dev console preview mode than in an actual tab?

I'm quite new to SF developing so you'll see me posting quite often. I have developed this component that looks like this on preview mode in Dev Console (you know, when you click on the preview button ...
1
vote
0answers
45 views

Review the errors on this page. missing required field: [ParentId]

I am trying to open the case comment in custom lightning console app programmatically. The case comment opens in new tab but I get an error when I hit the save button. Please refer to code and image ...
0
votes
0answers
31 views

How to override styles on a Lightning component in Lightning App Builder page?

I have created an App Page which has a single component ("Filtered Tiles by Salesforce Labs"). The problem I am having with this component is the styling is not quite right: The component ...
0
votes
0answers
40 views

Close tab of lightning:recordEditForm from lightning component

I have a lightning component that I am opening through a related list by overriding New button. I used lightning:recordEditForm in lightning component to create and edit records of related object. On ...
0
votes
0answers
18 views

Mobile app hangs loading app from Trailhead Playground org

Sorry if this turns out to be a common known issue but my Android mobile Salesforce app is slow to load or hangs ("Loading") when opening or carrying out actions on the Trailblazer tracking app I've ...
0
votes
1answer
28 views

Is it possible to remove logo and the top header section in lightning /or if any alternative available

Attached is the below screenshot, i want to remove the top section highlighted in red. I have tried and researched , but i couldn't get any resolution and seems to be a limitation at this pt of time. ...
0
votes
1answer
32 views

What does 'single page application' mean in Lightning component Framework?

So basically, a Lightning Component framework is a UI framework for developing single page applications for mobile and desktop devices. What is the meaning of single page applications here?
0
votes
2answers
25 views

Values doesn't refresh on edit and save of lightning component

On click of edit page a lightning component opens up, And after save when it redirects from edit to the detail page , the latest changed data is visible only when refresh is done manually. Below is ...
0
votes
0answers
104 views

Salesforce Error: One or more profiles that you added has reached the maximum number of allowed apps

I'm receiving the following error when trying to add a profile to a profile to Selected Profiles for a Lightning App via Lightning App Manager: "One or more profiles that you added has reached the ...
0
votes
1answer
62 views

$A.createComponent not firing when loading component from visualforce

I'm trying to load lightning component from visualforce page. The component works fine if added to the case detail pagelayout. But I'm getting below error when loaded from vf page(This page is ...
0
votes
1answer
164 views

LWC to display salesforce objects as a picklist onclick

I have a requirement where I need to display list of salesforce objects as a picklist when a radio button is clicked. Being new to LWC development, I could not figure out what is the right approach ...
1
vote
1answer
133 views

Why did my lightning components stop showing up on my record pages in my scratch org after including my namespace?

I am using custom permissions to control when my lightning component appears on a given flexipage record page. The intent here is to make it easy for an admin to use a UI that I made to toggle ...
1
vote
2answers
345 views

Overriding the Cancel button of a force:createrecord lightning component

Created a aura component and have overrided this component with NEW standard button . On click of save, record gets created and redirect happens successfully. The problem is, while clicking the cancel ...
0
votes
0answers
21 views

How to use Counter variable in reporting of Salesforce Lightning version

I have requirement to show the counter variable in Salesforce reporting. This counter variable is nothing but no. of times the user clicks on the hyperlink. So for these i have already created the ...
1
vote
1answer
34 views

Adding tab to another unlocked lightning APP

I am trying to assign a tab to the Lightning App, which is part of another unlocked package. However, I am unable to add any tab(standard object or custom objects) to Lightning App. I am getting the ...
0
votes
0answers
1k views

How to Save record and close modal popup in Lightning Web Component ( LWC )

I have an LWC where I'm using modal up to edit opportunity using Lightning-record-edit-form. On click of submit I need to do two things 1. Save Record 2. Close Modal Popup I'm able to do either ...
0
votes
1answer
17 views

How to add fields to my Application Tabs?

I just created Application "Time Management",created Objects fields and tabs. In my Application only Default Id field is visible but I want to make visible all other fields e.g name,city,email e.t.c ...
0
votes
1answer
48 views

How to transfer data from Lightning page to VF page

I have two pages. Page 1(Lightning) & Page 2(VF page). I'm entering Firstname and Lastname in page 1 and these values should get captured and send to the page 2,also these values should be ...
0
votes
1answer
26 views

How to install the apps from sample gallery in a developer edition org?

While writing the command on salesforce CLI sfdx force:user:permset:assign -n ebikes I'am getting an error-> Permission set "ebikes" not found in target org. Do you need to push source? Any solutions ...
0
votes
1answer
121 views

Lightning “Set Component Visibility” Feature Not working as expected

I have two lightning components and I am trying to show the lightning component on the record page depending on the Record Type on Case Object instead of creating the lightning page for each record ...
0
votes
0answers
61 views

Opening the Global Search in lightning

We have a custom URL button in classic which returns the search results. The URL is like below /_ui/search/ui/UnifiedSearchResults?searchType=2&sen=003&str={!Case.Email_Domain__c } Where ...
1
vote
2answers
24 views

Is there a single page where I can view Lightning Home Assignments?

Is there a single page where I can view Lightning Home Assignments? I am looking for something like how you can see page layout assignment by profile and record type for an object, but I want it for ...
0
votes
0answers
17 views

Can a LWC Modal host a Lightning App Page?

This is just a thought and I couldn't find anything on this, so I figured I'd ask. If I created a LWC that brought up a modal, could that modal host a Lightning App Page that my admins could maintain?...
0
votes
0answers
10 views

In which app console is my tab located (Lightning Console JavaScript API not enough)

In Lightning, there is the Lightning Console JavaScript API https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_js_getting_started.htm to get information ...
0
votes
1answer
47 views

Running an external website written in AngularJS inside a Lightning component, is that possible for them to communicate?

Is it possible for bi-directional communication (passing parameters either through the URL or via JS methods) to happen for an AngularJS page that is made publicly available, that sits within an ...
2
votes
0answers
28 views

Is it possible to translate a custom App's description? If so, how?

Background: I have a managed package with a custom app in it. I want to have the app description automatically translate to match the selected language of the user like how custom labels work. Using ...
0
votes
1answer
33 views

Getting Varible passed in State

I have one controller that is calling another and passing an ID. I know I have the state set correctly because on my calling component, this: component.set("v.GroupStructuresList",...
0
votes
1answer
314 views

Target Config to expose a LWC in both Desktop & Mobile

I have created a Lightning Component & i want to expose the same in both Desktop & mobile. I used the following in the meta.xml file,the component is either visible in desktop or mobile.. but ...
0
votes
2answers
38 views

Passing ID to component

I have a custom objet related to the account. I want to launch that component from the button or action from the account. The purpose of the component is to take an account ID and present all of ...
1
vote
0answers
72 views

Lightning Out Flow

I am trying to Render Lightning Flow Runtime in a Visualforce Page. Lightning out app Code: Visual Force Page Code: var ...
0
votes
1answer
19 views

AuraComponent not Displaying in Lighting in Preview

I have a basic component that I have copied from the Aura Documentation Component <aura:component> <lightning:input type="toggle" label="Basic option" name="input1"/> <...
3
votes
0answers
322 views

Drag and Drop Functionality using Lightning Component Page in Salesforce

Iam here trying to sort table row using drag and drop functionality. Drag and drop in table and the jQuery seems to work when i am running below code in Lightning app but, not working when creating a ...
0
votes
1answer
83 views

Unble to pass Id from VF page to Lightning Component

I have created Custom Button on Case Object using VF Page which contains Lightning Component Inside it. Now I am not able to Pass Current Case ID to the Lightning component which is blocking my ...

1
2 3 4 5
18