All Questions

0
votes
0answers
2 views

How to Print attachment on a Salesforce site?

I have a Salesforce.com site where there is a button to open a div containing a iframe for a attachment. I'm able to show the attachment but not able to print the attachment using a custon button. We ...
0
votes
0answers
4 views

Create a Community User & Contact, then assign to an existing Account

I am a little bit new to salesforce & APEX AND need help with the following, I want to create bulk community users & then assign them to existing accounts through APEX code/classes (for ...
0
votes
0answers
5 views

Is it possible to compare multiple values in AMP Script?

I'm learning AMP Script and I need to compare a variable with different countries and I'm wondering if, as dynamic block in Marketing Cloud, is it possible to compare a variable with different values. ...
0
votes
0answers
18 views

Is there a way to make the static recource name dynamic

I want to have a field in which I save the static resource name and dynamically show this in a visualforce page see my example if this is possible: <apex:variable var="Logo" value="{!Account....
1
vote
0answers
15 views

Lightning Web Component - Sort table columns

I'm trying to implement the sorting functionality on a lightning datatable in a lwc. The table display a list of Opportunity. But my problem is when I click on a column for sorting data, I am getting ...
0
votes
0answers
8 views

Is it possible to check if file exists in ftp before attaching it to email?

I'm trying to attach a file from ftp directory to the email by using ampscript function AttachFile. Everything works fine as long as the file exists in ftp directory. If it doesn't exist the email is ...
0
votes
0answers
4 views

How to extract 'Connect to Data'(Analytics) from one salesforce org and deploy into another salesforce org

This question is regarding Einstein Analytics. I created a 'Connect to Data' and a Data Recipe in one salesforce org. This steps created the dataset in that org. Then, I extracted the Data Recipe from ...
0
votes
0answers
9 views

Contacts with multiple email addresses tied to single ID - SQL Join

We have 2 data extensions which we would like to join. The first called "MasterContacts" has contact information, including multiple email addresses tied to one FederationID, which is present in the ...
0
votes
1answer
20 views

How to retrieve Parent's Id of a triggered child record, inside the trigger

Certification__c(Parent object) --> Exam__c(Child object) Trigger triggers when Child is updated. trigger certificationToFailedNew on Exam__c (after update) { //List out all the exams associated ...
0
votes
1answer
12 views

What is the object that holds Email Alerts?

We changed company name. I want to update the company-wide email address. Even in Dataloader it does not allow an update because the email is used in email alerts. I want to update the From email ...
1
vote
0answers
6 views

Marketing Cloud - email predictive content link broken after clicking multiple times

we implemented an abandoned cart journey builder which triggers an email. It contains a predictive content which recommends 4 products. Each product links the relative web page. The problem is ...
0
votes
0answers
12 views

Getting the highest Parent Account in Salesforce Hierarchy via SOQL/APEX

I am trying to get the highest level of parent account in an Account Hierarchy in Salesforce via Apex and SOQL. I want to create and MAP<Id, Set<Account>> hierarchy in my Apex class to ...
0
votes
1answer
14 views

Custom error messages on standard salesforce edit view from other object trigger

When I insert a Case I have a trigger that automatically inserts an opportunity among other things to that Case. When something fails due to an expected error I want to be able to customize the error ...
0
votes
0answers
8 views

user merge fields doesn't replace by user record ID

I am trying to send email through email template to user but It is always replacing the user merge fields by org admin's user name instead of targetobjectID user. Org admin : luke wright Email ...
0
votes
0answers
9 views

sforce is not defined in UAT, but in sandbox yes

I'm having this problem, and I've tried all the solutions that can be found in this world to resolve; I'm working with the opencti APIs, in an aura component, in the sandbox the component runs fine (...
0
votes
0answers
5 views

Using Specific filters for a lens in dashboard

I have a dashboard with few lenses in it. Among these lenses, there are couple of lenses that should change only when few filters are applied from all the filters. They should not respond to other ...
0
votes
1answer
16 views

How to insert order and orderitems in single rest call in salesforce

How to insert order and orderitems in single rest call in salesforce? Add an Order to an Existing Account https://developer.salesforce.com/docs/atlas.en-us.api_placeorder.meta/api_placeorder/...
-1
votes
1answer
23 views

I want to assign owners on the basis of city,state,area

i have a custom metadata object which has fields same as account object.the fields are city,state,area,owner..when i create account,the account owner of the account should selected on the basis of ...
-1
votes
0answers
13 views

Visualforce page Alert is not popping up

We have created a visualforce page for case creation from Community and using it at 'Contact Support Form' of community. When user enters values in all the fields and click submit button, it should ...
0
votes
0answers
7 views

Password lost from named credential in unlocked package

I have created an unlocked package. The unlocked package contains named credential. The unlock package process creation when failed when there was no in the file. So, I had to add actualPassword in ...
0
votes
0answers
9 views

visualforce form input text field not allligning properly

I have small help, i am designing visualforce page for displaying a web to case form, but when i click the preview button, the input fields are not showing properly, i even tried the & ...
1
vote
1answer
22 views

Lightning Path Style Issue in Lightnign Web Component

I am trying to create a lightning path in LWC, for which I used two components with SLDS Path. But the view is not as expected to Chevron. Parent Component: customPathLwc <template> <...
0
votes
1answer
11 views

Render if variable contains text value in visualforce

I am trying to use render if condition on a viasualforce based on a value containing a string but this seems not to work. What am I missing? See: <apex:pageBlock title="Manuals"> ...
1
vote
1answer
19 views

Can I use $Label.LightningControl in my components?

While reading documentation for the lightning:input aura component, I noticed that some attributes default to $Label.LightningControl.activeCapitalized or $Label.LightningControl.inactiveCapitalized. ...
0
votes
0answers
11 views

Does exist an expression lightning component and/or expression lightning web component equivalent to SLDS expression?

In the SLDS documentation, I've found a whole page about expressions, how to use them and how to make them similar to the ones implemented in Salesforce UI. Does exist something similar as a ...
0
votes
3answers
21 views

Error Error: Compile Error: Unexpected token 'lacc'. at line 5 column 4

public with sharing class Myfirstvfclass { public list<Account> lacc { get; set; } public Myfirstvfclass{ lacc=new list<Account> ([select id from Account]); } }
2
votes
1answer
25 views

Testing BatchApexErrorEvent trigger

I have a batch class which implements the Database.RaisesPlatformEvents interface. This interface has recently been introduced and helps log unexpected exceptions: https://developer.salesforce.com/...
0
votes
1answer
14 views

Can we have Popup alert on Standard page before saving a record [duplicate]

I want to have a validation before saving a record on standard page layout of a custom object. before saving a record a popup message should be displayed. is this possible using any customization or ...
2
votes
1answer
12 views

ContentNote - INVALID_INPUT which characters are invalid

I am trying to use REST API to update the content of ContentNote object. I am submitting base64 encoded content, e.g. this: PHA+cmFiYml0PC9wPjxwPjxicj48L3A+PHA+...
0
votes
0answers
8 views

Help in Permission Set in Validation Rule

I have this below scenario - I have a Custom Object - CustomObject__c , which has a picklist Status__c. Status__c field has values as New Approved Rejected Hold I have two permission set - ...
0
votes
0answers
19 views

How to increase code coverage for this test class [duplicate]

I have written the test class for apex class code coverage. But i am getting only 41% code coverage for the class. Batch Class global class BatchbookingstatusUpdate Implements Database.Batchable<...
0
votes
0answers
8 views

“Date Field” filter is not an option for report creation

When the salesforce summer 19 release is activated in sandbox, for one of my report, the " time frame filter" is not a supported function any more, here is the error message generated by the same ...
0
votes
1answer
11 views

Not able to fetch profile id from model as user in apex

I have a trigger on provision object to create a user record when provision record gets created on page layout i have a field called model if user select model user it should assign the profile from ...
2
votes
1answer
14 views

How to change custom object fields in scratch orgs and get updated metadata with sfdx force:source:pull?

We have renamed certain fields on a working scratch org, and we expected the renaming to work correctly. However, when we perform sfdx force:source:pull the changes in validation rules flows ...
0
votes
2answers
35 views

Apex action is not visible in Visual flow in salesforce

I have created an InvocableMethod method, but it is not visible in visual flow to add Apex Action. public class ApprovalProcessService { @InvocableMethod public static List<...
0
votes
0answers
10 views

how to make dynamic filter in dashboard level

I am having trouble on dashbord level dynamic filter. If Lead object have custom Pick list field name "Dealers". Dealers values are: Dealer_A Dealer_B Dealer_C I Have Two Partner Users called ...
0
votes
0answers
14 views

lightning components not loading the data on first click

i'm running into an issue where a custom component is not loading when page first loads or dynamic loading components on the first click. I have a custom component in a page where there is another ...
0
votes
0answers
13 views

activities must be created automatically

a) When a customer is created, four activities must be created automatically. Below are activity description 1.Call and identify the business decision maker 2.Update the address details 3.Update the ...
0
votes
0answers
12 views

Batch class to evenly balance record count per day

I have a custom object to track Call Logs in my app. This object contains a Date field to track the call date. I need a batch class to even out the call logs so that number of calls entered will be ...
0
votes
0answers
6 views

Download ContentNotes linked to entities by others

I have an org with SNotes enabled. I am trying to use REST API to query SNotes on Account. If the current user adds an SNOTE, then a simple SOQL query like so returns it: GET /services/data/v42.0/...
0
votes
0answers
12 views

How to Pass record id from community page to another?

I am using navigation mixin for navigating to a community page from other community page- this[NavigationMixin.Navigate]({ type: 'standard__namedPage', attributes: { ...
0
votes
1answer
15 views

sending scheduled email using workflow rules

I have a task that needs to send an email every Fridays at 9:00 AM every time I create a new lead. How can i set the dynamic date and time trigger for it on workflow rules?
0
votes
0answers
15 views

LWC record form for related fields

MY LWC looks like below import { LightningElement,api } from 'lwc'; import ENGAGE_SUBJECT_FIELD from '@salesforce/schema/Engagement__c.Subject__c'; import ENGAGE_INDUSTRY_GROUP_FIELD from '@...
0
votes
0answers
10 views

Cases created on lightning communities considered as web-to-case

Are cases created on lightning communities considered as web-case and bound by same limits of 5000 cases per day?
0
votes
0answers
14 views

Display Salesforce File in lightning component

I see from this question that you can display an image in a lightning component. Will this work for a pdf file? Using the exact same code, it doesn't appear so. I did try using lightning:fileCard to ...
0
votes
0answers
11 views

Standard lightning Components

Is there a way to feed a record Id into the Record Detail component from a custom built lightning aura component, as an example? I am wondering if it is possible to make these components responsive ...
1
vote
0answers
17 views

Discrepancy between _Open data view and Tracking Open list

Sorry if this question had been asked before. In short we found that the Unique Open amount on the tracking page is different to the amount shown in _open data view (we count distinct Subscribers). ...
2
votes
0answers
10 views

ant won't set sharing OWD on new objects?

I am using ant migration tool to deploy a new custom object to a target. This object has external sharing OWD set to Private. I've verified this in the object metadata. <externalSharingModel>...
1
vote
0answers
11 views

Capture Browser Click Events from Console Component

I am trying to capture all clicks in the salesforce classic console from a script in a custom console component. The following javascript logs all onclick events in the console in the frame of that ...
8
votes
0answers
27 views

How to turn boxcarring OFF for LWC imperative apex method calls?

We are running in a blocking performance issue on a page that we built using Lightning Web Components. Our page has many LWC components, each calling various apex methods via an imperative method ...

15 30 50 per page