The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [community]

Salesforce offers its customers the option to purchase special licenses that allows an Organization's employees, customers, partners and non-SalesforceCRM licensed Users access to a limited subset of standard Salesforce Objects and Content, plus custom objects via a secure "portal" called a community which can have many features. Many of those features are license dependent as is access and sharing of records. Communities are highly customizable.

1,182 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
2answers
792 views

Is forcetk accessible in Communities

I am using forcetk to upload files (as Attachment records) in a VisualForce Page and it works fine. But when I access same page in a Community, I am not able to upload the file as I am getting the "...
13
votes
1answer
515 views

ui:inputDateTime date and time pickers not displaying properly

We are working on some Lightning Components for a Salesforce Community. We are using our own template which is bare bones. Here's the code: <aura:component access="global" implements="...
11
votes
1answer
95 views

CORS issues with Chatter API Photo Posting

I have a Chatter Communities API request that creates a new user profile picture. This API callout works when I use an app like Ruby or even a cURL command. However, using an AJAX callout, I get a ...
8
votes
1answer
454 views

New records not showing in record list object page Napili Community

I am working on setting up a Napili community and have a Community Page that includes the "Record List" component In my lightning component I am inserting a record and when done I am using: $A.get("...
5
votes
0answers
132 views

Verify Member Identities for Community Self-Registration

I'm trying to test the new feature for the Salesforce Community: "Verify Member Identities for Community Self-Registration". I want to create a Custom Verify Page and I'm reading the official docs: ...
5
votes
0answers
281 views

How do I manage my salesforce communities with sfdx?

I have a salesforce community site, and it is built off mostly visual force pages and apex classes. I would like to move the 'application' into sfdx. I am able to, with a little coaxing, deploy the ...
5
votes
0answers
154 views

Knowledge Article Title Header shown only for the versions in the user's language

I have enabled knowledge base for the communities. The template community that I am using, is Napilii template. I am configuring the layout of the article detail page where the core component, is the ...
5
votes
0answers
2k views

force:canvasApp in a Lightning Component

I have a simple Lightning Component with a Canvas App embedded in it via the force:canvasApp tag. CanvasTestComponent.cmp <aura:component implements="forceCommunity:availableForAllPageTypes" ...
5
votes
0answers
105 views

How can I handle bounce management in Communities programatically?

The Problem We have an active customer community with 25K+ users. These users are in many Chatter groups and as a result receive Chatter digests and notifications via email. About 300+ emails bounce ...
5
votes
0answers
588 views

Site.getBaseUrl returns empty string in test method

I'm writing tests for the community site controller class and I've faced with some problem. When I invoke a controller method that includes Site.getBaseUrl() from test method I get an empty string. I ...
5
votes
0answers
371 views

Is it possible to pass parameter between napili template built with lightning component

I am working on napili community template pages built with lightning components. There is a requirement to pass value from a lightning component in page 1 to a lightning component in page 2.. I ...
5
votes
0answers
584 views

Just-in-Time Provisioning for Salesforce Communities

I'm trying to configure Just-In-Time provisioning for Salesforce Communities, but can't get the pieces to talk to each other. The process for setting JIT up for Customer Portals here and here, and ...
5
votes
1answer
2k views

How to share External Account, Contacts, Custom Object Records for Partner User in Communities

Is it possible to share the external Accounts to a Partner Enabled Account User(Partner Account -> Contact (Partner User)) ? The Scenario is something like this: I have Account, Opportunity etc. from ...
5
votes
1answer
235 views

Rendering order in Lightning Community

I'm working on a very styled Lightning Community (we're using Napili, but with a custom Theme, custom Layouts, custom CSS) and one thing which looks odd is the rendering order when you load a page. ...
4
votes
0answers
136 views

LWC: Add a region in custom community theme

