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 ...
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="...
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 = ...
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 ...
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 ...
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 ...
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 ...
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 > + > ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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(...
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.
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:...
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 ...
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/...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
community-builder × 373community × 194
lightning-aura-components × 87
lightning-community × 68
customer-community × 48
lightning × 42
napili × 35
lightning-web-components × 33
experience-cloud × 19
partner-communities × 15
experience-builder-page × 14
visualforce × 12
lightning-experience × 12
css × 11
force.com-sites × 9
lightning-apps × 8
liveagent × 8
site.com × 8
apex × 7
aura × 7
community-cloud × 7
digital-experience × 7
deployment × 5
page-layout × 5
knowledge × 5