Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
4 views

Visualforce: How to get the look of pagination buttons from a standard object like accounts to my custom visualforce page?

I have this code for the pagination buttons: <apex:pageblockButtons location="bottom" html-align="left"> <apex:commandButton id="firstpage" value="◄◄" reRender="details" action="{...
1
vote
1answer
11 views

Customer Community licence is not allowing to give view all access on account

Organization-wide default is Public read/write. I want a community user to access all account from community. I tried to give view all access through permission set but getting an error - . The ...
0
votes
0answers
16 views

How to restrict outbound email from Salesforce to specific domain

I am looking to resolve a problem where I need to restrict emails sending to certain domain even though if it is triggering from workflow or process builder or any trigger. Eg: I am sending email ...
0
votes
0answers
15 views

reload the lightning page after calling vf page from lightning controller

I have a lightning component from where I am firing a vf page. That vf page is downloading some data as excel file. I want to redirect to same lightning page after the calling the vf page. but it is ...
0
votes
0answers
6 views

Not able to preview file in community while using lightning:filecard

I have used lightning:filecard to get ID of the document which are uploaded from Salesforce, while debugging I'm getting the ID of the Document but the preview or download option is not available in ...
0
votes
0answers
7 views

Showing “Invalid Page” on the click of navigation tab in Customer Portal. Any suggestions?

I have created a new custom component and Lightning Page, which is assigned to this community page on the click of 'Track Your Order' Page. And on clicking the navigation tab again or refreshing the ...
1
vote
1answer
20 views

unable to fetch latest attribute value in lightning

I have picklist in lightning. On onchange fuction it is getting a data from apex method and setting it in a attribute. And just after that when i trying to fetch the value of that attribute. I am ...
0
votes
0answers
16 views

Lightning community maintenance page

I have tried to create a static resource for maintenance as per this this. Then I assigned the static resource to Service not available page in the community. Then deactivated the community. Now when ...
0
votes
1answer
17 views

I have moved account data through data loader but Attachments files is not showing

I have moved account records through data loader, but all attachments, files, record type are not showing in my target org, only account name and some other fields are showing. Can you please help me ...
0
votes
0answers
19 views

lightning:recordViewForm unable to display for guest community users

asking does recordViewForm in communities only work display if the user is logged into Salesforce? I can't seem to get my output fields to display for a guest user. They're displayed and fine for a ...
0
votes
2answers
33 views

how to access object values in lightning component

I want to render a table dynamically in lightning. I have a list of data of transaction (Custom object) and list of string which contains API name which data i want to render. I have created a child ...
0
votes
0answers
31 views

<ltng:require not working in community

Component <aura:if isTrue="{!v.customScriptCSV != null}"> <ltng:require scripts="{!v.customScriptCSV}" afterScriptsLoaded=" {!c....
1
vote
1answer
42 views

Migrating a communities from Sandbox to PartialCopy

I'm trying to deploy a Partner community from a sandbox to a partial-copy, but I receive this error: The page "/event" for Menu Item "Event" must be published, begin with a / character, and ...
0
votes
0answers
22 views

Updating Data extension field values when duplicate recording are coming from API Call

I have a DE with some fields and data is coming from API call. Few times data will be duplicate also and there is a field which is an isActive boolean value. I have to make it that field value true ...
2
votes
0answers
19 views

Different behaviors for nested folders between classic and lightning

As we knew, in classic view folder and report are in a two-level structure. We can not create folder under folder in classic mode. Using SOQL like (Select OwnerId,Id from Report / Select from Folder)...
-3
votes
0answers
24 views

Auto Refresh for community pages [closed]

I have 2 community portals,and it has different stranded lightning components in it. We have created time limit auto refresh for the page,but when a user is typing in the page the page should not get ...
0
votes
0answers
26 views

I Keep Getting The Same Error When Trying To Uninstall A Package - (Insufficient access rights on cross-reference id)

I'm trying to uninstall a package from an org, but keep getting the same error. This is the error I keep getting:- "Lead could not be removed during uninstall. insufficient access rights on cross-...
0
votes
0answers
37 views

Javascript issue due to spring 19 release

Facing one javascript error (reportFailedAction) after spring 19 on Salesforce community. This error stops navigation between different pages within the community and sometimes occurs on button click. ...
-1
votes
1answer
25 views

query on user record not returning any records when logged in as partner community user

The below query is returning zero records when i log in as partner community user. This query is being execute from a helper class which is being called from a trigger. The helper class and trigger ...
0
votes
1answer
44 views

Can't display a record from Apex controller in a lightning component

I have a lightning component and I need to display an asset from my Apex controller. But in the view, there is nothing, the page is blank. Can you tell me why please? This is my code: .View : <...
0
votes
1answer
19 views

how can I move account owner alias field from the data loader

I have moved all the account data in another org through data loader but in the account owner alias field it is showing admin, I have to show the user perspective shot name. Thanks in advance
0
votes
0answers
19 views

How to assign different record page layouts to different record types in Salesforce Partner Communities

first a little bit of context, I work as an intern for a company that builds systems using Salesforce, and I've been amazed at how much is possible with this platform. I've already built an internal ...
0
votes
0answers
18 views

record edit form onSubmit is not called after installing component through package in another sandbox from a sandbox

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="...
1
vote
3answers
41 views

Can't get attribute from clicking on a link in a lightning component

I have lightning component and a list of records I have to display. For each record, I have to display a lightning button which trigger a method in the controller to fire another lightning component. ...
0
votes
1answer
15 views

Chart.js - ReferenceErrore : Chart is not defnied

