New answers tagged

0

@Felipe Can you please provide your code for reference (password less login). trying to implement same here.


0

I found that the answer to this was to use a redirect with the EXACT correct link. I had to use the old links like /servlet/networks/switch?networkId=[yournetworkidhere] instead of trying to use the URL of the community itself for the redirect.


0

You're receiving the error due to the last css block. To resolve the error, you'll need to add .THIS before .comm-page-PAGENAME .cCenterPanel, see below. As for achieving full-width, have you tried overriding the Community's CSS? Original .comm-page-PAGENAME .cCenterPanel { max-width:100% !important; margin:0 } Replace with this .THIS ....


0

<lightning:recordEditForm aura:id="editForm" Here aura:id is editForm, so, you should use component.find("editForm") instead of component.find("recordForm") handleSubmit : function(component, event, helper) { component.find("editForm").forEach(form => form.submit()); } You should use submit method on form


7

It's getCallback and setCallback. Note the lowercase b instead of uppercase B. JavaScript is cAsE-sEnSiTiVe.


0

At line number 9, remove $A.getCallBack and try to save the helper js. Below is the code snippet action.setCallback(this,function(response){ // logic } $A.getCallback() is used when passing a callback function to a function outside the Lightning framework that might interact with a component outside the normal rendering lifecycle, such as setTimeout():


0

You can try updating IsPublished of CaseComment with false. This field is accessible to update using API. See document https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_casecomment.htm


0

With Customer Community Plus licenses you could do Apex Managed Sharing which would make what you want to do possible. I do not know a way of doing what you're asking about using criteria-based sharing rules with a basic Customer Community license.


0

I was not using the correct related list name. I found the correct related list name by going to displaying the related list in Lightning & copying what appeared in the URL for the related list name. For me, the format looked something like Project_Organization__r


2

One way is to pass a reference of the page controller into the component like this. The component has an attribute defined: <apex:component controller="ComponentController"> <apex:attribute name="pc" type="PageController" description=""/> ... </apex> The page sets a value in that attribute via a controller property: <c:...


0

"Manage External Users" button is only available in classic for internal users. In Lightning, as a delegated external user admin, you should have "Enable {Partner, Community} User".


0

To monitor the status of the build, use a BuildListener. The class would look like: import org.apache.tools.ant.BuildListener; import org.apache.tools.ant.BuildEvent; public class MyBuildListener implements BuildListener { Object controller; // Replace Object with the correct type. public MyBuildListener(Object controller) { this.controller = ...


3

The CreatedBy Field is a read-only field that cannot be updated via dataloader without "Set Audit Fields upon Record Creation" permissions. Previously you had to file a Case with Support to turn this permission on for a limited period of time when importing data. Without the permission enabled you won't see it mapped when using dataloader. You no longer ...


0

Warning. It only works if you have a beta package. If you release the package then you will not be able to Turns out that you can't find any information online about this but You can! My beta package needed to be deprecated and I manage to delete the package entirely from the dev org. - Keep in mind that when you delete the package it doesn't remove the ...


1

Hard bounces and unsubscribes are automatically suppressed as per these documents describing the processes: Bounces - this one has a really good diagram explaining the process of marking a subscriber as Undeliverable, refraining from more emails being sent to that email address: Also, unsubscribes is handled automatically, and should a subscriber use e.g. ...


0

You won't be able to do it automatically with access to Email Studio only. To be able to automate it, you would need access to Automation Studio: https://help.salesforce.com/articleView?id=mc_as_automation_studio.htm&type=5 You could then write an SQL query to regularly query the Bounce (https://help.salesforce.com/articleView?id=mc_as_data_view_bounce....


1

Referring to below image: Go to Setup > Community builder In top left (below image), go to Login. Remove the standard component shown there Drag and drop your component from CUSTOM COMPONENTS For your custom component to show in the list: For Aura component, implement interface forceCommunity:availableForAllPageTypes For LWC component, configure ...


1

I had the exact same issue and fixed it adding the navigation menu bar on my login page. In my case, I had to make a custom theme Layout. For that I created an aura component in which I added a custom navigation bar (another aura component that I had to create because I needed to override the "Home" button functionality) adding the following div: <div ...


0

Even I had same issue and when I checked Trailhead account email, could see the error - "portal account owner must have a role" then assigned a Role. That worked perfectly!!


1

No, it is not possible for a Salesforce Community Guest User to see Reports or Dashboards from a public Community page. Here's a link to Salesforce documentation talking about Communities Report and Dashboard Considerations, it explains who can have access to Reports/Dashboards in a Community https://help.salesforce.com/articleView?id=...


3

That is because of lexical scoping - this scope is undefined in unnamed function as callback. You can use arrow function to correct it and scope of this will be class in it. getLocation(location) { findLocation({ locationName: location }) .then((result) => { console.log(result); this.locationName = result; ...


1

easiest way would be to assign the sales users only account page layouts where all fields are made read only while the user still has edit access on the fields in his profile/permission set. Doing this however will still allow users to edit account fields through API or list views as they still have edit permissions available.


2

Same issue here. For me adding the connected apps (ios, android) to the profile was the solution. In Lightning Experience: Setup => Users => Profiles => --Select appropriate profile-- => Assigned Connected Apps => Edit. Select "Salesforce for Android" & "Salesforce for iOS" and add to the right side pane then Save. Edit: Make sure to set "Api ...


0

You need to contact the salesforce to enable it.


0

added based on comments You should not use direct # (Id selector) and . (class selector) selectors in jquery (or any other library) as that will cross the component boundary. You should instead use $(component.find('initid').getElement()) which will respect component boundary. Once the library is loaded $ is available throughout. Also there is no need of ...


3

Package version creation takes place in a scratch org, whose configuration must meet the minimum requirements for your package's metadata in order for it to be deployed there. You can specify a scratch org definition to the force:package:version:create command with the -f argument. You'd do something like this: sfdx force:package:version:create -p assured-...


0

The desired functionality i was able to achieve through ui:inputdate. Component <div class="slds-align_absolute-center slds-page-header__title slds-truncate"> <lightning:icon iconName="action:new_task" alternativeText="Approved"/> <h1 class="slds-m-left_large">AutoSlash</h1> </div> <div class="slds-grid ...


0

Adding on to @glls answer, even if you use [variant="label-hidden"] you must still specify [label=""] as it is one of the required attributes and yes, the < label > tag will still render in the HTML just with nothing inside of it. That was a fun one to track down.


Top 50 recent answers are included