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
  • 477k
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
7 votes
Accepted

URL Masking our site.force.com URL with our Corporate Branded URL?

Alright, so based off the comment exchange we had, I'm going to recommend a little guide to the SSL Chains as they work when trying to import them on a custom domain. So when you look at the cert ...
cricketlang's user avatar
  • 2,103
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,503
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
  • 91.7k
5 votes
Accepted

Community Builder Templates with Site.com Pages

Site.com will be completely separate from the community builder going forward infact from Spring 16 release .Community builder is the future The community builder now has more flexibility to build ...
Mohith Shrivastava's user avatar
5 votes
Accepted

How to update a field with Lightning Components?

I think the error lies in these lines var action = component.get("c.account"); action.setParams({ "account": account }); try changing it to var action = component.get("c.saveAccount"); var account ...
George S.'s user avatar
  • 2,710
5 votes
Accepted

Bootstrap NavBar in Lightning for Communities

Take a look at loading external js and CSS in lightning: https://developer.salesforce.com/blogs/developer-relations/2015/05/loading-external-js-css-libraries-lightning-components.html Updated ...
Rao's user avatar
  • 16.6k
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

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
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(...
Arnold Jr.'s user avatar
  • 1,490
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
5 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,351
4 votes
Accepted

How to use jQuery in Lightning Communities without? How to deal with the jQuery version loaded by Salesforce as defaut?

using noConflict() to manage multiple jQuery versions. I have no idea if this is the recommended way but it works for me. Example fiddle using versions 1.11 and 1.52 and the plugin Chosen which only ...
caleb.breckon's user avatar
4 votes

How to use a Visualforce page as a Component Lightning Community page?

As for now, it looks like the only option is to iframe the Visualforce page in a component. If on Napili template, the src of the iFrame should be append by '..' as follow: <iframe src="../apex/...
Uwe Heim's user avatar
  • 28.2k
4 votes

Lightning App Builder vs Developer Console New Lightning App ( vs Community Builder )

I'll try to answer this question in part by adding some historical context and also by framing it in terms of User context and an evolving Lightning framework. The answer to your question isn't a ...
crmprogdev's user avatar
  • 40.8k
4 votes
Accepted

Lightning Events in Lightning Page Context

On the same page, in a community you'd be within the same domain, making your components part of the same application event level access, even if you didn't define them as part of the same application....
crmprogdev's user avatar
  • 40.8k
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

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

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

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,672
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

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