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
3
votes
2answers
2k views

Activity Sharing with a Community User

We have an Opportunity owned by a Community User. A normal user creates activities under the Opportunity. However, the community User is unable to view these activities. The OWD for Activity is ...
3
votes
2answers
602 views

Chatter API: Error Code 403: Origin not Whitelisted

When I do a GET request through the Chatter API at /services/data/v30.0/connect/communities/<community id>/chatter/users/me/messages I get the following error back from Salesforce: 403 ...
3
votes
4answers
4k views

Hide global search

I need to hide global search under Manage Communities --> Edit --> Click on Tabs and Pages -->Select standard salesforce tabs --> select chatter tab..When i did this and when i change from Internal to ...
3
votes
2answers
73 views

Can we change Community Template Background dynamically?

I am trying to achieve Account specific branding in Communities. So every user belonging to one account sees a specific background. Preferably, the background-image needs to be related to the account ...
3
votes
2answers
593 views

Salesforce Communities: Shorten {!Community_Url}

Is there any way to shorten the merge field {!Community_Url} when a welcome email (default or custom) is sent from a community? The Community URL in the email looks like spam and I want to shorten it ...
3
votes
1answer
3k views

mouseover event is not firing on element on which written

<tr onmouseover="{!c.showEditIcon}"> <td colspan="2"> <c:DFActivityCardCmp activity="{!activity}" uiThemeDisplayed="{!v.uiThemeDisplayed}"/> </td> <...
3
votes
2answers
6k views

Refused to set unsafe header “User-Agent”: connection.js

Don't know why i am getting unsafe header error in console. Everything is working fine but i am wondering what is the error here. Below is the code: function getFieldOptions (objName, ctrlFieldName) {...
3
votes
1answer
2k views

how to get the user logged in in community

I need to get the Id of the user logged in community for Visualforce Page. How can I get the login user in salesforce community and use in Visualforce Page?
3
votes
1answer
123 views

How to identify if underlying org has customer portal enabled?

Is there any way to identify if underlying org has customer Portal enabled, in apex ? what I can think of is querying all the profiles and checking if UserType field has any of the below values, ...
3
votes
1answer
565 views

Visualforce - Add Check Mark

How can I add check marks with a button? As user complete their section, it will show a check mark or an "X". Please see link for a screenshot: http://www.evernote.com/shard/s197/sh/8283848c-86d2-...
3
votes
1answer
360 views

Salesforce Mobile SDK Community Registration

I am developing a mobile application for one of our client using Salesforce SDk. I haven't found any documentation regarding the community registration vai Salsforce SDK. Is this possible? Because ...
3
votes
2answers
9k views

Which Eclipse version is better for salesforce?

Which eclipse version best supports Salesforce? Helios? Kepler? or Juno? which one to prefer
3
votes
1answer
2k views

Jquery Modal Popup window in Salesforce is vanishing after it shows for 2 seconds

I have a button, onclick of that i want to display the modal pop up window. Here's what i have done- Window is displayed for 2 seconds and then it vanishes! what might be the problem? <script&...
3
votes
1answer
200 views

Communities Pages - how 2 limit LHS content?

I need to remove the "Create New" and "Quick create" (and a few other links) from the LHS on Contacts and Ideas tab within our new Communities site. All of those options are fine within the internal ...
3
votes
3answers
113 views

How to implement Auto-date functionality in the Lightning JS

I would like to show the auto date format like mm/dd/yy...with auto add /. I would like to implement exact same functionality shown in the below example from Fiddle. Here is the example: Fiddle.
3
votes
4answers
668 views

lightning:Map component not loading in communities after Spring 19

I have created a lightning component which host the code for lightning:Map. The component is loading fine in Salesforce but in Communities, I am having the following error: Access to resources ...
3
votes
2answers
661 views

Lightning community how to hide / disable / remove GENERIC RECORD PAGES

I have a community which I created with the Build Your Own template: This template creates by default 3 GENERIC RECORD PAGES: I don't want to give access to my users for these pages, but I could not ...
3
votes
2answers
356 views

Number of currently logged users to the community

