Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
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
414 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
946 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
244 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
5answers
7k views

Get User's Name and Profile name or id in javascript

Im trying to access the current logged in user information in a Salesforce Community from pure javascript. I just have a custom html footer and in the page i was able to do this to to get the name ...
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
1answer
658 views

Is it possible to change the default access for new chatter posts?

We've just recently enabled communities for partner users, and as they're trusted partners we tend to be open-by-default about information with, we'd like to make it so that our chatter is also ...
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
542 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
884 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
2answers
1k views

Customer Community vs Heroku

I am a new entrant to Salesforce (force.com) world coming from Java world. My team is migrating customer service functionality from Siebel to SFDC leveraging Service Cloud. We also have B2B commerce ...
3
votes
1answer
172 views

Will Force.com stop working on salesforce Lightning?

I would like to know if the October 2019 switch from salesforce classic to lightning. Will the force.com pages stop working?
3
votes
2answers
8k views

How to delete document in content version?

@RemoteAction public static void DeletePriorties(string Rid) { ContentVersion sList =[Select id,Title,FileType,GeneratedDate__c,FilelinkedCode__c,ContentUrl,createdby.name ...
3
votes
2answers
2k views

How to find parent records with only 1 child record

I want to pull all the parent records which have only 1 child record either using a query or report or any other way. For example all the accounts with only 1 contact record. I don't want to create ...
3
votes
2answers
3k views

Get record in in lightning component in communities

I want to created a component that would be used on a record detail page in a community The component I created co far implements force:hasRecordId (and few more) but the id I get on run time in null. ...
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 ...
3
votes
1answer
10k views

How to change color on One particular pageBlockSection?

I have Change the color using CSS. But i want change the color on one particular pageblocksection. How can i do that. I tried several methods, but does not work. Thanks <apex:pageBlockSection ...
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
3answers
652 views

aura.redirect not working with LWC

I'm developing a Community and I have a custom Login Aura controller. To log in the user I use the standard Site.login() method that returns a pageReference, that then is passed to aura.redirect() ...
3
votes
2answers
102 views

Embeding lightinng components in Visualforce

I have seen many Community Implementations in Visualforce and for whatever reason, migrating to lightning is not always in the roadmap, so we usually find ourselves either extending visualforce pages ...
3
votes
2answers
1k views

Community - Navigation Menu - Remove or Change home

I am trying to delete or change the name of the "home" link in my navigation bar. Is it possible remove or change name this button without using CSS? A greeting
3
votes
2answers
3k views

how to add page number (page number of total pages) numbers in pagination?

I was able to create pagination for my table. Now i want to add page number on the bottom of my table(like page number of Total pages ). But i kinda struggle to do that. Anybody have any idea? Thanks ...
3
votes
1answer
134 views

How to get the source IP field?

we want to get the source IP field from login history object. We do not know how to get it. We can get the IP but the system randomly chooses a one. Does anybody have any idea? thanks trigger ...
3
votes
1answer
779 views

XOR operation on two checkboxes in Salesforce

I need to make a selection of Gender. [ ] Female [ ] Male. Either one of them must be selected. I used following formula for validating. AND( Female__c = TRUE , Male__c = TRUE ) Using this, I ...
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
594 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
67 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
512 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
2answers
2k views

customizing header in Communities (Winter 18)

Prior to winter 18, we were able to customize the display of the pageHeader image by referencing the class .no-assigned-image in our markup. We used this to create a custom theme and provide our ...
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
1k 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
120 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
532 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
357 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
199 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
104 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
2answers
482 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
319 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
666 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 ...