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
3answers
41k 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" > ...
8
votes
1answer
6k 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://...
3
votes
1answer
108 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....
1
vote
1answer
914 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) ...
4
votes
2answers
5k 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 ...
6
votes
2answers
7k 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 ...
7
votes
1answer
1k views

Use LightningStylesheets=true on Lightning Community

We are developing a new Lightning Community to replace our Partner Community. However, when we use our visualforce pages with LightningStylesheets=true on the Lightning Community, the Lightning ...
4
votes
0answers
391 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 ...
4
votes
2answers
1k 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 ...
3
votes
1answer
594 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 ...
2
votes
1answer
4k 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="...
1
vote
1answer
944 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....
1
vote
1answer
3k 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 ...
8
votes
1answer
7k 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 ...
6
votes
0answers
4k 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 ...
5
votes
0answers
177 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 ...
8
votes
2answers
8k 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 ...
4
votes
4answers
9k 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 ...
3
votes
1answer
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 ...
3
votes
3answers
10k 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
3k views

How to Filter a Lightning Component based on data elsewhere on the page?

Short version: How do I filter the data in a custom Lightning Component based on data in another Component and/or elsewhere on the Page? I'm creating a Customer Service Community. I want to show ...
7
votes
1answer
4k 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 ...
5
votes
1answer
1k 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 ...
4
votes
2answers
4k 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 ...
3
votes
2answers
2k 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 ...
3
votes
3answers
881 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&...
2
votes
4answers
2k 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 ...
2
votes
1answer
114 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 "...
2
votes
0answers
90 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
1k 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' ...
1
vote
1answer
523 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 ...
1
vote
0answers
652 views

How can i get url parameters on VF page that is in communities?

I have a community page and VF page is embedded. When I try to access url parameters using {!$CurrentPage.parameters.id} or even in the apex controller, it won't work. That same page will render the ...
1
vote
1answer
90 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 ...
1
vote
0answers
138 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 ...
1
vote
2answers
5k 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 ...
1
vote
1answer
4k 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 ...
0
votes
3answers
1k 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 ...
0
votes
1answer
539 views

CSP problem for einstein bot in lightning community

I was able to complete this project on Einstein bot in my trailhead playground. https://trailhead.salesforce.com/content/learn/projects/build-an-einstein-bot/prep-for-einstein-bots In the first unit ...
0
votes
0answers
119 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 ...
0
votes
1answer
490 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 ...
0
votes
1answer
96 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 ...