Skip to main content
11 votes
Accepted

I want to package (unlocked 2GP) a Digital Experience; what metadata do I need?

It's quite a long journey to work out what metadata you want to package in 2GP since you have to manually add all those dependency metadata items for yourself. Since Salesforce doesn't yet provide ...
Phil W's user avatar
  • 36.8k
7 votes
Accepted

External Credential - Unable to use on Digital Experience

As far as I can see, Named Credential mapping does not work with Permission Set Groups. The workaround was the assign the permission set directly to the user. I have found this Idea. I hope this was ...
Jeferson Chaves's user avatar
6 votes
Accepted

Experience custom theme and components

The Trailhead Module that you pointed is for Aura Components and does not apply much for the LWR Build your own template. Here are some resources to help you with LWR Templates LWR Sites for ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Portal user cannot edit own account and cannot create new contacts (portal users cannot own partner accounts)

The same decision (remember to add the formula to the flow): And now you set again the AccountId and change the owner to be the same of the Account: Remember to activate the flow. Now your Portal ...
José Ureña's user avatar
4 votes
Accepted

How to logout from a Digital Experience (AKA Community) using LWC?

This is the workaround I found using the very convenient fetch API to do the logout part: async logout() { // Logout const logoutUrl = await getLogoutUrl(); await fetch(logoutUrl); //...
Keith C's user avatar
  • 136k
4 votes

External Credential - Unable to use on Digital Experience

This question gave me a hint, and my problem was solved by granting Read permission to the User External Credentials object via a permission set. Not sure why this isn't documented, but it solved my ...
Charles Naccio's user avatar
4 votes
Accepted

Why doesn't SSO between my Digital Experience sites work?

There is a "Select login options to display on the login page" section in the Workspace → Administration → Login & Registration → Login Page Setup that once a "SAML Single Sign-On ...
Keith C's user avatar
  • 136k
3 votes
Accepted

Can Digital Experience GUIDs be re-used in multiple sites in an org?

Found my problem thanks to Diff Folders. When adding substitution tokens instead of this file name: ${name}.site-meta.xml I had goofed leaving this file name: ${name}.xml With that fixed, I can ...
Keith C's user avatar
  • 136k
3 votes

PORTAL_NO_ACCESS and Community Plus license

Just had to create this list for colleagues the other day, so here are all the steps to set up a Community/Portal. Based on my reading of what you've done, it looks like maybe you need to Activate the ...
Benjamin Luehrs's user avatar
3 votes
Accepted

Unable to package a digital experience site : In field: PicassoSite - no SiteDotCom named XX found, In field: Network - no Network named XX found

You appear to be missing the "sites" entry: V sites | o CHR_Gardes.site-meta.xml
Phil W's user avatar
  • 36.8k
3 votes

Adding custom properties to a digital experiences site

For this we use design attributes in aura https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_design_files.htm Which will make custom ...
sumit bhatt's user avatar
3 votes
Accepted

How can I hide the header with navigation menu on just certain Digital Experience pages?

Digital Experiences are based on a template. That template may provide various pages, but also layouts. Opening the theme within the settings for the experience in the Experience Builder and selecting ...
Phil W's user avatar
  • 36.8k
3 votes
Accepted

Why does getUIThemeDisplay and getUITheme returns Theme3 when used in Community even though the user is using Lightning UI?

This is a known issue UITheme 'Theme3' Salesforce Classic is returned for Aura component in Lightning Experience Site Even though it specifies Aura components, the same applies to a Lightning Web ...
Kris Goncalves's user avatar
3 votes
Accepted

How to make a screen flow available in a public digital experience page?

I think this is your issue: LWC Digital Experience Unauthorized Access ok, I figured out my issue; thanks to rene winkelmeyer's "How to build LWR sites with Experience Cloud", specifically ...
BritishBoyinDC's user avatar
2 votes
Accepted

Get the URL for digital experiences domain via APEX

Thanks to @identigral for the link to similar previous question/answer... SELECT Id FROM Site WHERE Name = 'XXX' SELECT SecureUrl FROM SiteDetail WHERE DurableId = 'XXX' (Obviously, replacing XXX ...
Paul N's user avatar
  • 1,030
2 votes

File-Upload Standard LWC Component not working in Community

It sounds like you are using a LWR (Lightning Web Runtime) Template for your community. If so, the lightning-file-upload component is not currently (as of Winter 22 release) supported. See LWR ...
Jeff Kranz's user avatar
  • 2,007
2 votes

How to send a custom notification without an actual redirect?

As you already mentioned, you must specify either a targetId or a targetPageRef. In your case, if you don't want to redirect the user to any page, simply set dummy id for targetId. This is also ...
Oleksandr Berehovskyi's user avatar
2 votes
Accepted

Unable to download Tableau CRM dataset as CSV from Digital Experience

So, after a lot of digging, I found that there are settings that control this behavior. First of all, it's everything and all the permission stuff above that needs to be done. Second of all, make sure ...
xouns's user avatar
  • 135
2 votes

Send Welcome Email when an user is created from apex code

The reason why it wasn't working was because we need to give All Email option to the Access Level on deliverability Now, it's working perfectly.
fingerprints's user avatar
2 votes
Accepted

Experience Builder: Knowledge Object Page? (and NavigationMixin issue)

It's not available as an Object page but I believe that is by design because experience sites are designed to work with knowledge to show articles. I'm not clear on why you want to build a Object page ...
Judah's user avatar
  • 46
2 votes
Accepted

Digital experience builder main page not showing

Please publish your site and then try again Go to --> All Sites --> Builder --> Home Setting --> Page Variation --> check status. If the page is not published, then publish it and again ...
Lavanya Sanathkumar's user avatar
2 votes
Accepted

Experience Site deployment result in java.util.NoSuchElementException

So I was deploying one page at a time until one page resulted in the error. Then from the page I was removing components until I've figured out the problem. Apparently, the html editor component ...
Damecek's user avatar
  • 1,948
2 votes

Guest User not able to get data from custom object

Got the answer. This link helped me and to be precise I created one dummy sharing rule for that custom object and shared to guest user as like the screen shot below
SFDC buddy's user avatar
2 votes

ligtning-input date showing junk numbers in years

The additional labels beside the year is related to the known issue wherein the "lightning-input type=date" is by default picking the Japanese Imperial Calendar even though the setting is ...
Swetha Maddali's user avatar
2 votes
Accepted

How to include a "Guest User License" profile in the CI for a Digital Experience

Also include the sites feature switch: { "orgName": "My org", "edition": "Developer", "features": [ "Communities", ...
Keith C's user avatar
  • 136k
2 votes

How to use flowArguments to pass values from a Digital Experience page into a flow?

you can pass the input value from Digital Experience into flow using URL parameter page. Edit Flow setup variable for PolicyName as {!paramURLPolicyName} (any name with {!...} ) and access the page, ...
hendra's user avatar
  • 334
2 votes
Accepted

Prevent hardcoding of Static Resource URL

You can use a relative URL: <link rel="shortcut icon" href="../resource/faviconname" type="image/x-icon" /> The numbers in the middle of the URL are only needed if ...
sfdcfox's user avatar
  • 495k
2 votes
Accepted

"Must include..." error deploying an existing Digital Experience into a Spring '23 scratch org

Spent the morning trying to figure this out and eventually have got it working. The abc__Def__c from the question is "Investment" in theses builder page lists:      The left is taken from ...
Keith C's user avatar
  • 136k
2 votes
Accepted

Do LWR Digital Experiences support the audience mechanism?

As of Summer Release, you can create Component Visibility Rules in LWR - see doc Make your enhanced LWR sites as dynamic as your users. With Expression Based Visibility, now generally available, you ...
Swetha Maddali's user avatar
2 votes
Accepted

Salesforce Experience Cloud "Included" CDN

Performance boosts from a CDN are widely variable, location specific, and implementation specific. The reason detailed numbers are hard to find is that they are hard to gather and of limited value ...
acrosman's user avatar
  • 255

Only top scored, non community-wiki answers of a minimum length are eligible