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.

Filter by
Sorted by
Tagged with
10
votes
3answers
7k views

What are permissions are needed to upload a file via a public Salesforce community page?

I would like to be able to upload files using <lightning:fileUpload which is on a public community page. The community is using template: Customer Account Portal. The files would get attached to ...
8
votes
3answers
1k views

What can be done with SSL + Communities + Force.com Site + Branded Domain

I'm getting mixed messages online regarding SSL support for a Force.com site that is branded with a custom URL domain: These two articles, Registering a Custom Force.com Domina and Registering a ...
4
votes
2answers
919 views

How can I set a custom domain in a Salesforce community?

Background We have a salesforce community called mycompany.force.com/ We also have a custom domain: mycompany.my.salesforce.com where users have Company Community Licenses. Because my users have that ...
3
votes
2answers
4k views

“Log in to Community as User” Button Missing

I know that in the Winter release the "Log in to Community as User" button was added to Lightning. I did look at other pre-existing topics for this subject and none of those answers resolved the issue ...
2
votes
1answer
862 views

modifying napili community template lightning components

Is there a way to view & modify the code of standard lightning components that are visible when editing the Napili template in the community builder. I was wondering if I could modify some of the ...
16
votes
3answers
6k views

Challenge with unit tests, mock callouts and running as a user

Background I am developing a number of business applications within a community. Many of these apps rely on callouts to another ERP system to verify or retrieve or push data. In order to adequately ...
20
votes
2answers
11k views

Sharing access to partner community users based on record owner

Im trying to write what feels like it should be a simple Apex sharing rule but not having much luck. Basically I want partner users to be able to see all "customers" (custom object) owned by customer ...
8
votes
1answer
2k views

Customer Community login using REST API

I want to login a customer community user using rest api or at least using soap api. I have created a user using the REST API. To create the user, first I created one contact with account and ...
6
votes
2answers
6k views

Anyway to control Communities E-mail Welcome Message

We have an org that we are moving from Portals to Communities, the Communities Welcome E-Mail is sent to all user accounts when their user/account is created: From the Communities > Administration > ...
10
votes
1answer
5k views

Community Licenses - Limit of custom objects

The documentation here says 10 custom objects per license. I have managed to assign more than 10 to a profile using Customer Community License and also was able to query and display data on VF page ...
7
votes
1answer
1k views

Is it Possible to Disable Feed and Topics for an Object Completely at Profile Level / Page LayOuts

I need to display Case object(Detail page) in Portal Page for External users, And i need to Hide the Feed(No More "Show feed / Hide feed ") completely. Is it possible to hide feed in case object ...
5
votes
2answers
7k views

Unable to @mention Partner user on chatter feed by Salesforce Internal User

I have a usecase wherein a Partner user creates a Case which gets assigned to internal Salesforce user. The agent resolves the case and wanted to collaborate with the partner user with @mention tags ...
4
votes
1answer
2k views

Username-Password OAuth Authentication for community users?

I have a native ios app and i want to login using the username password flow, From the POC i made i discovered that for community user, i dont get a security token which i was using while REST call to ...
3
votes
1answer
8k views

How to include images from static resources in lightning components used in communities?

I am trying to include an image from static resources in a Lightning component. The image is displaying correctly when I use that component in an App. But does not display anything when I use the same ...
10
votes
2answers
9k views

How can i get my community Base URL in apex

I am using Salesforce Community and I have network Id of the community but I don't know how can I get Base URL of my community. Any one know how can I get my community base URL using its id in apex ...
9
votes
1answer
6k views

FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXX)

I've a object called myobject__c. This object is private in OWD Setting. Now when admin create a new record of this object then I want to share this record with a user(community user). For this I've ...
8
votes
5answers
9k views

Test Class Issue with UNKNOWN_EXCEPTION, portal account owner must have a role

Im getting above error when i was trying to run my test class. In my test class i will create an Account, Contact. And this contact id will be used in my original code to create Community user. I ...
5
votes
1answer
713 views

Platform Event - lightning:empApi

I am using platform event and subscribing them in a lightning component. When i use my component as standalone lightning app or use it on lightning record page, the components subscribe well to the ...
0
votes
1answer
6k views

Override background image/color in the community using the Napili template

I've been testing the customization capabilities of communities with napili template. One of the very basic things I cannot easily do is, branding. I can update the logo, but not the background. It ...
17
votes
2answers
2k views

Create Community User through REST API

I am using the nForce library with node.js. Everything seems to be right and we perform CRUD on the Case object. However when we try to create a User using an external account with "Delegated ...
14
votes
3answers
5k views

customizing the change password page in communities

Hi I'm working on communities and would like to customize the change password page that is displayed to the customer after a password reset. This is the url to the default changepassword- /_ui/system/...
3
votes
0answers
2k views

Lightning Components: Using <force:inputField /> on a Lookup only works partly and use slds-input class override with default

Using a <force:inputField value="{!v.account.ParentId}" /> seems to have flaws running in a Lightning Community Issues Rendering: wrong/missing styles Link "Find more results" does not work ...
3
votes
1answer
531 views

Community Registration - “Can't Verify phone Number”

Trying to test out the community self-registration with the registration page type of "configurable self-reg page", but I upon clicking register with my phone number I am returned a "Can't verify ...
3
votes
1answer
1k views

How to create pick list of state and country in Lightning component?

I am making an component in lightning. i want to know how can we use the state and county picklist in this particular code. secoundly the functionality of save and cancel button is also not working ...
3
votes
1answer
7k views

Using '/{!object.id}' as the URL for an object's detail page fails with Communities

