Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

0
votes
1answer
23 views

Maintenance page Lightning community

How can I put my community in maintenance? I want to prevent all users from login and showing a custom message? Thnks
2
votes
1answer
23 views

Community Guest User vs Force.com Guest Site User

What is the difference between community guest user and Force.com site guest user? Primarily based on the number of views. Is there any limitation on concurrency or guest page loads or view. Thanks!...
0
votes
1answer
32 views

Why ContentAssets Deployment creating “No Network Named” issue?

I am trying to migrate community configurations from one scratch orgs to another. Everything works fine except ContentAsset. I am getting the following error:- PS E:\Projects\xxxxx-build test> ...
0
votes
0answers
10 views

Click ok bar of chart used in dashboard of reort is redirecting on error page

The home page of our Commnity contains a dashboard that has various widgets on it. If a Community user clicks on any of the vertical bars on any of the charts, they get redirected to a weird (and ...
0
votes
1answer
57 views

LWC design attributes doesn't work in the Community with Anonymous User

Did someone try to use LWC in Communities? I created component to dynamically render Knowledge articles based on provided Topic by passing Topic.Name as Design Attribute. It works in Builder, but ...
1
vote
1answer
30 views

Language Selector Component in Salesforce Community is not visible?

In Builder at Community I dragged Language Selector Component to Content Header then I click on Preview. With this action, Language Selector is visible. But when I click on Publish then login with ...
-1
votes
0answers
21 views

Google translation not working with lightning components in community

Note I have already tried Using Google translate APIs in Lightning components I am trying to implement google translation in lightning component for the community. lightning component < aura:...
0
votes
0answers
11 views

Communities - How to Create a Template Header on Build Your Own Template

New to communities, and I'm struggling to understand the documentation regarding theme layouts. On the "Build Your Own" theme, you are provided only a Content Header, Content Body, and Content ...
0
votes
0answers
31 views

pass record data to lightning component in lightning page in salesforce community

How to pass record data to lightning component in lightning page in salesforce community? I want to create a button on A_Object's record detail page.It will be: click it → open the lightning page(...
0
votes
0answers
30 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id. Inserting Account as Customer Community User in Test

I have a simple Apex controller method: @AuraEnabled public static Boolean addAccount(String companyName) { try { Account acc = new Account(); acc.Name = companyName; ...
1
vote
0answers
22 views

How to customise community generic error pages

I have a community using URL: https://xxx-mydomain.cs83.force.com/community/s/ When I remove the /community/s/ I get a salesforce branded error page. I want the generic Salesforce error page to be ...
0
votes
0answers
23 views

How to Pass record id from community page to another?

I am using navigation mixin for navigating to a community page from other community page- this[NavigationMixin.Navigate]({ type: 'standard__namedPage', attributes: { ...
0
votes
0answers
15 views

Adding Related Records Programatically

I am building a community site, which will act as our customer portal, and I have built a case browser Aura Component that opens cases, when clicked, into new tabs. This is where I generate the tabs: ...
0
votes
0answers
21 views

How to bypass FLS for Lightning:recordEditForm for Community Guest User

I'm trying to update a Contact record as Guest Community User. Lightning:recordEditForm seems does not allow community guest user to load or save the record, and gives me following error on community ...
0
votes
1answer
22 views

Set up sharing sets

The idea is that a community user will create an Opportunity. The opportunity will then be re-assigned to another community user for processing (this user does not belong to the previous account). I ...
0
votes
0answers
22 views

Task list view is not displaying with latest version in community

I am facing one weird problem in my community. I have to show the task record list to the home page in the community in production. But when I put the record list component on the home page and select ...
1
vote
2answers
55 views

How to add an onchange event to a <input type=“file”

I am unable to get a <lightning:fileUpload> to work on a public community page, so I need to write a custom upload component. I want to fire an onchange event after the user selects a file ...
0
votes
0answers
20 views

Lightning Standard List View - select specific rows

I want to Select individual/multiple rows from a Standard Lightning Lead List View on click of a button in a Lightning Page that I've configured. What are my options ? I'm thinking using a List View ...
0
votes
1answer
22 views

forgot password using lightning component in community

want forgot password feature with lightning component in community i have seen many reference in visual force page but not able to find it in lightning, so how can i achieve it in lightning ...
1
vote
1answer
34 views

Summer 19 Right-to-Left LEX

We built a Community for our users, and set the default language to Hebrew. After enabling the Beta right-to-left in the User Interface settings, it worked great. But then along came Summer '19. ...
2
votes
1answer
81 views

Lightning comp throws error after summer '19

We have lightning components which are fetching user data from apex. After sandbox upgraded to preview summer'19 these components are throwing error when trying to edit. error screenshot - Is ...
1
vote
1answer
123 views

LWC: How to call a community page on button click in LWC?

How to call different community page from LWC page on button click that exists on a community page without passing the URL? navigateToWebPage() { // Navigate to a URL this[...
0
votes
2answers
33 views

CMS Content SObjects [closed]

I would like to create custom components that use the new beta cms content. I can't find the CMS Data anywhere Is it possible to access the native CMS content objects through apex or connect api?
2
votes
1answer
189 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://...
4
votes
2answers
70 views

How to generate a download URL for a ContentDocument in Lightning Community

We're querying ContentDocumentLink for a list of documents related to a specific object record that the user has access to, and attempting to create a link for the community user to download that ...
0
votes
0answers
32 views

How to display !contentAsset image in HTML editor component in communities?

In a community builder, I have added an 'HTML Editor' to my Footer template section. I am trying to display a link to an icon/image: <div><a href="https://www.facebook.com/EFIPrint" target="...
0
votes
1answer
29 views

Custom Lightning Component for Communities - throws error only in builder view

So a weird error. I've created a lightning component to provide a custom detail page in communities to control access to fields we couldn't control with standard functionality. Initially, I was going ...
6
votes
0answers
41 views

Enterprise edition Scratch Org with Customer Community Licenses

Looking to understand whether it is possible to get Customer Community licenses in an Enterprise Edition Scratch Org. Scratch Org definition I tried to use for this was the following: Scratch Org ...
1
vote
1answer
37 views

How to integrate multi-language to all Lightning Community Components?

I have added French and Spanish via Settings > Languages menu and added the "Language Selector" component on the page. However, when I try to change the language it doesn't seem to affect the content ...
0
votes
2answers
27 views

How to edit a community builder page to add logic

I want to edit the community builder login page to redirect to another custom page. I can access the community builder page, but there seems to be no way for me to add logic to it. Please advise. ...
0
votes
0answers
23 views

Can't upload header image in community

I tried to change banner uploading picture but it showing me error as "We can't complete the file upload. Please try again later." Do we need to give any permissions for that or any per-requisite to ...
0
votes
1answer
58 views

How to add custom button in lightning community template

I want to create two custom buttons in lightning community. Once I click on it, I want to see a form or existing records based on which button was selected. I am trying to figure out how do we add ...
0
votes
0answers
37 views

Salesforce MetaData API Community Deployment Error - Not available for deploy for this organization

While we are deploying lightning community from one sandbox to another through Metadata API then getting below error, can anyone help on this. Community is already enabled in sandbox where we are ...
1
vote
1answer
26 views

Can I remove standard login button from top right on community page

I have created my custom button in the center of community that redirects user to sign up and login page. I want to hide the one that appears by default on the top right of community page. Is there a ...
1
vote
1answer
52 views

Recaptcha in salesforce community

I have tried out the recaptcha in lightning component using VF page as iframe and it is working absolutely fine,but when i tried that component in salesforce community it's not working. I added the ...
2
votes
1answer
49 views

Launch Flow from Button in Lightning Community - “down for maintenance” error

Summary: I'm getting a "down for maintenance" error in my Lightning community when I click a custom button that launches a screen flow to create a user from an existing contact. The button works in ...
1
vote
2answers
122 views

How to deploy a lightning community alongwith its standard pages between orgs

We have a lightning community that is made up of standard pages(Blank standard pages). I want to deploy this community along with all its properties(most importantly pages) from one sandbox to other. ...
0
votes
1answer
29 views

Custom Font Imported as a static resource doesn't show up on Community

Custom Font Imported as a static resource doesn't show up on Community. We have selected Custom Font under Themes in community builder. When I do preview custom font is not shown. We have followed all ...
0
votes
1answer
54 views

Refreshing lightning component on community page

Hi I have created a component and placed it in community page which is displaying case records. I have a custom button, on clicking that case records are changing, but to see the changes i have to ...
1
vote
1answer
21 views

Why can't I see Ideas in Community?

I have made Ideas and Idea themes tabs visible along with CRE for both for System Admin but when logging in to Community, I don't see it. I see the tabs in SFDC proper but not in Community. Any ideas ...
2
votes
1answer
35 views

Salesforce searching capability

We're trying to provide a search interface in lightning community, where user can search Accounts and Contacts. No of Accounts and Contacts are in range of 2-4 millions in our Org. Currently, what we ...
2
votes
0answers
22 views

Site.createPortalUser() takes approx 20-25 seconds for first user registration of the day? Why?

We have a Lightning Community and enabled Self Registration. The issue is weird. It takes approx 20-25 seconds for the very first User registration of the day and all user registrations onwards take ...
0
votes
1answer
28 views

Passing parameter in URL in Lightning component and community pages

will it work in community pages, if yes then how, can you brief me? this is url and i am passing parameter in it as key= sunil https://deb1-coro.cs17.force.com/v2/s/invdetail?key=sunil var ...
0
votes
0answers
21 views

Community Builder: Custom Navigation with customizable menu items?

I haven't been able to find any documentation on this anywhere, so maybe one of you can enlighten me. I've created a custom Navigation component, following this page: https://developer.salesforce....
0
votes
1answer
17 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 ...
0
votes
3answers
43 views

Can Guest Licensed Users execute DML statements?

I'm working on a Lightning Community & I'm working on logic for creating a Case. When I look the Debug Log as a Guest License user, I see that their DML limit is set to 0. 21:02:58.198 (...
1
vote
1answer
77 views

Dynamic UI based on Large JSON response / Web UI based on JSON Schema implementation [closed]

I'm dealing with a complex problem and need expert opinion for selecting a right approach. In short, Need to render a Dynamic UI based on JSON returned by an external system. Each user selection ...
0
votes
1answer
27 views

Why Groups inside Salesforce Org are not showing in Community?

As the title suggest, I've created several groups inside Saleforce but when I add a Navigational Item of Object Groups doesn't show any record. I have followed these instruction but nothing happens, ...
0
votes
0answers
27 views

CustomLandingController seems to be not working when SSO is used for community login

I've a requirement to setup customer community(SSO based Authentication/ No Username-Password login allowed) with few Pages to be displayed if User is coming to community for the first time. Here, ...
0
votes
0answers
9 views

Search in static pages in community

We have a community with many static pages which are created using community builder with a rich text content editor. The content of this static page is created using this rich text content editor. ...