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

New answers tagged

0

Force.com sites may be a better option for this usecase but for the ability to comment you might need licenses


0

You can call out to the metadata REST API to get the list of layouts for an object, that'll return them alongside their record type IDs and will indicate which is the default for the current user. I've not found a way to do the same using the User Interface API (though stand to be corrected), so think this is what you'll have to do. There seems to be many ...


2

Your last 2 debug statements return null because at this moment, your communityUser only has the values that you defined a few lines above. If you query that user right after insert with all these fields, then you should have all the info that you need: insert communityUser; communityUser = [SELECT Id, ContactId, Contact.AccountId, AccountId FROM User ...


0

The second-to-last statement prints null, because you can't traverse relationships that way. You can only access the Contact relationship from the User if you use a relationship query. The last statement prints null because you haven't set AccountId on the User.


1

Nobody who would be in a position to know would be able to tell you anything concrete (because of signed NDA agreements and/or Safe Harbor policy). I think you might be referring to this Idea. You should vote for the Idea to make sure you get notified when, or if, this feature is implemented.


0

Based on your requirements I’d saying you’re certainly heading off in the right direction, and I believe you’ve thought through this pretty well. Based on our experience at MobileCaddy where we’ve developed a development and lifecycle framework for Salesforce mobile apps that often have a need for full offline support I have the following comments/points of ...


1

As the documentation says, you can't use lightning:overlayLibrary in Lightning Out. You'd need to use your own. You might look at strike_modal instead. You'll need to create a component that will dynamically create the other components, and your dependency app must list all components that will be used dynamically.


0

Override Default Pages in Your Community with Custom Pages: https://help.salesforce.com/articleView?id=networks_page_overrides.htm&type=5 see idea: https://success.salesforce.com/ideaView?id=0873A000000PYwUQAW write your own custom vf page and identify the community url & based on that you can show. To achieve this, edit the 'UnderConstruction' ...


0

We can create a new list button dynamically in the lightning community using below process. Create a lightning component create a VF page and add it in the component using iframe. on the vf page use the below script to add the button to the list view. Add this lightning component at the top of the list view in the community. so that it will add a new button ...


2

Another approach with using URL.searchParams: The searchParams readonly property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL. connectedCallback() { const param = 'test'; const paramValue = this.getUrlParamValue(window.location.href, param); } getUrlParamValue(url, ...


3

This is not yet on Trust it seems. But there is a Communities outage and is affecting a wider audience and is mentioned on the Help Site [I should mention that I got this information internally within my team]


2

This appears to be global. This error message is hidden in the dom with just a white page appearing. "This page has an error. You might just need to refresh it. Assertion Failed!: Failed to find definition for dependency: force/customPerms : undefined Failing descriptor: {markup://force:salesforceScopedModuleResolver}" here's a google search that appears ...


1

Your types simply don't match up, as the error is indicating. You declare: public List<Messaging.SingleEmailMessage> createEmailMessage( Id templateName, Id orgEmailAddress, Id targetObjectId, Id whatId, Id accountManagerEmail, boolean accountManagerStatus, Id accountOwnerEmail, boolean accountOwnerStatus, String ...


0

While it is true that some REST resources are available at either https://yourinstance.salesforce.com or https://mydomain.my.salesforce.com or https://mycommunity.<pod>.force.com, the canonical service endpoint for all out of the box platform REST resources is https://yourinstance.salesforce.com or https://mydomain.my.salesforce.com . The latter works ...


0

In a certificate chain, you have to include all certificates starting from the domain and up towards the root. This should work: cat mycert.crt SectigoRSADomainValidationSecureServerCA.crt USERTrustRSAAddTrustCA.crt > combined.pem The position of the certs in the chain is based on Sectigo docs: Domain Validation: USERTrust RSA Certification ...


0

Assuming that you have the ContentDocumentId of the file, then use lightning:fileCard to display the preview of the file. This is compatible with Lightning communities <aura:component> <lightning:fileCard fileId="069XXXXXXXXXXXX" description="Sample Description"/> </aura:component> Refer to full documentation here


0

I guess this would be an access level case. Make sure you have set the permissions correctly. If thys community should be visible to anyone without login - consider creating guest user profile with proper permissions.


1

Salesforce provides ready to use tools to do so. In order to import data within Salesforce from an external CSV (comma separated value) file, you need to know the Salesforce object (equivalent of a table in a RDMS but much more than that..) and fields on the object (equivalent to columns of a table) to which you intend to push this data to. I am assuming ...


4

There is no slot for lightning-input so you should not really put anything in the body. Below should work: <lightning-input type="checkbox" label="Show Div Tag" onchange={displayDivtagHandler}> </lightning-input> <template if:true={displayDiv}> <div> I Am Super Fast Developer(true)</div> </template>...


0

Please add this site domain in CSP Trusted Sites in salesforce this is cumpulsary when we are calling the third API using Frontend So we need to add its domain in CSP Trusted Sites Go to Setup > CSP Trusted Sites and add your url by clicking on new for example https://developers.docusign.com . thanks


0

Go to Setup > Security Controls > Session Settings and uncheck: "Enable clickjack protection for customer Visualforce pages with headers disabled" I think that this should fix that issue. There is an explanation on why this could be failing: Check this answer.


0

You can try Salesforce Inspector..or Data Loader


0

We faced the same problem and this was related to Sharing Sets. The user submitting the case needs to have access to the case even after owner is changed to someone else or a queue. Sharing set on Case Object - User:Contact = Case:Contact. We only provided Read Only access.


1

There's a declarative way of doing this for agents shown in documentation. You can also make a VF component to do the same action I think for chat visitors. Idle Connection Warning Duration Indicates the duration, in seconds, that the customer can remain idle or disconnected before a warning is sent to the agent. The default value is 40 seconds. ...


0

Answers to #1 and #3 definitely NO. Regarding #2, there are a lot of limitations. But you can try Salesforce Surveys for free for the first 300 responses to your surveys. Things have gotten better with the Winter '20 release, out now. You can use Process Builder to send survey invitation. Also, the product is getting more visibility. At Dreamforce in a ...


1

This is the minimum code example I can provide to show how to work with a record ID. I have deployed this code and verified it works from within a community. This code is copy-pasta. If this code does not work for you chances are you are not configuring your component correctly in the community: JS: import { LightningElement, api } from 'lwc'; export ...


0

Solved! I changed the Salesforce language


0

Turns out that it is a currency problem, although I thought I had configured it properly (and I did). Company currency = EUR User Currency = EUR Account Currency = EUR Pricelist Currency = EUR Storefront Default AND Active currency = EUR BUT, after digging into a long session of debugging and reviewing the logs at the registered user level, it turns out ...


0

For "create case from email": See email-to-case: https://help.salesforce.com/apex/HTViewHelpDoc?id=setting_up_email-to-case.htm&language=en For "social media": Assuming you have service cloud licenses, set up social customer service: https://help.salesforce.com/articleView?id=social_customer_service_setup_enable.htm&type=5


0

Expanding on Reinier's answer - I have also found that for community users, you must remove the original filter condition from the report in order for the URL filter condition to be applied correctly. If you leave the filter condition in the report, the URL filter does not change it - instead, it adds a "linked filter" to the filter conditions. But that ...


1

You're creating a token that expires in 5 seconds from 'now' and by the time it arrives at the destination, it has expired, thus the error message. When you call setValidityLength(...), you're setting the value of the exp (expiration) claim. The format of expiration claim is number of seconds elapsed since epoch. From RFC 7519 4.1.4. "exp" (Expiration ...


2

You can check with the following code: if(Type.forName('Schema.Network') != null) { // We have communities enabled! As the docs say: This object is available only if Salesforce Communities are enabled in your org.


1

In addition to identigral great answer, here is the corresponding code for scratch org creation (project-scratch-def.json) "settings": { "communitiesSettings": { "enableNetworksEnabled": true, "enableOotbProfExtUserOpsEnable": true },


0

Try to do it from the scratch. I deleted the "Recommendation Carousel" , then deleted the Recommendations in the Content Management. Added both the details (Carousel & Recommendations) again. It worked for me.


3

It's undocumented but it is available as enableOotbProfExtUserOpsEnable property in the communities settings metadata as of v47 (Winter '20). If you select the Allow using standard external profiles for self-registration and user creation checkbox and then retrieve the settings metadata using this package <?xml version="1.0" encoding="UTF-8"?> <...


0

Yes, you can use Omni Channel for Sales cloud for Leads, Order, Custom Objects, But not for Opportunities. Supported Objects, Though you can work around using a shadow custom object. Each sales cloud user also needs to have a service cloud license. You account executive should be able to get a discount. As far as I can see, the benefit outweighs the cost.


0

Can we use the omni channel for chatting on the Sales cloud? As far as I'm aware, and with our functional setup of this feature. Omni Channel only functions for users Service Cloud licences If yes, then how to configure it? Please see the below link https://help.salesforce.com/articleView?id=service_presence_intro.htm&type=5 Also, what is the ...


1

Templating field metadata in XML is not especially difficult. While the Metadata API reference for the CustomObject entity is the exhaustive guide, I found it easiest when I did a lot of this some years ago to just pull down an example custom object's metadata from a developer org. That effort led to this (obsolete and rather ugly) Python script, the ...


3

You cannot stop that, also it's not recommended to manipulate dom based on ID, as the framework replaces custom id to globally unique id in the page. So to get element you have two options. Get it by class query selector. get it by Data attribute. Here are the examples for the same. Class. let div = this.template.querySelector('.popup'); Using the data ...


Top 50 recent answers are included