In our app, we used a shortcut of referring to an object's detail page by appending its Id field to a leading slash (/). It seemed like the right thing to do at the time, since the Apex code new ...
1
vote
1answer
2k views

Custom URL in Salesforce Communities

I need to configure a Salesforce Community to display a customer URL, ie portal.[DOMAIN].com instead of the standard [DOMAIN].force.com/ The following KB from Salesforce doesn't seem to work We've ...
19
votes
2answers
14k views

What's the difference between portal and newly introduced salesforce community

After introduction with salesforce community, I am unable to clear how community is different from portal functionality. I already read here but this don't have answers of question like: What is new ...
8
votes
1answer
3k views

Communities - Able to access Visualforce page without authentication

I have a customer community and added a visualforce page to the community by going to Sites then Site Visualforce Pages. I am able to invoke the VF page by directly going to CommunityURL/vfpage and I ...
8
votes
3answers
3k views

Custom Fonts Not Working?

I am trying to apply a custom font to my Napili Template using Community Builder. I followed the steps laid out in Use Custom Fonts in Your Community. Here's my css definition: @font-face { font-...
7
votes
3answers
4k views

Favicon is not working outside of the Community

I am working on a Community for my portal with Napili template. I wanted to have my custom favicon to the entire community. I have configured Edit Head Markup in the community builder with this: &...
6
votes
2answers
2k views

Is there a way to detect if a Lightning Component is running in a Community or in Lightning Experience?

I have a Lightning Components and need to know if it is running inside of a Community or in Lightning Experience. Is there a way to detect the running context? Right now I'm checking document....
6
votes
1answer
1k views

Napili template standard search event

Are there standard events to capture the search term entered and search button clicked in the standard Napili template so that I can get search term entered and build my own lightning component with ...
5
votes
1answer
2k views

How to handle a record save event in salesforce lightning?

I have implemented the record edit according to instructions given in https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_force_recordEdit.htm?search_text=channel. ...
4
votes
2answers
575 views

The better way to import cometD library into LWC

I've been trying to use empAPI on community but unfortunately it's impossible. So I found this staff from trailhead https://github.com/forcedotcom/EMP-Connector.git Could anyone please describe me ...
3
votes
1answer
327 views

Error running sfdx force:package:version:create

I get an error when I'm trying to create a package version. This is the command which I'm running: sfdx force:package:version:create -p assured-pkg4 -d force-app -k 12345 --wait 10 -v DevHub And ...
1
vote
1answer
10k views

Unable to get the selected pick list value in the controller

VF Page: <apex:page standardController="Order__c" extensions="MyOrderPadController" > <apex:detail /> <apex:form > <apex:pageBlock > <...
1
vote
2answers
590 views

PDF from Salesforce

I have a requirement to create separate pdf files with informations of HCPs having been called where samples are dropped. I can extract in csv, but how to do that in a presentable format in pdf? ...
0
votes
1answer
79 views

Why cant I navigate to lightning component in communities?

Im on a lightning community, i have a lightning component and i want to open another component with this code: navigateToMyComponent : function(component, event, helper) { console.log('1'); ...
4
votes
2answers
764 views

Issue using Lightning Component on a Customer Community Visualforce Page

I recieve the below error when I am trying to call a Custom Lightning Component in a Visualforce page that is used in Communities. Unrecognized Content-Security-Policy directive 'reflected-xss'. ...
3
votes
1answer
871 views

How to set the page layout using css conditionally - Napili Template Salesforce Community

I want few pages to be accessed by guest profile to follow different styles and some for authenticated users. Header image to be varied for two different users. How can I achieve this? If I change the ...
3
votes
1answer
10k views

Passing parameter from lightning JS controller to apex class

I am unable to pass parameter from the lightning controller to the apex class. Whenever I use debug the passed value seems null. JavaScript Controller add : function(cmp,event,helper) { event....
3
votes
1answer
5k views

Adding javascript to community pages

We have a community that uses the Napoli template. We want to add Google Tag Manager code to the community pages. How can you add javascript to community pages? We tried to add the javascript to the ...
3
votes
1answer
360 views

APEX Sharing stopped working in community

We had a small widget that allowed customers to share records that were set to a private sharing model in our community. Everything was rather simple and it would simply allow them to select users ...
3
votes
2answers
2k views

Napili Navigation Menu

I currently have a Community setup using Napili and more or less functioning as desired. I have one small issue though that I cant seem to find a solution for. I have the users Account link on the ...
2
votes
1answer
1k views

lightning:fileUpload displayed as disabled in community

I'm trying to implement file upload functionality following the instructions in the documentation. But the uploader is being displayed as a disabled input. <aura:component implements="...
2
votes
3answers
1k views

Auto-refresh Napili Community's standard page once in every five minutes?

I am implementing a Custom Community using Napili template. I am displaying custom object's record list on one of the Standard community pages. Is there a built-in functionality or setting that ...
2
votes
3answers
2k views

using help Text in visualforce

I have a Visualforce page which consists of questions and inputFields below the question .I want to use Help Text for that field so as to display the Text in place of question.How do i achieve it ...
2
votes
5answers
11k views

How to Query all opportunities ids from account

I write a sample query to fetch account Ids from cases of a particular record type.Then i wrote another sample query parent to child relationship to fetch opportunity ids from accounts. My sample ...
2
votes
1answer
2k views

portal users cannot own partner accounts

I am having an issue while updating an existing community contact/account: Contact has 'created by' and 'Owner' set to Salesforce Standard User. And then from that Contact I created a community user....
2
votes
1answer
1k views

How to insert a edit command button for output field?

I have a output view page, and i want to insert a edit command button. when user click on edit button it will enable them to type on output field and save. Can anybody tell me how to do that? Thanks &...

1
2 3 4 5