I would like to add a region in my custom community theme. For now I am only able to add my LWC components in the body area and would like to know how I can declare regions in my theme to accept LWC (...
4
votes
0answers
86 views

Limits on Branding Sets, Audiences, Page variations

Discussing some solution architecture with a colleague and the question came up about the theoretical boundaries of varying a lightning community using only the out of the box tools. I've made some ...
4
votes
0answers
96 views

Deployment of Community with reports issue

I have a customer community with the standard community page, where I have component Report Chart which references specific report. I'm deploying Community using Metadata API. I have included ...
4
votes
0answers
279 views

Using cometD in visualforce page

I am trying to use CometD with my platform events. I've added a basic use case for the time being for clarity: * I have a platformevent and a trigger. Whenever a client (custom object) gets edited, a ...
4
votes
0answers
101 views

Community Cloud Vs. Community Cloud “Starter”

I am reviewing the Editions and Pricing Pages for Service Cloud, and under the heading: Empowering customers with self-service communities, there is a sub-heading: Community Starter that is listed as ...
4
votes
0answers
95 views

Blank Page while viewing Report in Lightning Community using customer community plus license?

We have created a portal based on Lightning Community (Napili) template. We would like to allow users with "Customer Community Plus" license to access report using the following URL: https://<...
4
votes
0answers
1k views

REST API using SessionId throws “not valid for use with the REST API” for Community users

Following are the steps I am doing: Get the Salesforce Session ID through SAML Handshake using SAML attributes Trigger REST API using that session ID curl https://my-communities.force.com/...
4
votes
0answers
266 views

Dynamically created selectOptions not appearing in dynamically created inputSelect from FieldSet

I'm creating components from a fieldset, which means determining that a field in the set is a picklist in real time, then creating that inputSelect dynamically, and then creating the ...
4
votes
1answer
176 views

Hiding Standard fields from the Record creation window - Napili Template

Seems straight forward: Field Level Security to hide the fields, but this seems like, we cannot make disable the Read permission(as it always defaults to checked): Created By, Last Modified By, Record'...
4
votes
0answers
817 views

Problem with iframe for visualforce page in Lightning Component

I am embedding a Visualforce page from a managed package into a Lightning Component using an iFrame. This is throwing an XSS error when a community user attempts to access the page. I have replaced ...
4
votes
0answers
100 views

SFUserAccountManager loses its details in once app is terminated

I have an iPad app with Salesforcemobilesdk-ios integrated. First time, as soon as I login I set all the credentials in oauthCoordinatorDidAuthenticate method like this - - (void) ...
4
votes
0answers
579 views

Add custom Javascript <script> tags to Napili and Lightning communities after Summer 17 release

After Summer 17 release the LockerService will disable Javascript tags in the community Header Markup and access to DOM from Lightning Components. If I would like to add a custom Javascript to Napili ...
4
votes
1answer
412 views

Custom Charts in Community with Lightning Components (ChartJS)

I have previously been using ChartJS to generate a dashboard in a custom community using Lightning Components. It appears that the Spring 17 release does not like the ChartJS library. I get 2 ...
4
votes
0answers
180 views

Self registration failure messages for Salesforce community

I have created a community login page using Salesforce community builder with self registration functionality. If a new user tries to sign up with the same details as of already existing user in the ...
4
votes
0answers
165 views

Winter 17 broke anchor links

I have a Lightning Component used in our community using the napili templates in our prod and sandbox environment with identical code that uses anchor tags to jump to headers within the component. ...
4
votes
0answers
149 views

Google Analytics Implementation with Winter '16 Update

Before Winter '16 update in the Kokua community template, we use Site.com to insert our Google Analytics tracking script into the Head section of the template. Now that the Winter '16 update no ...
4
votes
0answers
945 views

<apex:inputfield> in visualforce page is not visible in community sites

I am having a visual force which is having StandardController and as well as Extension with some on page.When i executed same VF page in SFDC it's working fine.But when I'm executing same page in ...
4
votes
0answers
243 views

Use of Self-Signed Certificate under Named Credential

Did anyone tried to use Self-Signed Certificate or any other type of certificate with Named Credentials. I am trying to setup Named Credential under destination Salesforce org which will connect with ...
4
votes
1answer
390 views

Check if browser is supported by salesforce right on visualforce page

In short, we need to display to the community users kinda warning in case if their browsers are not among supported by salesforce. The option we've come up with so far, is just to check user's agent ...
4
votes
1answer
58 views

Moving communities from QA to Production

I have created a site in our QA enviornment with contents, articles with zones, chatter with categories and various permission sets based on profile including branding. I would now like to move this ...
4
votes
0answers
59 views

Query exposes private posts to guest users

We have a class that generates an RSS feed to expose questions from a community on a public website. The Visualforce page for the feed uses a custom controller with the following query, which should ...
4
votes
2answers
3k views

Switching licenses between Customer Community and Customer Community Plus

During our first tests with Salesforce Communities we figured out, that users can't be switched from Partner Community License (PCL) to a Customer Community License (CCL). This is also documented ...
4
votes
0answers
973 views

Salesforce “Customer Community” license, custom object limit

The salesforce documentation regarding custom object limit states - 10 custom objects per license (custom objects in managed packages don’t count towards this limit) as per the link. Does this mean ...
4
votes
0answers
541 views

Salesforce1 iOS hangs on splash screen

I'm trying to log into SF1 iOS app using a portal user that has been granted access to a community. I've changed the login host to point directly to the community and I can successfully login, ...
4
votes
1answer
875 views

Formula field image not visible from communities

I have a formula field displaying an image. It works great for an internal user but does not work for my partner community. I have tried using the IMAGE(LEFT($Api.Partner_Server_URL_260, FIND( '/...
3
votes
0answers
30 views

How can “sfdx force:user:create” be retried?

We are using a Jenfinsfile in Jenkins to execute SFDX commands. The Jenkins user is connected to our Dev Hub. In one of our builds, we want to create a Customer Portal User, but in a small percentage ...
3
votes
0answers
47 views

Site.com vs Community

Client is using Unlimited Edition (UE) Salesforce Org. When ever we are creating a Community, it is creating a Site and a guest User along with the Community. As per https://help.salesforce.com/...
3
votes
0answers
75 views

ltng:require style issues in preview as a guest user in community

I think I've found two issues with the lntg:require tag, especially with the styles attribute (when previewing as a guest). First, some context: Let's say I have a CSS file as a static resource ...
3
votes
1answer
162 views

Apex class invalid for community user but not standard

UPDATE: this might be a Spring 19 only issue. Will try to confirm this. If I create an opportunity with a standard Salesforce license, no problem. But if I try the same operation as a community ...
3
votes
0answers
51 views

From Address for outbound email message in communities

We have a requirement to set the from address to the outbound emails sending from communities like welcome, forgot password and reset password. Currently it's taking the email address which we ...
3
votes
0answers
158 views

Is it possible to disable mobile touch on a Salesforce community

Background I have a community page which displays a calendar by FullCalendar The calendar is in a Lightning Component. Both Salesforce Communities and FullCalendar support mobile devices. ...
3
votes
0answers
53 views

Creating a Mockup of Lightning Communities

I am already aware that salesforce uses tools like Sketch to create mockups for lightning components by using SLDS. I recently given a project to create a mockup of salesforce communities. Are there ...
3
votes
0answers
100 views

Lightning Component meta tags for Facebook

We currently have a VisualForce page for a record detail page in our community. I am looking at changing this to a lightning component, so far it has gone well, except for our social sharing buttons. ...
3
votes
0answers
142 views

ConnectApi in a Community : EntityLink segment not allowed. Contact your administrator to enable it

I'm using ConnectApi to send "bell notifications". Example ( I use ConnectApiHelper but my pull request allowing {record:xxx} is not validated yet ) : ConnectApi.MessageBodyInput messageInput = new ...
3
votes
0answers
477 views

Submenu inside lightning:buttonMenu component

I have a lightning:buttonMenu with a few lightning:menuItem and want to display a submenu when hovering over one of the options. Having a hard time understanding how to create a submenu. Was ...
3
votes
1answer
219 views

lightning:recordEditForm Account Name binding issue in salesforce person account orgs

I run into a issue when using lightning:recordEditForm to together Account Name info in an org where Salesforce Person Account is turned on. I was trying to bind to a business account and edit the ...