We’re rewarding the question askers & reputations are being recalculated! Read more.

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
4k 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
799 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 ...
2
votes
2answers
2k 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
857 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 ...
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 ...
15
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 ...
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
5k 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 ...
4
votes
1answer
1k 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 ...
8
votes
5answers
8k 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 ...
8
votes
1answer
5k 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 ...
5
votes
2answers
6k 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 ...
0
votes
1answer
5k 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 ...
13
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
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 ...
3
votes
1answer
308 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 ...
18
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 ...
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 ...
6
votes
2answers
1k 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....
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. ...
3
votes
1answer
7k 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 ...
1
vote
2answers
551 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? ...
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 > <...
9
votes
2answers
8k 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 ...
4
votes
1answer
472 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 ...
4
votes
2answers
641 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
178 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
1answer
754 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
8k 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
2answers
1k 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 ...
3
votes
1answer
4k 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
1k views

Extra '/s/' at the end of Community URL

Can someone please help me understand why does Salesforce add a extra '/s/' to the Community URL? We recently created an community using templates and whenever we try to access it, we notice that an '/...
2
votes
5answers
10k 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
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 &...
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
1answer
507 views

Unable to read ANSI file in apex code?

I need to upload a file with ANSI character encoding from a VisualForce page and should be able to read the file and perform actions from Apex class(controller). Now when I upload an ANSI file, a ...
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
1answer
802 views

Customer Community User (Non-Plus) Sharing Set Access not applying when Creating Case

Good day all! I will try to explain as succinctly as possible. The permissions/sharing context for the below is as follows 1) Security Controls > Sharing Settings > Default External Access: Account,...
1
vote
1answer
764 views

What user to debug for public Communities access?

I need to debug self-registration for a Salesforce Lightning Community, however since the user is not logged in yet (using self-registration code), I don't know which user to select for DEBUG. Does ...
1
vote
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....
1
vote
2answers
1k views

Exception page on VisualForce

I am using Salesforce community. The code was running fine until recently. But, now if I open the same page I get the Exception page sying Error Occured While Loading the Page. When I check into debug,...
1
vote
1answer
307 views

Error while deploying SiteDotCom

I am getting Error: Cannot import data from a newer release! while deploying siteDotCom from one sandbox to another sandbox. Version of source sandbox is 44 and target sandbox is 43.Could this be the ...
1
vote
2answers
2k views

Passing Account ID to my Visualforce Page

As the user goes into an account, there is a custom button that they can click that will redirect them to my Visualforce page. How can I capture that account id in my controller? Thanks public ...
1
vote
1answer
149 views

VF pages supported in Community Builder - What happens with the 3rd party JS libraries? Any LockerService Implication?

I was playing with a page that I am trying to put on to work for the community builder. The page uses the lightgallery library, to open up a popup gallery for some photos. I verified that now the ...