I trying display number of currently logged users to the community in my lightning component. Now I using below SOQL query: List<AggregateResult> numberCurrentlyLogged = [SELECT ...
3
votes
1answer
2k views

Lightning component access in public community (no authentication)

I have added a Lightning component to a VF page and the lightning component is displaying fine when I access the VF page. But If I set this VF page as the community home page and try to access this ...
3
votes
1answer
708 views

CSS applied to the elements in lightning components

html element in component : sample.cmp <div class="slds-text-heading--large heading"> Activity Dashboard </div> sample.css .THIS .heading{ padding: 1rem; border-bottom: 2px ...
3
votes
2answers
991 views

Custom community error page to show “URL no longer exist”

I have created a custom community with and used custom vf pages. Here when i trying enter wrong URL its redirecting me to OOTB page with message "URL no longer exist" but i want it to be shown on ...
3
votes
3answers
103 views

Sharing Set / Org-wide Sharing Rules for Communities - job board

I'm having a bit of trouble wrapping my mind around an acceptable way to set up sharing for the following scenario in a community that functions much like a job board: We work with a number of ...
3
votes
1answer
9k 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
622 views

How do I do concurrent updates/lock and update records using C#

As I understand it, I cannot use FOR UPDATE keyword when selecting records via Salesforce SOAP API (wsdl) before I update them. How do I make concurrent updates on a record retrieved via API?
3
votes
2answers
4k views

Chatter Group for Customer Community Users

I wanted to create a chatter group for community Users and internal users should also be able to participate in the group. Not sure the correct procedure. Does the Sys Admin need to create the group ...
3
votes
2answers
320 views

Connected App OAuth scopes settings have no effect

I have a Connected App in Org A, which is used to let their users log into Community B in Org B. The registration handler works fine, but only the OAuth scopes inside the Connected App are not ...
3
votes
3answers
2k views

How to stop the default email notifications for a particular User in salesforce through apex code

I am trying to stop the default email notifications for a particular User in salesforce through apex code. Stopping default email notifications can be done manually by going to My Settings -> Email ...
3
votes
1answer
434 views

SalesForce community CNAME record

We currently have a SalesForce community setup at 21ct.force.com/support We created a CNAME record (support.21ct.com) that points to 21ct.force.com When we visit support.21ct.com, we are taken to ...
3
votes
2answers
4k views

How to get Id's of field in Javascript where fields are displayed through apex:repeat tag

In Apex page I'm having 2 address sections i.e., Current Address and Permanent address but these address fields are placed in Custom setting and displaying through apex:repeat tag in page.We have a ...
3
votes
1answer
2k views

Communities: are site.com licenses required?

I've started playing around with Communities in a developer instance (we have a production instance that is old enough that we can still use Customer Portals) and got it all set up fine, was able to ...
3
votes
2answers
8k views

how to send the visual force page custom object fields to controller

Hi I sent my entire code VF Page: DEMO <apex:page controller="NewAndExistingController" > <apex:form > <apex:pageBlock > <apex:commandButton ...
3
votes
1answer
474 views

Apex code to add Tab in Salesforce Main page

I have two Custom object(Project,Skill). Is there a way to add both the custom object in Salesforce tab using Apex coding. Currently I am adding using customize my tab option and selecting my object. ...
3
votes
1answer
874 views

related list question

I have a custom object called Sports that ties to contact (student) information. The Sports object is used for coaches to review the qualifications of a prospective athlete (student). Since a ...
3
votes
3answers
1k views

How to put image in Community Login page

I have created a Salesforce Community . How can I put an image in the Login Page of my community ? Is that possibile NOTE I do not want to add a header image, but rather an image in the main ...
3
votes
1answer
222 views

Query image from SalesForce as blob

Is there any way I can query the image from SalesForce server as a blob object ? We already have forcetk client queries which is retrieving all the data, but the image alone is returned as a link (...
3
votes
2answers
927 views

Add contact to community

I have a community called developer in my org.I want to add a contact to this community.but when I click Members tab in community edit,I can only add a profile to community. So how do I add a contact ...
3
votes
1answer
234 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
487 views

Why lightningStyleSheet='true' is NOT allowed in communities

Why lightningStyleSheet='true' is NOT allowed in communities. When we use lightningStyleSheet tag in VF pages, inside the ORG look and feel changes to lightning, however the same does not work in ...
3
votes
2answers
2k views

Unsupported mime Type when creating Blob instance into lightning community

I am having problems when I try to use the lib jsPDF in order to generate dynamic PDF documents and download them from the browser. The problem is 'Unsupported mime type'. This is due to the function ...
3
votes
1answer
146 views

sample .ics file with Add to Google Chrome Button for salesforce email template

Can anyone provide me a sample .ics(google,iCalendar etc) which i can attach to my email template from salesforce. I've tried a lot with help of the google. I'm unable to get google Button format ...
3
votes
1answer
785 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
7k views

ChartJS v2.4.0 Failed to create chart: can't acquire context from the given item

I'm trying to use ChartJS in a Lightning Component on a private customer community (SP17 org). When I try to generate the chart, I get the following error logged in the browser console: "Failed to ...
3
votes
1answer
2k views

How to get content of Attached file lightning

I need to display content of attachment within iframe that is embedded in the particular sObject. When you upload file from notes&Attachments related list on salesforce classic its type is ...
3
votes
1answer
2k views

Community: Sharing Sets and Sharing Records - High volume

Sharing Sets Sharing sets are one of the best ways to grant portal / community users access to records that belong to their account. The sharing is based on lookups to accounts or contacts. Question ...
3
votes
1answer
3k views

Dynamically getting picklist values on a lightning custom component

I have the following code blocks, the populatepicklists.setCallback() seems to not be firing off. Any thoughts Server side controller @AuraEnabled public static List<String> ...
3
votes
2answers
2k views

Community : Salesforce Tabs + VF Template using Lightning Components

I have a community which uses "Salesforce Tabs + Visualforce" template. So, most of the stuff is customised using Visualforce pages including Login/Logout Pages. Now, I'm trying to understand how ...
3
votes
2answers
2k views

Disable Discussions on Salesforce Communities

Is there any way I can disable the Discussions tab from the Search Results component on Community Builder? Note: I'm currently using Napili template I've tried the answer on this post Disable &...
3
votes
1answer
1k views

Related list button not displaying on opportunity record in Lightning Experience

There is an apex button that is not displaying when the record is viewed in Lightning Experience. The related In Salesforce Classic it is working fine , When I move to Lightning, it is not ...
3
votes
2answers
3k views

Error During Ant Migration of Community Site. Error: In field: Name - no Network named X found

I am using the ANT Force.com Migration Tool to deploy a Lightning Community Builder based Community from our Dev Org to our Production Org. I have received various errors related to fields, apex ...
3
votes
4answers
4k views

What is the difference between salesforce.com,salesforce1 and force.com

Some one says salesforce1 is mobile app and salesforce is product.And someone argues salesforce1 is platform. Can anyone clarify these terms.I am totally confused.