All Questions

Filter by
Sorted by
Tagged with
1
vote
3answers
110 views

How to get custom object in VS Code

I would like to setup a dev environment using Visual Studio Code. I'm able to do that with the help of Salesforce Extension Pack. I want to fetch all custom object in VS Code. How Can I achieve this?
0
votes
0answers
11 views

Multi-Select Picklist Alternative

I am looking into the best alternative solution for data capturing and reporting. I am trying to avoid multi-select picklists. I want to capture at the Opportunity level: Field1__c (that contains): A,...
0
votes
0answers
16 views

How do I read the csv file by giving a file path and file name? [closed]

I want to read the csv file in a certain file directory with apex code by giving the file path. How can I do this?
0
votes
1answer
26 views

SQL query not updating the target data extension

I am trying to run a sql query in Automation studio MC for syncing my Sync DE( Contact_salesforce) to a local DE. I want to send email to tht=at local DE in the next automation. But I am facing issue ...
0
votes
0answers
20 views

I need to view the records saved on db of candidates and i need to update records using Visualforce

<apex:page standardController="Candidate__c" extensions="OverrideButton,AttachCandidatecontroller"> <apex:pageBlock > <apex:form > <apex:...
0
votes
1answer
95 views

lwc superbadge step 10 issue

My code is : import fivestar from '@salesforce/resourceUrl/fivestar'; import { loadScript, loadStyle } from 'lightning/platformResourceLoader'; import { ShowToastEvent } from 'lightning/...
0
votes
2answers
38 views

Display fields only if the values are not null or blank for a dynamic SOQL Query

I stored all the editable fields in a variable and calling the variable in a dynamic SOQL query. My Query: String fieldApiList = String.join(fieldsApiNames, ','); query = 'SELECT Name,'+ ...
0
votes
1answer
15 views

How can I Concatenate three check fields labels with values into a custom long text area Salesforce field?

I am stuck trying to simply concatenate Checkbox Values with Label onto my Long text are field. mycheckbox1__c (checkbox field) -- example: Yes mycheckbox2__c (checkbox field) -- example: Yes ...
0
votes
0answers
25 views

How to display a modal popup when a button clicked inside a lightning data-table [closed]

Below I have attached an image and like in the image I want to open a model when the reply button is clicked. How can I achieve this in the Lightning web component? Please help me!!
0
votes
1answer
24 views

Is it possible to update both a record and its parent from an external system using the Rest API?

On Salesforce, we have our Opportunity sObject contains a lookup to a custom SObject BankDetails__c. We would like to create an integration from the Microsoft Azure platform which would update both ...
0
votes
1answer
13 views

List all existing Flows as options in a Custom Object field

I am working on a project and I want to create a Custom Object that has as a field a lookup for flows. I would like to know if there is some kind of way to retrieve all existing flows in one org and ...
0
votes
0answers
9 views

Customer community License user as Approval process Initial submitter

I need your support to resolve one business use case. This client uses the service could and case the record is triggered for approval from the service console. The record approval or rejection is ...
0
votes
1answer
18 views

How to renew expired salesforce token for making REST queries

