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
22 votes

Lightning Web Components available in Community Builder

Yes, you have to handle it differently. For LWC in the community we have to edit the configuration file named as file—<component>.js-meta.xml ** To make your component available in the ...
Pranay Jaiswal's user avatar
12 votes
Accepted

<Design:Attribute> Documentation

At this point only attributes that are supported are String , boolean and int . So this is how the design file will look <design:component> <design:attribute name="SearchString" label="...
Mohith Shrivastava's user avatar
12 votes

How can I dynamically load a static resource image in LWC?

You would normally upload a ZIP file, and use it in the manner described in the docs: import TRAILHEAD_CHARACTERS from '@salesforce/resourceUrl/trailhead_characters'; // ... einsteinUrl = ...
sfdcfox's user avatar
  • 493k
10 votes

Does a Lightning Component know if it is in a Community or a standard Lightning Salesforce page?

I have made a blog about how to resolve this issue without having to add a design attribute. Link: http://kevansfdc.blogspot.com/2017/02/does-lightning-component-know-if-it-is.html The solution I ...
Kevan's user avatar
  • 512
9 votes
Accepted

How can I dynamically load a static resource image in LWC?

I want to thank sfdcfox for his answer. Officially, dynamic resource loading is not supported. But I threw together a hack in case others need a similar solution. Setup Let's say you have a specific ...
Salesforce_Noobie's user avatar
8 votes

Migration of Salesforce Communities configurations between environments

I have been trying to do this and one thing I have discovered is the site.com metadata is a binary package .So technically yes if you have a github repository for every release you can maintain ...
Mohith Shrivastava's user avatar
8 votes
Accepted

Salesforce Error Publishing Community 1715759908

Salesforce Support got back to me and they said that this was most likely caused because during the deployment, Navigation Menu Item records were created without having a DraftRowId set. As a solution:...
Z33dawg's user avatar
  • 1,411
7 votes
Accepted

Overriding or Creating Custom Pages for record detail of specific objects

Yes, it is possible to modify just the record detail page for a specific custom object, but you'll need to create that page first. When you are in Community Builder, go to Page Manager > + > ...
smukov's user avatar
  • 5,583
6 votes

Community Workspaces and Builder are not available

Per @Dave Humm's original comment, I discovered that it's possible to remove your access to a Community Workspace | Builder links in Administration from inside the portal by removing the System ...
jordan.baucke's user avatar
6 votes
Accepted

How to have a String[] attribute in a Community Builder Lightning component?

The design:component currently supports only Boolean,Strings,Integer and the picklist values . The multipicker is not supported and hence the best possible solution would be to allow user to enter as ...
Mohith Shrivastava's user avatar
6 votes

Help setting up my development environment for building a custom community for existing org

Disclosure: I am on the CumulusCI team at Salesforce.org and am one of the release engineers for the Nonprofit Success Pack. General NPSP Guidance Because the Nonprofit Success Pack is a complex ...
David Reed's user avatar
  • 93.1k
6 votes
Accepted

How to remove the "My Account" menu item in a Lightning Community?

I may be wrong here, as I have never worked on communities, but how was .myAccount{ display:none; } working before. When i inspect element in my community page, i see each menuitem written as home ...
Nagendra Singh's user avatar
5 votes
Accepted

Does a Lightning Component know if it is in a Community or a standard Lightning Salesforce page?

We ended up going for the attribute/property editor route. Component: <aura:attribute name="environmentType" type="String" description="This variable is used to indicate which environment this ...
Folkert's user avatar
  • 2,712
5 votes
Accepted

How Can I Access Site.com Studio for a Community Builder Site After Winter '17?

Navigate to Communities | Builder Now observe the URL .Remove of all the extra parameters after domain.The URL would look like below https://googleflowauth-dev-ed--sitestudio.ap1.force.com/ This ...
Mohith Shrivastava's user avatar
5 votes

Lightning Community via custom Mobile SDK app?

