Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [lightning-community]

This tag refers to lightning components in the context of building communities using predefined templates (Koa, Kokua, Customer Service (Napili), and Aloha).

Filter by
Sorted by
Tagged with
17 votes
1 answer
21k views

Get RecordId in LWC From Community Page

I'm trying to make a component in my community be able to pull in the record Id. I followed the information in this question: LWC Community recordId undefined And this documentation: https://...
gNerb's user avatar
  • 9,491
4 votes
1 answer
2k views

How do I package an upgradable Experience Builder Site?

I need to provide an unlocked package containing a customizable "starter kit" for using features of my managed package so customers have an easy starting point to create their own experience....
Phil W's user avatar
  • 36.7k
18 votes
3 answers
57k views

Is it posible to add iframe directly in lightning components?

Is it possible to add iframe directly in a lightning component as below to visible in community sites ? <aura:component implements="forceCommunity:availableForAllPageTypes" access="global" > ...
Prasad Ruwanpathirana's user avatar
1 vote
1 answer
2k views

getting PageReference is not working in community

When component is loaded in lightning experience, we can get the state of page ref using below: doInit : function(component, event, helper) { let pr = component.get("v.pageReference"); if(pr) ...
salesforce-sas's user avatar
9 votes
3 answers
14k views

LWC Community recordId undefined

I am very new to Salesforce and I am stuck using LWC with communities. The problem is simple: I generated my record list and when I click on the record I would like to access the selected record ...
MehdiKit's user avatar
  • 133
4 votes
0 answers
516 views

Using aura locationChange in lightning communities

After further testing and reading on aura:locationChange component: This event is automatically fired when the hash part of the URL has changed. I understand that, in my community URL, If i ...
glls's user avatar
  • 20.2k
4 votes
2 answers
9k views

LWC download PDF file

I use LWC components in Customer Community. There is datatable component with records and I implemented the function to export selected records in .csv and .pdf. csv works fine, but I experience the ...
m_konyk's user avatar
  • 546
4 votes
2 answers
2k views

Lightning Community Does Not Support pubsub for Lightning Web Components?

Has anyone successfully used the pubsub module from lwc-recipes to enable inter-component communication in a Lightning Community? The registerListener function in the pubsub module throws an error ...
Arlene's user avatar
  • 59
3 votes
1 answer
2k views

How can I use the Change Password component in Communities

Following up this question Lightning Community, can i make change password Lightning Page, not VF?, I am wondering if it is possible to make use of the Change Password lightning component: It is not ...
Eduard's user avatar
  • 5,149
2 votes
1 answer
7k views

Resizing of Lightning page that popups from Quick Action Button

I have written below code: <lightning:layout > <lightning:layoutItem padding="horizontal-medium" > <lightning:recordEditForm aura:id="recordViewForm" recordId="...
Ludic8's user avatar
  • 59
1 vote
2 answers
3k views

Is it possible to disable default login pages in community?

When setting up Login & Registration pages in community, it's possible to select different page types. Each of these type accessible by different URL: Login - Default Page URL - https://domain....
Eduard's user avatar
  • 5,149
1 vote
1 answer
4k views

What user to debug for public Communities access?

I need to debug self-registration for a Salesforce Lightning Community, however since the user is not logged in yet (using self-registration code), I don't know which user to select for DEBUG. Does ...
Swisher Sweet's user avatar
10 votes
2 answers
11k views

Can lightning:navigation be used in Communities

I am trying to implement a navigation mechanism for my community So I am trying to implement the new lightning:navigation component. This is my component - main: MARKUP <aura:component ...
Itai Shmida's user avatar
  • 5,035
9 votes
1 answer
10k views

Lightning Web Component use Publish-Subscribe event in Community cloud

How can we use publish-subscriber event pattern in Community Cloud using lightining web component. I have drag-and-drop two Lightining Web Component(LWC) in a community page. On click on first ...
Varun Rajpoot's user avatar
8 votes
0 answers
9k views

System.SetPassword During User Creation Sets Password But User Cannot Login?

Background: We've created a pseudo-single-sign-on integration between our external cloud program and our Salesforce environment, allowing our users to log in to our Lightning Community Site via a ...
Morgan Marchese's user avatar
7 votes
2 answers
7k views

Lightning:recordForm cancel button unresponsive

I'm building out some community features and one of them is like a related list with a new button. When the user presses the new button, I am launching a modal window with another custom component ...
textual's user avatar
  • 311
6 votes
5 answers
18k views

Community Workspaces and Builder are not available

This is a Summer '17 Developer org. I have a Napili Community I created this week called "bikes." This morning I log into my org and see that the Builder and Workspaces links are not available and ...
axiong's user avatar
  • 161
5 votes
1 answer
2k views

Not able to set value for Lightning:inputField field if it's manually modified from UI

I am facing issue with Lightning:inputField with lightning:recordEditForm that when I am trying to programatically change the value of any field I am able to do only if user is not modifying that ...
Basant Kumar verma's user avatar
5 votes
0 answers
302 views

How to update an exported Lightning Community Template

I have a managed package containing an exported Lightning Community Template. I would like to add a new page/ change an existing page on the template. When I try to re-export, it says that the name ...
J Dubbs's user avatar
  • 392
4 votes
3 answers
18k views

how to logout from lightning community

We're currently using this template: Customer Account Portal Spring ’18 What I want to happen is simple: from my lightning component's controller, I should be able to: logout from the current ...
SamuelDev's user avatar
  • 790
4 votes
2 answers
9k views

Embedded Service Chat component in community - using "Snippet Settings File" javascript to override pre-chat file is not working

I am using chat (what was called live agent) and I am using the client side inside a Salesforce community - As explained here. I am doing that with the Embedded Service Chat component in the ...
Itai Shmida's user avatar
  • 5,035
3 votes
1 answer
4k views

Preview ContentDocument Image in Lightning Web Component in a Lightning Community

I need to have the ability to preview a ContentDocument image in a lightning web component. Apparently lightning:fileCard is not available for LWC yet and the navigation mixin solution appears to not ...
codermeow's user avatar
3 votes
1 answer
6k views

How to Subscribe to platform Events on Community?

Trying to subscribe to a platform Event channel from community keep failing for me. All is working fine from internal User on a Lightning Record Page but for some reason cannot subscribe to the ...
sfdx bomb's user avatar
  • 1,691
3 votes
3 answers
2k views

Unable to select custom Lightning Community page

I have created a login component in LWC and added it in a Standard Page in lightning community. But I am unable to refer that login page from the login page type on the Login & Registration (L&...
Avijit's user avatar
  • 760
3 votes
1 answer
6k views

iframes in Lightning components [duplicate]

Do Lightning components support iframes? I tried putting an iframe tag on a component and nothing displayed. I am aware that you can host a visualforce page from Lightning and have an iframe in that ...
scottrm's user avatar
  • 305
3 votes
2 answers
2k views

Why lightningStyleSheet='true' is NOT allowed in communities

Why lightningStyleSheet='true' is NOT allowed in communities. When we use lightningStyleSheet tag in VF pages, inside the ORG look and feel changes to lightning, however the same does not work in ...
steamyfire's user avatar
3 votes
2 answers
4k views

Lightning community how to hide / disable / remove GENERIC RECORD PAGES

I have a community which I created with the Build Your Own template: This template creates by default 3 GENERIC RECORD PAGES: I don't want to give access to my users for these pages, but I could not ...
Itai Shmida's user avatar
  • 5,035
2 votes
1 answer
2k views

How to get a standard Salesforce report chart to appear in a Digital Experience (AKA a Community)?

In the the Builder, I can add the platform's standard "Report Chart" Lightning Web Component (LWC) and select a pre-existing report and the charts display fine. There I am running as a "...
Keith C's user avatar
  • 136k
2 votes
1 answer
1k views

How to handle multiple step forms in Community?

I'm an Angular and React developper. I'm trying to use Lightning Web Component in Salesforce Community context for the very first time. I'm building a multiple step form. The data need to be ...
Francois Rosato's user avatar
2 votes
2 answers
3k views

Which SObjects represent Native CMS Content in Communities and can they be accessed? [closed]

Salesforce released a Beta CMS product for their Communities product. In it, you can create basic CMS content for publication to your communities site. It's unclear from any of salesforces' ...
Scott Morrison's user avatar
2 votes
2 answers
2k views

It is possible hide 'New Event' button in lightning Community?

It is possible to remove the new event button? (Im using standard calendar in lightning community and already remove the Edit Event permission from the logged user) I want this because New event ...
Tomas Garcia Etchegaray's user avatar
2 votes
0 answers
442 views

File "Customer Access" Permissions

In Winter'20 there was added feature to allow "Customer Access" for files. Some of the users need to have access to it. Maybe someone knows or played with that? For the target user, this is just ...
ytiq's user avatar
  • 4,545
2 votes
4 answers
3k views

Setting a font in the Napili template

I am trying to change the font across my community site built on the Customer Service (Napili) template and this does not give me a consistent display across the site despite trying both a Theme ...
Dave Humm's user avatar
  • 5,111
1 vote
1 answer
160 views

Editing & Repackaging a packaged Lightning Community Template

I have created a managed package which contains a lightning community template which was created by exporting it from the lightning community. Now, I would like to make some modification to the ...
Sam's user avatar
  • 4,383
1 vote
1 answer
2k views

LWC Digital Experience Unauthorized Access

I have a LWC page with 3 components and selecting a record from the third (right side) component, brings up a lightning-quick-action-panel. This works great in normal lightning, but when I add the 3 ...
mike merino's user avatar
1 vote
1 answer
51 views

java.lang.NullPointerException while trying to deploy ExperienceBundle

I'm getting multiple errors depending on Retrieve API version When retrieving ExperienceBundle from source with v58 I'll get the error "You seem to be missing the property devName". When ...
Matheus Lieuthier's user avatar
1 vote
1 answer
3k views

Activity Timeline is not Displaying in Community

I've followed this Knowledge Article, and nothing seems to work. https://help.salesforce.com/articleView?id=000350558&type=1&language=en_US&mode=1 Following the KA: I went to Setup -> ...
Edwin Schaeffer's user avatar
1 vote
0 answers
258 views

How to ask for "Save Changes?" on Lighthing Component form when user tries to navigate away

We have a Lightning Community and would like to prompt the user to "Save Changes" if they try to click one of the community's navigational components (home link, or other menu item) but they have ...
Swisher Sweet's user avatar
1 vote
1 answer
1k views

The object you're trying to delete is in use on site SITE_NAME, which is published

I've created a Sandbox to begin the unfortunately tedious process of migrating to Lightning Knowledge. To do this, Salesforce requires that we merge all existing Knowledge Articles into a single ...
Morgan Marchese's user avatar
1 vote
3 answers
8k views

Rich Text area image not showing up in community

I created a lightning component,and used it in a community.Now i want to show a rich text area fields image in that component.So,for that i queried that field on opportunity object and showed the data ...
NEELESH's user avatar
  • 61
1 vote
2 answers
6k views

How to call a Lightning page from a button of a custom component

Is it possible to launch a Lightning page that was created in the Lightning App builder (composed of two sibling components) from the button click of another custom component? Any help would be ...
DimzeeD's user avatar
  • 35
0 votes
0 answers
533 views

Page variation of a community page does not allow access to sObject

This is realted to a question asked earlier here : Is there a way to create unauthorised community page? As per answer of this question, I could access the sObject and perform DML from an ...
Sarang's user avatar
  • 2,586
0 votes
1 answer
236 views

Is there a way to create unauthorised community page?

I want to develop a community page using community builder and lightning components. I would publish it. I then want this page to be accessed by any user who has access to this URL, and we would be ...
Sarang's user avatar
  • 2,586
0 votes
1 answer
903 views

Can I convert a community created in VisualForce Pages to Lightning bolt theme?

I have created a community using the 'Salesforce Tabs + Visualforce pages' (AKA Classic). We would like to migrate that community to a Lightning Theme (mainly the 'Partner Central' theme. Is it ...
Saariko's user avatar
  • 5,610
0 votes
3 answers
2k views

There was an error in registering a user in site Charger_Community. The error message is: portal account owner must have a role

I am registering an account in renault community, but i am getting the following error message, even though the portal account owner has a role assigned. There was an error in registering a user in ...
Sathish's user avatar
  • 125