321 questions
0
votes
0
answers
76
views
FilePond Image Preview Not Working & MIME Type Error in LWC and LWR Site
I am currently implementing an image upload functionality in Lightning Web Components (LWC) using FilePond on an LWR Experience Cloud Site (Salesforce).
I have developed a LWC that uses FilePond for ...
1
vote
0
answers
20
views
Standard Activity Fields like "Assigned" and "Start" are not available when I am creating a custom report type with Activities Object in Salesforce
I need to create a custom report type that includes three objects: Account, Activity, and Visit. I have successfully created the report type, but I've noticed that certain standard fields, such as &...
-3
votes
1
answer
93
views
Trying to connect to salesforce from Postman Salesforce but failing with authentication failure
Here is my postman body.
Body:
client_id=OCgIhL2xtHUl&client_secret=JSJHDJJ6879898&redirect_uri:https://oauth.pstmn.io/v1/callback&password=REALOwK9iasjT7NcVSAy&username=test-70@...
2
votes
1
answer
134
views
IFrame integration within salesforce
I'm developing an CPQ system and I want to integrate it as an iframe within salesforce or any other CRMs.
There are few problems,
A Session needs to be maintained for authentication and authorization
...
0
votes
1
answer
72
views
Script throws Exception for Task object in Apex class
I have Task object where we have stored data, I am trying to retrieve data using SOQL query, in order to pass PMD analysis I have access check like this before SOQL query
if (!Schema.sObjectType.Task....
0
votes
0
answers
66
views
Salesforce community page, Embedded chat deployment
I have a Salesforce, Agentforce service agent. I am deploying the agent chatbot of community page using embedded service deployment.
I am getting this error:
Refused to frame 'https://si173372*******....
0
votes
0
answers
159
views
How to handle uncaught promise errors in LWC embedded inside an Aura/Lightning application?
I'm embedding a Lightning Web Component (LWC) inside an Aura/Lightning application. When I use the LWC on its own (outside of Aura app), any Promise rejections or uncaught exceptions are automatically ...
0
votes
0
answers
81
views
Salesforce SAML Auth request ID validation against InResponseTo in SAML Response
I am working on a SAML Login pattern for a Salesforce instance. The overarching flow is
User attempts to access a Salesforce resource that requires the user to be logged in. A custom AuthnRequest is ...
0
votes
0
answers
263
views
Agentforce Chat Not Available on Record Page - "Something went wrong. Refresh and try again"
I am experiencing an issue where the Agentforce chat is not available on the record page in Salesforce. Instead of loading properly, I am getting an error message saying: "Something went wrong. ...
0
votes
0
answers
66
views
Azure B2C Magic Link for seamless login to the Salesforce Community site
https://github.com/azure-ad-b2c/samples/blob/master/policies/sign-in-with-magic-link/README.md
Using the above link we implemented magic link authentication for users to login to one of our website ...
0
votes
0
answers
111
views
LWR Experience site using LWC Components
I'm starting to create a full website using only Lightning Web Components (LWC), which will be deployed on an Experience Site (LWR). I've split the components into distinct parts, such as the homepage,...
0
votes
1
answer
790
views
eval("$A.get('e.force:refreshView').fire();") is failing in testing sandbox with error [$A is not defined], but works fine in dev sandbox
So we have a lightning button which calls a LWC component. This LWC component opens up in a popup window with Save and Cancel button.
Now on the click of Cancel button the below LWC js code is called:
...
0
votes
1
answer
192
views
Authenticate Salesforce community user using rest api in connected App
I am building a custom login page in react native mobile app to allow user to login into salesforce exp site. Upon form submission I want salesforce community user (not an individual user) to ...
0
votes
0
answers
102
views
Salesforce Best Practice for handling same members across multiple experience cloud sites
I have a usecase where we have 2 experience cloud sites: 1 for customer portal for lending needs and another one used for mobile publisher one. Now I want to maintain uniqueness of the site members(...
1
vote
0
answers
376
views
Authentication Issue with Salesforce gRPC Pub/Sub API for GetSchema and GetTopic Methods
I'm trying to interact with the Salesforce gRPC Pub/Sub API, specifically the GetSchema and GetTopic methods, on a sandbox instance. However, I'm encountering the following error:
An authentication ...
-1
votes
1
answer
184
views
Query Timeout error for DE with 600M records
We have a Backup log DE with Data spreading for 4yrs with around 600M records.
When i trying to Query a DE with filters like date ,status..the query fails with the timeout error. I tried to use the ...
0
votes
1
answer
53
views
How can I programmatically toggle checkboxes in Salesforce User Interface settings?
I'm seeking guidance on adjusting settings in Salesforce under Setup > User Interface. Specifically, I need to programmatically toggle checkboxes based on user requirements. Could anyone advise me ...
0
votes
1
answer
227
views
ProfileId not getting updated through Apex, Record-Triggered-Flow
I am trying to provide an option to community partner user to switch between different pages using LWC component and basis on their selection , I need to update the profile of the user.(Note-I have ...
1
vote
0
answers
563
views
Why is my Journey Builder 'Wait by Attribute' step sending contacts onwards before the attribute date?
I have a journey in Marketing Cloud whose basic function is to pick up subscribers who click a link in an email, hold them until a date defined by their entry source Data Extension, add a wait ...
2
votes
2
answers
227
views
SalesForce Messages for in-app [iOS swift SDK] how can I set PreChatFields and HiddenPreChatFields? v1.5.2
OpenChat
let preChatValue = "myValue"
let preChatKey = "Somename"
let config = UIConfiguration(serviceAPI: serviceAPIURL,
...
0
votes
1
answer
308
views
SOQL query in salesforce and the polymorphic relations
So I have a scenario where I have to Query a Promotion (based on ProductId, and/or BuyerGroupId) and also delete its related PromotionTier, PromotionTarget, PromotionQualifier etc...
So I want to ...
0
votes
1
answer
212
views
Generating barcode image in salesforce apex email with a generated sting in flows
I have a string that is generated in the flows, for example, the generated sting is '998798474610237811'. I would like to transfer it to a barcode with ext39b method and send it through a email with ...
1
vote
0
answers
369
views
Customize a <select> tag in LWC
I want to customize the tag of the LWC. I have made the background transparent. My background image is dark. So, I want my text to appear as white so that it is visible. Also, while selecting the ...
0
votes
1
answer
2k
views
How to fetch salesforce case details using CaseNumber via API call?
I am trying to fetch salesforce case details using CaseNumber which is currently throwing below error:
[ { "errorCode": "NOT_FOUND", "message": "The requested ...
0
votes
2
answers
680
views
How to update related record field on delete of record?
I have 2 Objects based on Lookup relationship i.e 1) Assign 2) Inventory.
Relation is 1 inventory can be assigned to many (1 to many).
Inventory has picklist values called "status" contains ...
0
votes
1
answer
706
views
How to get a refresh token after Expiring current access token in salesforce React-native?
import { net, oauth } from "react-native-force";
oauth. getAuthCredentials(
(data) => {
})
This is how I call to get the credentials
Need to automatically fetch the refresh token when the ...
1
vote
2
answers
8k
views
Error "was named in package.xml, but was not found in zipped directory" on salesforce deployment
anyone here experienced facing this following issue on salesforce deployment process:
An object '....' of type '.....' was named in package.xml, but was not found in zipped directory
Already looking ...
0
votes
1
answer
314
views
Bulk Update on Account Object Not Working in Salesforce Apex
I am new to Salesforce Apex developement, and am trying to update certain fields (e.g. Organization name, 'EIN' value, issue areas and target population) on the account object based on values brought ...
0
votes
1
answer
2k
views
How to find apex class included in scheduled apex job
how to find the apex class in this scheduled apex record.its not showing the apex class , then I try this in apex jobs section but it's also not showing this job
Please give me solution for that . ...
0
votes
1
answer
82
views
Is it possible to translate CMS Images content type?
I know how to translate documents CMS content using the standard translation feature on CMS. But how it works with the images?
I have custom content type and its content contains text and image field ...
0
votes
1
answer
29
views
Salesforce / Sites / Automation, where is it?
I'm working inside a Salesforce instance and I have a domain + site setup with registration and login (within the same Salesforce instance).
After someone registers an account on the Salesforce site, ...
1
vote
1
answer
1k
views
Reload Flexcard with data change in fly out Omniscript
I am using Omnistudio. The idea is to add education records
Here is the architecture am following:
I have parent omniscript with a embedded LWCflex card which has “Add Education” button which opens up ...
0
votes
2
answers
982
views
Salesforce Community: Using CSS to hide fields on Articles
In the Article Content, Salesforce displays a few things that make the article heavy and not user-friendly. Only using CSS can you hide fields you don't want displayed.
In my case I'm looking to ...
0
votes
0
answers
98
views
Integrate Apache Unomi with Salesforce, bring the Salesforce connector on unomi karaf shell to active state
We are working on integrating Apache Unomi with Salesforce.
We have configured Apache Unomi on Azure Linux VM instance as container.
`
CONTAINER ID IMAGE ...
0
votes
1
answer
720
views
How to translate salesforce site without using custom labels?
I need to translate a salesforce site into French language which is currently in English. I tried to use custom labels it worked but there is limit for custom labels. That's why I want to implement a ...
0
votes
1
answer
159
views
How handle metadata api changes in Apex? (Ex: insert/update ApexClass)
I trying to find a solution how to handle any metadata changes in Salesforce using Apex. At the moment my main goal handle changes in any ApexClass record. I need to have the ability to understand ...
0
votes
1
answer
648
views
Validation Formula throws an Invalid Syntax Error - Salesforce
I am trying to create a validation formula in order to perform the below logic.
I_Priority__c is a Picklist
C_Start_Date__c is a Date Field
C_End_Date__c is a Date Field
These field values cannot be ...
0
votes
1
answer
236
views
Apex.db file gets added automatically
While pushing a class to bitbucket using Sourcetree . I got this file apex.db added automatically alone with the class. Am not able to discard or Remove it.
I tried clicking on discard and Remove. ...
0
votes
1
answer
33
views
Getting compilation error in below Soql while checking is won = tru;e
List OppListWithClosewon = [SELECT id,IsWon,Name,Accountid FROM
Opportunity WHERE Id IN :opplist && Iswon = True];
i am not able find what is the error im making here not able filter this ...
0
votes
0
answers
499
views
how to change external partner user role in salesforce?
Mistakenly for the partner user wrong role has been assigned
but I tried some steps as follows:
1)Log in to Salesforce
2)Navigate to User Managemen
3)Locate the User
4)Edit User
5)Change the User's ...
0
votes
1
answer
355
views
Wrapped java.lang.IllegalArgumentException: Service
I'm working with social login on Salesforce Commerce Cloud (SFRA). When I click on the Login button, I get this error in my login controller:
For technical reasons, your request could not be handled ...
0
votes
1
answer
99
views
Push comments from JIRA to Salesforce using APIs
My Project is looking for a way to push the comments from JIRA to Salesforce without using a plugin/third party tools due to bureaucratic overhead. I have searched a lot and every one of them suggests ...
0
votes
2
answers
3k
views
Merge fields do not appear when sending an email with apex using a template
I am sending a template email to some users, the template contains a merge field {{!Opportunity.custom__c}}. When sending it, the value of the field does not appear.
Messaging.SingleEmailMessage email ...
0
votes
1
answer
303
views
amazon lex chatbot loading time out in experience cloud (salesforce)
I'm trying implement Amazon lex chatbot in company public website and in experience cloud.
its working fine in company public website.
but in Salesforce Community cloud it giving below error
Error: ...
0
votes
1
answer
3k
views
Salesforce lightning combobox hide label with css
I am editing record detail page inside salesforce community web site. When editing a record I don't want customer to change its status which is a combobox. I have hidden the combobox by adding css
....
0
votes
1
answer
320
views
Service Territory object access to Partner User
I have the following scenario:
My user has the Partner Community license and the profile is a custom one , called Agent
When I want to debug a flow as my partener user it says that it doesn't have ...
0
votes
1
answer
253
views
Salesforce product image in listview & detail in Salesforce commerce
As of now i am fetching product list and product detail using on Postman using GET method.
Product Detail using below GET request.
{{_endpoint}}/services/data/v{{version}}/sobjects/Product2/...
0
votes
1
answer
3k
views
Grant type not supported error in Salesforce
I am using Sales Force Oauth API. I am using PHP and Curl for API Integration. When I hit API using Post Method, I am getting this error message unsupported grant type.
When I hit the same API using ...
0
votes
1
answer
1k
views
How to perform actions based on user logins in Salesforce without a Login Flow?
I need to perform certain actions or notifications whenever a user logs into Salesforce. However, it seems that creating a trigger directly on the LoginEvent object is not possible in Salesforce.
I ...
1
vote
0
answers
127
views
Connect Expo React Native App to Salesforce Community
I am trying to login into a salesforce community from an Expo React Native Project I have created. Does anyone have any examples of how I could go about logging into a Salesforce Community via custom ...