19 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 ...
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="...
user avatar
11 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 = ...
user avatar
  • 433k
9 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 ...
user avatar
  • 502
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 ...
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 ...
user avatar
  • 2,073
6 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 > + > ...
user avatar
  • 5,248
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 ...
user avatar
6 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 ...
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 ...
user avatar
  • 86.8k
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 ...
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 ...
user avatar
  • 2,700
5 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/...
user avatar
  • 33.6k
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 ...
user avatar
  • 16.5k
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 ...
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(...
user avatar
  • 1,490
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 ...
user avatar
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 ...
user avatar
  • 40.4k
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....
user avatar
  • 40.4k
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 ...
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 ...
user avatar
  • 9,974
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 ...
user avatar
  • 2,562
4 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 ...
user avatar
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 ...
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 ...
user avatar
4 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 ...
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 ...
user avatar
4 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.
user avatar
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 ...
user avatar
  • 5,028
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.
user avatar

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