Last night I fetched some data using the below GET request const result = await axios({ method: 'get', url: `https://tahina-test2-dev-ed.my.salesforce.com/services/data/v48.0/...
0
votes
0answers
11 views

Update a data extension record with a smart capture

I have a DE with the following attributes: FirstName, LastName, EmailAddress and AcceptanceFlag, that is a checkbox. I send an email to all the records in the DE that contains a link to a landing page....
0
votes
0answers
18 views

Created User unable to update opportunity stage due to error: insufficient_access_on_cross_reference_entity

I am writing a test class in which I have created user with profile =finance and role =finance.I used System.runAs(createdUser) to update opportunity stage.But getting following error ...... ...
0
votes
0answers
11 views

Salesforce Commerce cloud B2C Import catalog issue

I am facing issue while importing product csv sheet through catalog import in merchant tools Products are being added but with only few field ISSUE: WARN Import CSV File validation warning. Attribute ...
0
votes
2answers
37 views

Apex class call from LWC

When you want to call Apex class in visualforce page we have to declare our apex class in the following format. <apex:page Controller="ClassName"> Whenever we call a visualforce page ...
1
vote
1answer
36 views

How to Select the value of the input box in Salesforce Lightning Web Component (LWC)

I have shared code in HTML. I want the feature in LWC. Please run the code and check. <!DOCTYPE html> <html> <body> <p>Click the input field to select the contents of the ...
0
votes
1answer
21 views

Check if ContentDocumentLink is link to note

How to check if ContentDocumentLink is link to Note in Apex trigger?
0
votes
0answers
18 views

Marketing Cloud Attribute Value

Having trouble understanding AttributeValue and have few questions: Is this like system attributes? Different to the Attribute and Attribute Groups you set in Contact Builder? i.e. Adding new ...
1
vote
1answer
22 views

Wrapping column text in an apex panel grid so that the table width remains fixed

<apex:panelGrid columns="4" width="100%" columnClasses="random" > <apex:repeat value="{!ProcessCellValuesWithoutName}" var="strCellValue"> ...
1
vote
3answers
145 views

Is it really needed to check whether a list has a record in a test class?

I have a scenario like this, I have created Opportunities in a Test setup and tried to access it in a test method to clone that record like, testSetup { // Create a list of Opportunity Records. ...
0
votes
2answers
50 views

disable the cursor pointer on lightning-output-field in lwc

i am trying to disable cursor on lightning-output-field phone field but no luck. my styles are not rendering in UI. is it because am i applying styles for child elements? lwc.html <template> &...
0
votes
0answers
5 views

How to bind new list view creation action to a button?

When we use lightning:listView, it does not allow us to create new list view from the gear icon since we have to specify the name of the list view inside. Is it possible to add this new list view ...
0
votes
0answers
14 views

How to add style to standard tab of any salesforce object in lightning experience?

I want to change the standard object tab CSS. Is it possible? For example, when I go to Account object standard tab I see a list of records, now I want to change the font size or the color of the rows ...
0
votes
1answer
22 views

How to write Get query to get the correct Pricebookentry objects

Im rather new to SG and is trying to fetch some data. What I want to do in a nutshell is fetch all the Pricebookentry that match a certain Pricebook2Id. I tried the below query for this on the ...
0
votes
1answer
21 views

Running into below at informatica error when running informatica jobs. AT salesforce end login history shows success [closed]

Error - Severity Timestamp Node Thread Message Code Message ERROR 7/1/2020 7:20:23 PM node02_xxxxx READER_2_1_1 JAVA PLUGIN_1762 [ERROR] com.informatica.powercenter.sdk.SDKException:...
1
vote
1answer
13 views

How to identify what process updated all Profile records

All of my Profiles in Production show they were lastModified by a particular User, but I checked with him. He definitely did not do this. We have Managed Packages running. Could they have done this? ...
0
votes
2answers
99 views

LWC superbadge step 11 handleSuccess

I'm getting an error about handleSuccess: We can’t find the handleSuccess function implemented correctly. Make sure the success toast is being dispatched with the correct attributes, the custom event '...
1
vote
1answer
38 views

Calling REST APIs from Lightning

We are currently working on an app where we are calling the Tooling API from our Lightning component Since UserInfo.getSessionId() is not valid in Lightning context, to make the call we are using VF ...
0
votes
2answers
33 views

LWC JavaScript: Can't Add a Property to Objects While Looping through an Array of Those Objects

I'm trying to loop through an array of objects and add a property to each that meets certain criteria. Here's the snippet: onRecordEditFormLoad(event) { let tempFieldWrapperArray = this....
0
votes
1answer
33 views

LWC @Wire questoin

I have an @wire service that pulls back from records using apex. I thought that if there were no records returned than the if(result.data) would not run. However, when I open my lwc and there are no ...
0
votes
0answers
24 views

Integration issue

I am using beeceptor to learn the integration. The scenario is here. I am creating a case and on this case, account id and description field should auto populate when I run the class via anonymous ...
1
vote
1answer
50 views

How to deploy Opportunity Stage picklist using Apache ANT Tool?

How can I deploy the Opportunity Stage picklist of my Sandbox to production? I've retrieved it with ANT but can't deploy it... I've retrieved from the sandbox, changed some text in the description and ...
0
votes
0answers
29 views

Trigger Standard Add Products from LWC/Aura

On an Quote, you have the ability to Add Products to it in an Quote Line Item. This opens a search modal that pulls the Products in the Pricebook that you can select, then sends you to another screen ...
0
votes
0answers
19 views

Community landing page [closed]

I have a requirement when a community user logs in to the community, i have to check whether the user is logged in via desktop or mobile, and depending upon that i have to navigate the user to ...
0
votes
0answers
18 views

Case assigment based upon chat criteria [closed]

How can I assign cases based upon the same criteria mentioned on chat object?
1
vote
1answer
20 views

i ma trying to insert new record but it gives error as Line: 7, Column: 1 System.StringException: Invalid id: objcus.id

Apex_Customer__c objcus=new Apex_Customer__c(); objcus.Name='Test ABC'; insert objcus;//it will creat new customer records Apex_Invoice__c objnewinvoice=new Apex_Invoice__c(); objnewinvoice....
1
vote
1answer
49 views

Accessing the current record from the HTML table in JS file using Lightning Web Component

I am displaying the records from the custom object test__c using the HTML table in LWC. I am using this below tag to iterate over the list of records. <tbody> <template for:each={testList} ...
0
votes
1answer
19 views

Event not handled

I tried to create 2 component event just to see the difference but just the same seems like doesn't work for me. No error but was not handled on child component handleRowAction : function(component, ...
0
votes
1answer
25 views

Pros and Cons of Sandbox delete vs refresh

Our partial sandbox is out of date, and before undertaking a new project, our developers suggest deleting the sandbox completely and create from scratch instead of refreshing and renaming it. Can ...
2
votes
0answers
76 views

How can I detect in Apex code that a user has or doesn't have access to the custom setting?

I have created a new Custom Setting Test__c and enabled feature Restrict access to custom settings in Schema Settings. Now I expect that a code in user context (Anonymous Execution Window) would ...
0
votes
0answers
19 views

Salesforce IP Addresses and Domains to Allow [closed]

How to set Salesforce Provided IP Address in Salesforce
3
votes
1answer
63 views

deseo poder recuperar y actualizar los campos de _EnterpriseAttributes de un suscriptor en AMPSCRIPT, ya que no conozco mas lenguajes

(Title Translation via Google Translate: I want to be able to retrieve and update _EnterpriseAttributes fields from a subscriber) deseo poder recuperar y actualizar los campos de _EnterpriseAttributes ...
0
votes
0answers
20 views

How to Upgrade TLS to the last version on Marketing Cloud?

I came from this thread TLS Upgrade on Marketing Cloud where I can see information about the impact of the deprecation of TLS 1.0 but I can't see concise instructions to upgrade TLS on demand. How ...
0
votes
0answers
16 views

Accessing static resource from ZIP file in Aura component

I Uploaded a JQ_UI.zip file. Structure shown below: JQ_UI.zip - jquery-ui.min.js -jquery.ui.js -jquery-ui.min.css Aura component: <ltng:require scripts="{!join(',', $...
0
votes
1answer
19 views

"Session expired or invalid' when I send.a get request for data

I am a front-end dev trying to hook a salesforce api to one of my apps. For practice (yesterday) I created a new connected app and used the below to fetch some data and it worked curl https://tahina-...
-1
votes
0answers
12 views

Has anyone tried using Riva Calendar Events in conjunction with Lightning Sync for Outlook or know of any compatibility issues in doing so? [closed]

A company is planning to purchase Riva Calendar Events to sync with their Outlook Calendars while using Lightning Sync for Outlook for contacts - has anyone tried this before or have any thoughts?
0
votes
1answer
28 views

best practice: custom fields or one-to-one?

If you have custom data that is one-to-one with a standard record, what are some example circumstances where you should or should not: create custom fields in the standard object? create a custom ...
1
vote
2answers
61 views

Trigger How to stop Database.executeBatch cannot be callled from a future method error

I'm calling a trigger after insert and after update, which is calling an Apex Class which hits an endpoint. The triggers are working as expected and firing to an endpoint when a checkbox is selected ...

15 30 50 per page