<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Salesforce Developer Forums - Architecture</title><link>https://developer.salesforce.com/forums</link><atom:link rel="self" href="https://dfc-org-production.my.site.com/forums/ForumsRSS?category=Architecture" type="application/rss+xml"></atom:link><description>This is the main RSS feed for the Salesforce Developer Forums</description><lastBuildDate>Tue, 05 May 2026 23:23:01 +0000</lastBuildDate><item><title>Quote Account Id field</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Fri, 03 Nov 2023 11:13:45 +0000</pubDate><dc:creator>Abbas Kazmi</dc:creator><guid isPermaLink="false">9065d000000NrCcAAK</guid><description><![CDATA[<p>Hi,<br><br>I have come across a strange issue. There is a field in Quote (standard object) which get enabled when we allow creation of quote without a related opportunity. The field is a lookup to Account and API name is <strong>QuoteAccountId</strong>. The problem is, I can access this field in apex triggers, making a describe schema calls in apex classes but the field is not available while doing SOQL, reports and not availble as well in Data Loader. </p>

<p>I searched a lot but could not find any resource on this. Any help will be highly appreciated.</p>]]></description></item><item><title>How can I import metadata into a new Org? This metadata was extracted using inspector.</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Thu, 26 Oct 2023 18:40:37 +0000</pubDate><dc:creator>NELSON AFONSO 6</dc:creator><guid isPermaLink="false">9065d000000Nr4nAAC</guid><description><![CDATA[How can I import metadata into a new Org? This metadata was extracted using inspector.  ]]></description></item><item><title>Unable to connect to AWS when setting up Sentiment Insights on Feedback Management</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Thu, 21 Sep 2023 16:27:28 +0000</pubDate><dc:creator>C3C Software</dc:creator><guid isPermaLink="false">9065d0000007C10AAE</guid><description><![CDATA[I&#39;ve configure an AWS account with permission to user amazon comprehend and I&#39;ve set it up as a named credential in my org.<br>But whenever I try to use it to setup Sentiment Insights for Feedback Management I get the following error:<br>&quot;We couldn&#39;t save the named credential. Edit the credential or select a different one and try again.&quot;<br><img alt="User-added image" src="/forums/servlet/rtaImage?eid=9065d0000007C10&amp;feoid=Body&amp;refid=0EM5d000008jlfS" style="height: 223px; width: 500px;"></img><br>Has anyone faced the same issue?<br><br>To create the named credential i followed this doc (<a href="https://help.salesforce.com/s/articleView?language=en_US&amp;id=sf.ev_relay_create_named_credential.htm&amp;type=5" target="_blank">https://help.salesforce.com/s/articleView?language=en_US&amp;id=sf.ev_relay_create_named_credential.htm&amp;type=5</a>)<br>To setup sentiment insights I&#39;m following this doc (<a href="https://help.salesforce.com/s/articleView?id=sf.concept_survey_sentiment_insights.htm&amp;type=5" target="_blank">https://help.salesforce.com/s/articleView?id=sf.concept_survey_sentiment_insights.htm&amp;type=5</a>)]]></description></item><item><title>Can I create 2 Users for  the same contact for Customer Community licence?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 18 Sep 2023 09:32:08 +0000</pubDate><dc:creator>Pratiksha Shevade</dc:creator><guid isPermaLink="false">9065d0000007BvlAAE</guid><description><![CDATA[We want to create 2 users for the same contact. This is a customer community user. We want to give access to 2 different communities for the same contact.<br>While creating the second user with same contact we are getting below error-
<p style=""><span style="font-size: 12pt; white-space: pre-wrap;"><span style="font-family: Arial,sans-serif;"><span style="color: #000000;"><span style="font-weight: 400;"><span style="font-style: normal;"><span style="text-decoration: none;">Database.SaveResult[getErrors=(Database.Error[getFields=();getMessage=portal user already exists for contact;getStatusCode=</span></span></span></span></span></span><span style="font-size: 12pt; white-space: pre-wrap;"><span style="font-family: Arial,sans-serif;"><span style="color: #000000;"><strong><span style="font-style: normal;"><span style="text-decoration: none;">PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT</span></span></strong></span></span></span><span style="font-size: 12pt; white-space: pre-wrap;"><span style="font-family: Arial,sans-serif;"><span style="color: #000000;"><span style="font-weight: 400;"><span style="font-style: normal;"><span style="text-decoration: none;">;]);getId=null;isSuccess=false;]</span></span></span></span></span></span></p>
Is there a workaround for this issue?]]></description></item><item><title>Post chat survey form in enhanced BOT using MIAW</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Wed, 30 Aug 2023 08:47:02 +0000</pubDate><dc:creator>U Chauhan</dc:creator><guid isPermaLink="false">9065d0000007BZkAAM</guid><description><![CDATA[Can we show vf page or lwc component inside enhanced BOT as we need to show survey feedback form after chat ends in enhanced BOT.<br>For standard bot in chat button e can have post chat url but since enhanced bot does not connect with button so is there any work around so that we can get survey form insite enhanced bot]]></description></item><item><title>Can I use managed package inside my own managed or unmanaged package that i am creating ?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Wed, 23 Aug 2023 14:38:29 +0000</pubDate><dc:creator>kamil kamran</dc:creator><guid isPermaLink="false">9065d0000007BRRAA2</guid><description></description></item><item><title>Manually unlinking cross cloud trusts in SFCC and SF Core?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 07 Aug 2023 21:11:24 +0000</pubDate><dc:creator>Josh Michaud</dc:creator><guid isPermaLink="false">9065d0000007B72AAE</guid><description><![CDATA[<p>My company did a code refresh from production to all of our Sandbox environments. We are using Omnichannel Inventory, and we did not unlink our B2C/SFCC instance from the Core instance before doing the refresh.<br><br>I tried recreating the B2C Commerce Connection link for Omnichannel Inventory a few hours ago. There was an existing link, and I authorized the new link to replace the existing link. But both links appear in SFCC under the &quot;Administration &gt; Global Preferences &gt; Cross Cloud Trust&quot; page under the &quot;Peer to Peer&quot; tab.<br><br>I found this article (<a href="https://help.salesforce.com/s/articleView?id=000393018&amp;type=1" target="_blank">https://help.salesforce.com/s/articleView?id=000393018&amp;type=1</a>), saying that I could manually unlink them by doing the following:</p>

<p style="margin-left: 40px;">If you have refreshed your Omnichannel Inventory sandbox without disconnecting the B2C tenant, please clear the &#39;Trust Relationship&#39; information in B2C Commerce by following the instructions below:<br><br>1. Log in to Business Manager (SFCC).<br>2. Navigate to Administration &gt;&gt; Global Preferences &gt;&gt; Cross Cloud Trust.<br>3. Click on the Disconnect button.</p>

<p><br>But nobody has a &quot;Disconnect&quot; option on this page. I also can&#39;t remove the B2C Commerce Connection on my SF Core environment.<br><br>Is my only option to have Salesforce do it? I can&#39;t just manually disconnect these? It&#39;s a sandbox, and it&#39;s our dev team&#39;s first refresh. Did not think we would need SF&#39;s involvement.<br><br>Thanks.</p>]]></description></item><item><title>hi I am Implementing FSL for a client where there are different work departments, the client has different technicians for each department and work order will have multiple departments .How to build this type of setup using FSL objects?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Sat, 05 Aug 2023 15:27:56 +0000</pubDate><dc:creator>Rishi Kapoor</dc:creator><guid isPermaLink="false">9065d0000007B5zAAE</guid><description></description></item><item><title>opportunities on custom objects</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Tue, 01 Aug 2023 00:15:27 +0000</pubDate><dc:creator>Alex Husted</dc:creator><guid isPermaLink="false">9065d0000007AxqAAE</guid><description><![CDATA[So we have 2 Account objects. The standard one Account, and a custom one called Wholesale Account. (yeah, I know this is not really the best design but we are kinda stuck with it.)<br><br>We added Opportunity as a child of the custom object, but it still wants to always have an Opportunity connected to an Account. Is there some way to make an Opportunity that is attached to something other than a standard Account object?]]></description></item><item><title>Contact Duplication and Opportunity Sharing</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 31 Jul 2023 10:59:56 +0000</pubDate><dc:creator>Stefano Porcari</dc:creator><guid isPermaLink="false">9065d0000007AwnAAE</guid><description><![CDATA[<p>Hi,<br>I&#39;m having a big problem with the duplication of contacts and the possibility of sharing opportunities, let me explain:<br><br>Items used:<br>Accounts<br>Contact<br>Opportunities<br>Quotes<br><br>OWD :<br>Accounts &amp; Opportunities private<br>Contact controlled by parents<br><br>Contacts to Relate to Multiple Accounts enabled<br><br>Account &quot;A&quot; it&#39;s owned by the sales &quot;Jonh&quot; and it has 3 contacts related to that account</p>

<p>The sales &quot;Mike&quot; own another account(account &quot;B&quot;) that has a common contact between Account A &amp; B defined by external key.<br><br>The problem is that when the second sales create the same contact, we avoid to generate another contact record to avoid duplications and we create in the backend an accountContactRelations to handle the two different link to both account.</p>

<p>But the first Sales &quot;jonh&quot; will lost the sharing on the contact caused by the controlled by parent that will be changed with the second account &quot;B&quot;<br>So we tried to create an ContactShare record to allow both sales to have the visibility of the common contact but Salesforce triggher an errore caused by the OWD.</p>

<p>So we tried to remove the controlled by parent from the contact object but we got another excption that indirect relations need a contact that&#39;s not private.</p>

<p>we are stuck.... the only way to handle this sharing problem is to duplicate the contacts...<br><br>We can set the account OWD to public because they cointain just public information but the opportunity needs to be private.Making the account public is a great solution but we are facing problem to hide the opportunity to other sales(just the owner can see the opportunity)</p>

<p>Do anyone has the same problem? Could you please help me?<br><br> </p>]]></description></item><item><title>Need help with XLS (Not csv) file creation using apex programming/3rd part application</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 26 Jun 2023 16:38:45 +0000</pubDate><dc:creator>Megsy</dc:creator><guid isPermaLink="false">9065d000000XcZSAA0</guid><description><![CDATA[Hello Everyone!<br>Help!! I am looking for solution to a business requirement which we are not able to solve.<br>Requirement: Client sends an excel file with 3 types of data (Type A, Type B and Type c).<br>We upload that excel to salesforce related list (Its done). However, we need to split the file into 3 different excel files(One for each type) and attach to opportunity.<br><br>Solution 1: able to create csv files but the csv files are not user freidnly to read. All cells of same size and no color. difficult to read for the end user.<br>Solution 2: create excel files with cell size and color formated. The problem here is, when opening the file its showing an alert saying &quot;The file can be corrupted or unsafe&quot; becasue as you guys know, salesforce tried to convert the html version to excel while opening.<br><br>In both scenarios, we are at the deadlock. We also have an option for the Google clound functions to create the files for us. Is there a solution where we can get those files into the system in realtime? <br>Any type of solution is of great help. Be it a third part app or ecternal system or solution with in SF itself.<br>Thank you so much!!]]></description></item><item><title>How to control the chat transcript button in salesforce?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Sun, 18 Jun 2023 09:11:07 +0000</pubDate><dc:creator>Ragnar Lothbrok 7</dc:creator><guid isPermaLink="false">9065d000000XcMiAAK</guid><description><![CDATA[Hi there,<br><br> I ran into one problem, and it is related to the chat transcript. So whenever the customer selects to chat with a live agent, then the agent selects that request then it opens the conversation page. Under the same conversation page(window where the customer and agent do the chat) there 3 buttons that I can see, out of which i want to remove the 1st one you can see in the below image for the same. If anyone is aware of how to do so or remove these buttons, please guide me through this.<img alt="User-added image" src="/forums/servlet/rtaImage?eid=9065d000000XcMi&amp;feoid=Body&amp;refid=0EM5d000007b9ND" style="height: 198px; width: 500px;"></img>]]></description></item><item><title>Error while running a flow builder</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 12 Jun 2023 16:43:26 +0000</pubDate><dc:creator>Mohamed Bashir</dc:creator><guid isPermaLink="false">9062I000000BouDQAS</guid><description><![CDATA[Hello,<br><br>I have a Lead Gen process that is failing because it isn&#39;t bulkified, and need it bulkified.<br><br>I am getting an error (The flow failed to start because the provided values were not valid: You can&#39;t launch a record-triggered flow from within Flow Builder. To launch this flow, activate it and then create, delete, or update a record, depending on the trigger configuration.)<br><br><br> ]]></description></item><item><title>Deploying SFDX project with all it's component fails</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 05 Jun 2023 11:22:53 +0000</pubDate><dc:creator>Nedim</dc:creator><guid isPermaLink="false">9062I000000BoiHQAS</guid><description><![CDATA[<p>Hey,</p>

<p>So we are working on creating a CI pipeline in our org when developing new stuff. Problem is that whenever we create a Scratch Org that the pipeline is supposed to run against the Scratch Org is scratched as the name implies, fair enough we can get define the Scratch Org to contain what we need when creating it we are past that now, meaning we know now that we have to install all 3rd party packages and whatever we use manually by running <em>&quot;sfdx package install ...&quot; </em>Anyway once packages and so on are installed we want to do a <em>&quot;sfdx project deploy start --target-org test-somerandomid@example.com -d force-app&quot; </em>This is where we have the problem at hand right now.</p>

<p>So everytime we do this we are getting hundreds of errors like Custom Fields not existing Global Value Set not able to be resolved and so on. The only way to get rid of these errors are to deploy each Custom Field etc. individually so ex:</p>

<pre class="ckeditor_codeblock">
sfdx force source deploy -p force-app/main/default/objects/Lead/fields/Deleted__c.field-meta.xml --target-org test-somerandomid@example.com</pre>

<p>this deploy of the Custom Field removes all the errors related to that field in the deploy of <em>&quot;force-app&quot; </em>as the root of the deployment. but this means that we need to do this for hundreds of custom fields, global set etc. This is not optimal. How come that</p>

<pre class="ckeditor_codeblock">
deploy force-app</pre>
<br>does not see that all the custom stuff is contained within the deploy?]]></description></item><item><title>Refused to connect error on Visualforce page in the community  using I frame</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Sun, 04 Jun 2023 07:24:35 +0000</pubDate><dc:creator>Shatrughna Salunke 23</dc:creator><guid isPermaLink="false">9062I000000BohTQAS</guid><description><![CDATA[Hi ,<br><br>I&#39;m having problems with the partner community for an Iframe Visualforce page that claims &quot;mydomain-mydomain--TL252013.sandbox.my.salesforce.com refused to connect.&quot;<br><br>Now the true problem is that when I login from contact logged in as a partner user, I don&#39;t have any problems, but when I try to login using my site URL with user name and password, I have problems. <br><br><br>My site URL  is  :  &quot;https://el-testName--testName.sandbox.my.site.com/sffpartnerportal/s/&quot;<br><br>My Visualforce page code  : (Note : I am calling Ifarme for my LWC  with VF page below link)<br><br>&lt;iframe sandbox=&quot;allow-scripts allow-same-origin&quot; allowfullscreen=&quot;true&quot; scrolling=&quot;no&quot; <br>        src=&quot;https://el-testName--testName.sandbox.my.site.com.vf.force.com/apex/PieChartVFpage&quot;  <br>        class=&quot;slds-iframe_full-height slds-iframe_full-width custom-slds &quot;&gt;&lt;/iframe&gt;<br><br>I configured the following settings but no luck .<br><br>1. CSP configuration<br>2. Remote site configuration<br>3.Activated clickjack protection<br>4. Whitelist the domain<br>5. Apex class and VF page access for community users.]]></description></item><item><title>Which will give better performance? Calling APIs in parallel from LWC and all in single auraEnabled method?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Fri, 26 May 2023 23:46:31 +0000</pubDate><dc:creator>Mark SFDC Developer</dc:creator><guid isPermaLink="false">9062I000000BoXdQAK</guid><description><![CDATA[I have to do 4 external REST APIs calls to get different data in LWC.<br>These API calls are not dependent of each other.<br><br>Is it better to have 4 auraEnabled methods and call them from LWC as LWC will bundle them and all 4 calls will happen parallelly so quicker response OR calling them all synchronously one by one in one auraEnabled method will give overall better performance?]]></description></item><item><title>Does the External Apps Starter license support manual sharing?</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Mon, 15 May 2023 17:21:31 +0000</pubDate><dc:creator>Jürg Steudler 20</dc:creator><guid isPermaLink="false">9062I000000BoDJQA0</guid><description><![CDATA[We want to use External Apps Starter license on an experience cloud portal. We have a use case where we share records own by the portal user to each other. Therefore, we want to use manual sharing. Does anyone have experience if this is supported by this license type? And if not, are there any other alternatives for sharing records to specific portal user?]]></description></item><item><title>Account Skew in Service and Experience Implementation</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Wed, 26 Apr 2023 00:29:16 +0000</pubDate><dc:creator>Gabriel Argenal</dc:creator><guid isPermaLink="false">9062I000000DPVcQAO</guid><description><![CDATA[Hi, I&#39;m relatively new to Experience Cloud. If I anticipate a very large number of portal customers (potentially millions of contacts) will need to get created eventually when users register, what is the best way to avoid account skew? If I configure the experience cloud site in such a way that contacts get created under 1 bucket account, then we will for sure have skew problems right? So how do people typically sol\ve for this? Do they write some apex in the registration handler to create new bucket accounts? or do they do this through batch apex? If anyone can share some insight or post a blog article that would be great. ]]></description></item><item><title>commerce cloudd</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Sun, 23 Apr 2023 06:45:19 +0000</pubDate><dc:creator>Kishore Agarwal</dc:creator><guid isPermaLink="false">9062I000000DPQcQAO</guid><description><![CDATA[How can I enable commerce cloud in my org.  <br><a href="https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp" target="_blank">https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp</a><br><br><a href="https://trailhead.salesforce.com/content/learn/trails/develop-for-commerce-cloud" target="_blank">https://trailhead.salesforce.com/content/learn/trails/develop-for-commerce-cloud</a><br><br>I found these documentation, I am not sure how can I get commerce org for learning  ]]></description></item><item><title>Package version creation failed  Invalid type: EntitySubscription</title><link>https://developer.salesforce.com</link><comments>https://developer.salesforce.com</comments><pubDate>Fri, 21 Apr 2023 13:15:28 +0000</pubDate><dc:creator>Saurabh Pareek 9</dc:creator><guid isPermaLink="false">9062I000000DPPKQA4</guid><description><![CDATA[<p>I am getting the below error when I am trying to create a patch version. </p>

<p><strong><em>Package version creation failed with an unknown error.  Invalid type: EntitySubscription.</em></strong></p>

<p>This Sobject is available in the previous release and the package creation worked fine. But during patch version creation it fails.</p>

<p>I am using the below command for package creation</p>

<p>sfdx force:package:beta:version:create -d force-app/main --wait 60 -x -c -f config/project-scratch-def.json</p>

<p> </p>

<p>project-scratch-def.json</p>

<p> </p>

<p>{<br>  &quot;orgName&quot;: &quot;Abcd&quot;,<br>  &quot;edition&quot;: &quot;Partner Developer&quot;,<br>  &quot;language&quot;: &quot;en_US&quot;,<br>  &quot;hasSampleData&quot;: &quot;true&quot;,<br>  &quot;features&quot;: [<br>    &quot;DebugApex&quot;,<br>    &quot;StreamingAPI&quot;,<br>    &quot;AnalyticsAdminPerms&quot;,<br>    &quot;EventLogFile&quot;,<br>    &quot;PlatformCache&quot;,<br>    &quot;LightningSalesConsole&quot;<br>  ],<br>  &quot;settings&quot;: {<br>    &quot;chatterSettings&quot;: {<br>      &quot;enableChatter&quot;: true<br>    },<br>    &quot;lightningExperienceSettings&quot;: {<br>      &quot;enableS1DesktopEnabled&quot;: true<br>    },<br>    &quot;emailAdministrationSettings&quot;: {<br>      &quot;enableEnhancedEmailEnabled&quot;: true<br>    }<br>  }<br>}<br> </p>

<p> </p>

<p> </p>]]></description></item></channel></rss>