Your approach of a 'simple Hybrid App that sends you to the Community Login page' is the right path here. As for your other concerns but I'm concerned that Locker Service will cause a problem with ...
Gaurav Kheterpal's user avatar
5 votes

Auto-refresh Napili Community's standard page once in every five minutes?

Alright, with the guidance from @Mohith, I was able to find a work around for my issue. Here is what I made changes to his code which reloads the complete page, rather refresh the part of the page(...
SatyaV's user avatar
  • 1,523
5 votes

Is there a 'Related List - Single' component for Communities?

Related List - Single is now available in Lightning Community Builder. If you don't see it, try going to the Community Builder > Settings > Advanced > Show all components.
Carl Herman's user avatar
4 votes

Remove Chatter not enabled from Community Template

You can remove that by following these steps: Select "Record Detail page" within Page selection list (within Lightning Community Builder) Select Tabs component Set Tab 3 to "None" (refer screenshot ...
Anshul's user avatar
  • 2,629
4 votes
Accepted

Fast js navigation in Communities using Lightning/Napili

The entire Napili is based on Lightning Component Framework and all the events available on SF1 is also available inside the Napili template .Its just not well documented I believe . Here is a small ...
Mohith Shrivastava's user avatar
4 votes
Accepted

All Global Actions not Showing up in Community Builder Button

Well that was silly of me - the reason is record types. Community builder will not show you any global actions for record types that are not enabled for your profile. This includes the standard System ...
Scott Morrison's user avatar
4 votes
Accepted

Locker Service for Communities blocks any attempts to include Salesforce Live Agent. Is this a bug?

excellent post and I am sorry to see that you had to spend so much time on this. Known issue and already tracked with bug W-3214759 Live Agent Chat is blocked in Community Templates with Locker ...
Doug Chasman's user avatar
  • 10.1k
4 votes
Accepted

Don't understand the usage of <c:svgIcon> helper (Lightning Design System - Communities)

This is because "opportunity" icon belongs to standard set, "moneybag" is a part of utility set, change "standard" to "utility". "custom17" belongs to custom icons category. The easiest way to ...
Pavlonator's user avatar
4 votes
Accepted

On Community Builder e.force:navigateToComponent not working, any ideia?

According to the Lightning Components Developer Guide, this functionality requires that the target component's access attribute be set to "global". It also notes that it is only available in Lightning ...
Brian Piggins's user avatar
4 votes
Accepted

Auto-refresh Napili Community's standard page once in every five minutes?

Create a custom lightning component for communities to do this .You will need to ensure this component is part of every Napili lightning page that you want to refresh Here is a version of untested ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Custom Fonts Not Working?

Thanks to @Pratima and @MohithShrivastava for posting a working URL path: Instead of: /sfsites/c/resource/MyFont.woff I used: /resource/MyFont.woff Now everything works as expected.
Adrian Larson's user avatar
  • 150k
4 votes
Accepted

Napili Community - A Tab using Visualforce Page

The only real option is to create a page and embed the Visualforce page within it. That will allow it to be added to the navigation menu as a community page. The page would be a Standard page with ...
Dave Humm's user avatar
  • 5,111
4 votes
Accepted

Lightning component not visible to community members

Check the objects referred in component by the Community site User have access to that Object in Profile Settings. If not, the component won't be displayed.
Pranay Jaiswal's user avatar
4 votes
Accepted

Why Groups inside Salesforce Org are not showing in Community?

Groups in Salesforce are separated and not sharable to be a group in Communities. You must create a group in Communities for it to show up in Communities. There is already an idea posting about this:...
Kenan's user avatar
  • 461
4 votes
Accepted

How I can retrive "Community" metadata in Salesforce

Answers for your questions first. How I can retrieve "Community" metadata in Salesforce and will make to deploy for example to QA org depends on which deployment tool r u using? --if you using ...
sdandamud1's user avatar
  • 2,705
4 votes

How can I dynamically load a static resource image in LWC?

Adding my two cents. In a recent project I was working on, I was iterating over a list of products, which I wanted to display to the user (including the image). The parent lightning web component was ...
Tom Reinman's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible