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,420 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
2answers
873 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
536 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
109 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
0answers
115 views

Are ContentVersion unit tests impossible using a Community user?

I have some unit tests that pass when using System.runAs with standard user but fail when using Communities user. The error is (note the mention of NetworkId): ...
8
votes
1answer
518 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("...
7
votes
0answers
76 views

Create Profile for External Apps Login licence in Unlocked Package

I created an Unlocked package with Community enabled. Because Apex code references it, I need to package a Profile for the External Apps Login User License. But I don't see this license in my scratch ...
7
votes
0answers
324 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: ...
6
votes
0answers
606 views

How can I allow the user to Populate Custom Fields When Uploading Files?

Update: I managed to get the dialog to display but the implementation feels like a bug workaround. See update below. How can I get this Add File Details dialog to display allowing the user to add ...
5
votes
0answers
124 views

What is a strategy for SEO since URL Rewriting in Lightning Community is not possible?

The Salesforce Documentation states that URL Rewriting is not supported in Lightning Communities: Is URL rewriting for creating custom vanity URLs supported? No, URL rewriting isn’t supported ...
5
votes
0answers
74 views

How to update an exported Lightning Community Template

I have a managed package containing an exported Lightning Community Template. I would like to add a new page/ change an existing page on the template. When I try to re-export, it says that the name ...
5
votes
0answers
156 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 ...
5
votes
1answer
2k 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/...
5
votes
0answers
317 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
1k 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 ...
5
votes
0answers
184 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
117 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
760 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
611 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
263 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. ...
5
votes
1answer
1k 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( '/...
4
votes
0answers
130 views

Multi language support in community built using LWC (Migration from Visualforce to LWC)

We have an Identity community which supports more than 50 languages built using visualforce pages. We would like to migrate the community to LWC. For that, main issue we are facing is the language ...
4
votes
0answers
250 views

Styling of flows used in communities

I am trying to understand whether when a theme is applied to a community (see e.g. Standard Design Tokens for Communities), any flows presented in that community can be made to respect the theme. ...
4
votes
0answers
114 views

No source tracking support for type: NavigationMenu Winter'20

According to the documentation, NavigationMenu should be supported int API v47 both in source tracing and unlocked packaged, but after trying to pull changes in navigation menu I am getting the ...
4
votes
0answers
1k views

Error while loading a js as static resource in lightning Web component

I have a static resource name KendoUI, which is a javascript and is public. In my application, I have this : import { LightningElement } from 'lwc'; import { loadScript, loadStyle } from 'lightning/...
4
votes
0answers
365 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
120 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
482 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
140 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
294 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
250 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
102 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
710 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
477 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
190 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
1answer
834 views

Salesforce Communities Create Contact Portal users cannot own partner accounts

I am getting the error "portal users cannot own partner accounts" when trying to create a new contact through our community site. I have set up a contact list in our Communities site (Napili theme), ...
4
votes
0answers
167 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
1answer
2k views

Customize Self Registration page on Community Builder

We are using Self Registration page on Community Builder.We want to make a custom field mandatory in user object on user sign up.Where can i customize?.Please advise on this.
4
votes
0answers
151 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
1k 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
281 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
412 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
59 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
63 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
986 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
550 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, ...
3
votes
0answers
39 views

sfdx force:source:push error Push Failed. [XML parse error]

I created lwc for embbeding in Community and push it to a scratch org by using the command "sfdx force:source:push" but I got the error: Error parsing file: LWC Metadata Xml Parser: ParseError at [...

1
2 3 4 5
29