Stack Exchange Network

Stack Exchange network consists of 174 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
14 views

Lightning community has no Reports tab like a Tabs + VF community has?

We want to convert an existing Tabs + VF community to a Lightning community (using Customer Account Portal template). The users are all Customer Community Plus users. In the Tabs + VF community, the ...
0
votes
0answers
13 views

Wrong Email Template is being sent from the community after password reset 5 times

We have a Community with Customer Service template. There are Custom Templates for Emails like Welcome, Forgot/Change Password, etc. Please check the image below. All emails are being sent with the ...
0
votes
0answers
17 views

Execute JavaScript calling other domain and passing user's data in Community?

The goal: run Fullstory JS with user's credentials to send tracking info. There is a question - Adding javascript to community pages. This works just fine, except user's parameters. I need to pass ...
0
votes
1answer
16 views

On change of designer attribute, init() handler is called again

We are using lightning components in a community. We drag drop the components into a template and configure through designer attributes. For one of such lightning component, there is an init() handler ...
0
votes
0answers
20 views

Lightning Community Failed to initialize a component - IE

We have recently developed a new community with lighting components on it. This community works perfect on all the browsers, but on IE 11 (11.0.90) it fails on the landing page component.(It only show ...
0
votes
0answers
14 views

Issue while accessing user type in community

I'm trying to get currently logged in user type in the community, but I'm facing some issues. I have published my community and that published link is not working properly Scenario 1.Open incognito ...
0
votes
0answers
10 views

How to have separate pages based upon recordtype in lightning community? [on hold]

How to have separate standard record pages based upon recordtypes in lightning community?
0
votes
0answers
11 views

CMS Collection Not Visible to Guest Users

We're hitting an issue where the CMS Collection component in our community is not displaying for guest users once deploying to production. Has anyone hit this before? In our sandbox we had it happen ...
0
votes
0answers
12 views

Default “Tabs” lightning component not visible in public community page if not logged in

I have a public community page, in it I use a custom Lightning component which contains just some text (no records nothing that needs permissions). If I use the component by itself when I visit the ...
0
votes
1answer
28 views

$SObjectType.CurrentUser.Id gives undefined for Guest user

I just stumbled upon something while using $A.get("$SObjectType.CurrentUser.Id") to get current user id in lightning component. $A.get("$SObjectType.CurrentUser.Id") returns Id only if user is logged ...
0
votes
0answers
19 views

Getting values to childComponents from Parent [duplicate]

I need get the calculate values in childComponent for count this values and show in the page. ChildComponent calculate 2 values (import and ADR) ​​using the parameters that are sent and the input ...
0
votes
0answers
27 views

Application Event with aura:valueChange

I'm trying to fire application event whenever aura:attribute value changes, I'm creating this component for lightning community and I'm changing value of aura:attribute using desing:attribute value ...
3
votes
2answers
35 views

Making AuraDocs public for an org

The documentation for an org is available at the following url including those for custom lightning components. https://<my-domain>.my.salesforce.com/auradocs/reference.app Is there a way so ...
4
votes
0answers
50 views

force:refreshView not refreshing Related List - Single

On a record detail page for communities (created in Builder) we have a few custom Lightning Components as well as a few Related List - Single standard components. One of the Related List - Single ...
0
votes
0answers
18 views

How to render <canvas> chart as an image in Lightning component?

I have element like this in lightning component. I want to save this as an image in Documents on button click.Please help me guys.. I have tried including the jspdf https://cdnjs.cloudflare.com/...
0
votes
1answer
32 views

Bring back Recommendations Carousel

We put a Recommendations Carousel in our Record Detail page for an object to be viewed by our Community (using Builder). The community user (me, testing) clicked I'm not interested on the carousel and ...
0
votes
0answers
28 views

community user unable to edit tasks assigned to them

I have a use case where I have to assign tasks to customer community users and I want them to see those tasks in community and mark them complete once they complete the task. Btw I am using 'Customer ...
0
votes
1answer
30 views

Cannot Read Property 'ErrorCode' Of Undefined in Lightning Component on Community

I am building a lightning component that needs to allow a series of fields on Case to updated by a community user. This component loads up just fine in Lightning Experience, and even in the Community ...
0
votes
0answers
3 views

Is there a way to give customer community user access to lightning flow other than visualforce page

I have embedded a lightning flow(an intake form) in Lightning community template(Customer Service). But unfortunately, when I login as community user, I cannot see the flow. I was reading somewhere ...
0
votes
1answer
36 views

Displaying custom objects in communities

Just need info about displaying the custom object in Salesforce Communities. Have added the custom profile in the Communities. I have created a custom profile by cloning the Customer Community ...
0
votes
1answer
15 views

Change Community Page Name for Custom Object Page

I have a Community Object Page that has the page name of the original custom object I created. Since then, I have changed the custom object's name to something more pertinent. I can't figure out how ...
0
votes
1answer
56 views

download base64 as PDF seting a name for it

I'm trying to download a PDF file and I wish to give a name to this file and a extension. Here is what I did: Component: <aura:component implements="forceCommunity:availableForAllPageTypes" ...
0
votes
2answers
62 views

String Split function is not working in the Lightning JS contoller

I am getting array of string from component's attribute to lightning controller, now I want to split that string to comma separated values and want to assign that to another component variable but ...
0
votes
0answers
14 views

Not able to preview file in community while using lightning:filecard

I have used lightning:filecard to get ID of the document which are uploaded from Salesforce, while debugging I'm getting the ID of the Document but the preview or download option is not available in ...
0
votes
0answers
12 views

Lightning Component isn't available in community builder

I have this at the top of my component <aura:component controller="ProjectAndTicketListController" implements="forceCommunity:availableForAllPageTypes"> Is there any reason why this isn't ...
1
vote
1answer
22 views

unable to fetch latest attribute value in lightning

I have picklist in lightning. On onchange fuction it is getting a data from apex method and setting it in a attribute. And just after that when i trying to fetch the value of that attribute. I am ...
0
votes
0answers
21 views

lightning:recordViewForm unable to display for guest community users

asking does recordViewForm in communities only work display if the user is logged into Salesforce? I can't seem to get my output fields to display for a guest user. They're displayed and fine for a ...
0
votes
1answer
47 views

How can I call lightning component from Quick Action?

I have a lightning page.I click Edit Page. Now there are multiple sections in which Actions are added. Now I have to add a button / link which will call a custom lightning component. I have attached ...
0
votes
0answers
8 views

How do I set the Design Attribute (Record ID) for the Feed Component dynamically?

I want to set the record ID for a Salesforce Feed component based on a fields value on the Users record. So for example instead of the default value {!recordId} I would like to use something like {!...
0
votes
1answer
40 views

Fixing CSS in lightning community

I'm trying to fix css for the lightning community, I have created a custom theme for a community, and my component implements forceCommunity:layout, due to forceCommunity:layout by default max-width ...
1
vote
1answer
27 views

How to trigger analyticsInteraction aura component from Lightning web components?

How to trigger analyticsInteraction aura component from Lightning web components? Below is the code to trigger analyticsInteraction using aura component var analyticsInteraction = $A.get("e....
0
votes
0answers
21 views

How to assign different record page layouts to different record types in Salesforce Partner Communities

first a little bit of context, I work as an intern for a company that builds systems using Salesforce, and I've been amazed at how much is possible with this platform. I've already built an internal ...
0
votes
0answers
36 views

record edit form onSubmit is not called after installing component through package in another sandbox from a sandbox

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="...
0
votes
1answer
17 views

How do I navigate directly to a visualforce page in a Lightning Community?

I have a lightning community and trying to figure out what the URL form should be to navigate directly to a custom VisualForce page. As an example if I want to navigate to a contact URL directly I ...
0
votes
1answer
36 views

How to get the public IP address of current user in Lightning component hosted on public community page

How would I get the IP address of the current user, when the user using a custom lightning component on a public community page? Using this Apex code: Auth.SessionManagement.getCurrentSession().get('...
4
votes
1answer
91 views

$A.createComponent with does not work in the community after Spring 19 release

I have the issue but cannot understand what is wrong, hope you will help me here. There is the community with custom lightning Register component. When you fill some basic info about the user you ...
0
votes
1answer
41 views

How to open component in lightning community?

My whole community is developed with lightning components,I want to stay on the same page if the page refreshes, and also to easily go to different pages with the query string. Ex. I have component A ...
0
votes
0answers
37 views

TabStyle in lightning

Is there a replacement for TabStyle in lightning? When I move from parent component to child component, I need parent component to be remain highlighted when I am inside the child component.
0
votes
0answers
31 views

Navigate to custom lightning component from link in lightning community

I want to redirect to my custom component from link in lightning community but on click of link it is redirecting to home page it self. var urlEvent = $A.get("e.force:navigateToURL"); var url = '...
0
votes
0answers
32 views

Implementing lightning component with number of lookup fields in community

I'm trying to implement a component with lookup fields. The form is to be created dynamically. I tried the following ways : Approach 1 Using <lightning:inputField> with <lightning:...
0
votes
0answers
23 views

Add the custom events on standard component in community pages?

I have a community page containing below component, wherein I want to add my custom event (like 'Click' event) so that I can send the data to the Google Analytics. For Ex. I've a component which ...
3
votes
2answers
104 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 ...
0
votes
2answers
27 views

How to Get Org Record Changes in Lightning Component

I need to Display all open cases and all open Opportunities count on Lightning Home Page based on Record changes(for example When ever a new case is opened by any other User, Lightning home page ...
0
votes
0answers
32 views

Salesforce Lightning component navigateFlow action is returning null

I am using a lightning component in a flow with stages. This component is being used in a lightning community page. I am using lightning:progressIndicator in the component. In the component's ...
0
votes
2answers
37 views

How to call html content stored in static resource in lightning component?

I have a requirement where I need to store all the footer content(.html files) in static resource and use that in lightning component. I didn't find any documents where we can use the html content ...
0
votes
1answer
13 views

Lightning Design Resource

` ` Can we use lightning design resource for mapping? I want to bind the apiName dynamically so what I am doing is like, So at the time of component placement on a ...
0
votes
0answers
22 views

Is there a way to show configurable tabs in lightning community?

I want to show configurable tabs in community but i couldnt find a way to show it in custom templates its only working when i select community with "Salesforce Tabs + Visualforce Communities" i am ...
0
votes
1answer
65 views

Related Record Component on Community Builder

I'm using the Community Builder to customize the Details layout of a few objects. Part of what we want is to show a few fields of a related object. For example, let's say I'm showing the Contact ...
0
votes
0answers
22 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
0answers
27 views

Section accordion for attributes in design resource for custom lighting component

In building custom lighting components with lots of admin-configurable properties, our design resource interface can get quite lengthy. It would be nice if we could have collapsible sections in the ...