I'm using Chart.js inside a Lightning Community app and I'm having trouble creating a simple chart. Here's my script declaration (note that the moment.min.js is required for the Chart.js to work) : &...
0
votes
1answer
25 views

Marketing Cloud SAP & Community DNS Setup including transition period

Hi Marketing Cloud Gurus I am working on an enterprise client's Marketing Cloud and Community Cloud setup. They have an existing website and custom made portal and send emails from their own server ...
0
votes
1answer
17 views

External user should be able to view only his records in a salesforce community

We have created a salesforce community and expect the external user to view only his records. But in our case, he is able to view all the records. How can we sort this out.
0
votes
0answers
7 views

DocuSign Trail account provide Salesforce merge field functionality

I can see the Relate to checkbox while creating the custom tags under DocuSign But once I save the custom save it is giving me an error
0
votes
1answer
37 views

How to open component in lightning community?

My whole community is developed with lightning components,I want to stay on the same page if the page refreshes, and also to easily go to different pages with the query string. Ex. I have component A ...
0
votes
1answer
22 views

Community Record Details Page Edit Button

I have some problem on the Record Details Page in Community. When I will click the Edit button as Member it won't do anything. please help.
1
vote
0answers
12 views

Customize the login form component in the lightning community

I need to customize the login form (and register) of my lightning community to modify the messages when the user fails his authentication or his registering. Is there a way to do that without ...
0
votes
0answers
15 views

How to call 'saveFile' method from an apex test class as it is non static.Please find the below code

public class ESMX_uploadDoc_Controller { public String sobjIds{get;set;} public List<id> ipidList {get;set;} //initialize the controller and picking up the ids public ...
0
votes
2answers
22 views

Community Guest User able to create records without create permission

We ran into a scenario where a community (Salesforce Tabs + Visualforce) user opens multiple tabs and is logged out on one tab. When the user goes to another open tab and performs an action on a ...
0
votes
1answer
14 views

Salesforce Lightning:Displaying Custom Banner Component on case record page when Case Owner is not equal to login user

I have to Displaying Custom Banner Component on case record page when Case Owner is not equal to login user. For that i created lightning component. But problem is every time I have to reload the page ...
0
votes
0answers
18 views

Allow customer user to create case on behalf of other contacts

I've a requirement to allow customer users to create cases on behalf of other contacts from different accounts. Account are shared via apex sharing/manually. User is able to select contact in lookup ...
1
vote
1answer
31 views

Querying User table from Community Super User profile in Communities

I am trying to query the user table from a controller called by a lightning component in Communities. User usr = [SELECT Id, Name, Email, Phone FROM User WHERE Id IN (Select OwnerId From ...
0
votes
2answers
26 views

Dynamic Generic Sobject multiple instances

I have a list of sobject and I am trying to add Account,Contact and Oppty records on runtime it's working fine.But how can I achieve it dynamically using sobjects type and describe methods i.e more ...
0
votes
0answers
22 views

Navigate to custom lightning component from link in lightning community

I want to redirect to my custom component from link in lightning community but on click of link it is redirecting to home page it self. var urlEvent = $A.get("e.force:navigateToURL"); var url = '...
3
votes
1answer
101 views

Apex class invalid for community user but not standard

UPDATE: this might be a Spring 19 only issue. Will try to confirm this. If I create an opportunity with a standard Salesforce license, no problem. But if I try the same operation as a community ...
1
vote
0answers
26 views

id_token not returned in JWT Bearer Token OAuth Flow

As per the JWT Bearer token documentation The id_token will be return if there is a pre-existing approval for the openid. I have existing approvals for openid for the user. Am I missing something in ...
0
votes
1answer
24 views

How to subscribe content in community

Each content Page contains its own subscibe button Please check below image But in community doesn't contain "subscribe " Option.But it contains "following" Option. why subscribe Option isnt ...
1
vote
0answers
21 views

Is it possible to generate a Chatter post in code in the same format as a CreateRecordEvent type?

Looking at FeedItem records in SOQL, I see that a system generated Chatter post when a new record is created is of Type = 'CreateRecordEvent'. Is there a way to emulate this style in code? Salesforce ...
0
votes
1answer
18 views

How can I allow a user with the 'Partner: Executive Full License' to edit their own contact?

I have a use case where some Apex code will need to run as a user with this profile. I am updating some fields in this code and then performing an update on the contact that's associated with this ...
0
votes
0answers
19 views

How to remove user object record edit permission for Community users

I have some community users with license customer community. The issue I am facing is that they are able to view other users and edit and modify their details. Is there any way I can stop them from ...
0
votes
1answer
37 views

Check the username and the password of a community user

I have a community and inside, I have a form to allow to the user to change his password. To do that, the user has to enter his old password, the new password and the confirmation of the new password ...
0
votes
0answers
8 views

Content security policy - Communities

As per latest Salesforce article : CSP It is mentioned : To ensure that your community works as expected, the default CSP setting (Allow Inline Scripts and Script Access to Any Third-party Host)...
0
votes
0answers
16 views

Add the custom events on standard component in community pages?

I have a community page containing below component, wherein I want to add my custom event (like 'Click' event) so that I can send the data to the Google Analytics. For Ex. I've a component which ...
0
votes
1answer
22 views

Custom button or link in lightning tree

I want to add plus(+) and minus(-) button/sign at every level of lightning tree to add or delete item at particular level, is there any way to do so?
3
votes
0answers
41 views

From Address for outbound email message in communities

We have a requirement to set the from address to the outbound emails sending from communities like welcome, forgot password and reset password. Currently it's taking the email address which we ...
3
votes
2answers
90 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 ...