Questions tagged [conversion]
The conversion tag has no usage guidance.
71
questions
-3
votes
0
answers
69
views
Apex and LWC don't agree on Date being passed
The LWC is calling an APEX method that returns a list of Asset objects. It's returning a Date field. Here's what debug shows for two records:
Record 1:
"Close_End_Date__c":"2023-11-03&...
1
vote
1
answer
799
views
Data type conversion: Incorrect parameter type for function 'ISPICKVAL()'. Expected Picklist, received Text
I recently performed a data type conversion from text to pick list. So now my field is of data type pick list. It will be used on task records when the record is dynamically created by python ...
1
vote
1
answer
2k
views
In Lead conversion, existing Account and Opportunity standard and custom field values are not visible in lead convert page
Created Lead with company name which is already available in the Account.
Then I converted the lead to Account and Opportunity.
In lead convert page I selected the existing Account, In Account compact ...
-2
votes
2
answers
121
views
Validation rule to not allow the conversion of a lead with an specific owner id [duplicate]
I want to avoid the conversion of a lead if its owner id is equal to 0050O000009PQCKCKQA4.
In Setup/Lead Settings I have activated the option "Require Validation for Converted Leads".
This ...
1
vote
2
answers
1k
views
Existing Account not matching during Lead conversion process
I'm having an issue with existing account matching during the Lead conversion process.
In this example, I am using the Standard Lead Duplicate Rule; with a custom account matching rule with the ...
0
votes
2
answers
3k
views
Convert a datetime to date in SFMC
I have an issue converting a date/time to a string format date. Indeed, I would like to change the following date format : 'mardi 15 mars 2022 4:24 PM' to this format '15/03/2022' without the timedate....
2
votes
1
answer
966
views
Marketing Cloud Conversion Tracking Pixel Issue
I was wondering if anyone could help. We've stored the link variables in a cookie and are passing them through with the following link (below) in the pixel on checkout complete. But, it appears none ...
0
votes
1
answer
2k
views
What is the simplest way to cast a Map<Object, List<SObject>>?
I'm trying to find the most simple way to cast a map<Object, List<Sobject>> in any other type like, String, Integer and etc..
Anyone knows how to do this?
This is my code
Map<Object, ...
0
votes
1
answer
470
views
Email conversion tracking integration
I want to track conversion informations for emails.
I have found these resources:
https://help.salesforce.com/s/articleView?id=sf.mc_es_conversion_tracking.htm&type=5
It seems that it can be ...
0
votes
0
answers
835
views
How to convert blob to byte in Apex
There is a requirement that when I am trying to send images/pdfs files from salesforce to external system, the external system is expecting the content in bytes. I have working code of JAVA but not ...
0
votes
1
answer
449
views
Conversion tracking IGO_purchases
Morning :-)
the checkbox "track conversion link" has been checked in email studio to track the conversion link.
I sent the email, clicked the link and checked out the order: the ...
1
vote
0
answers
104
views
Salesforce record to Excel
So I'm trying to build a Visualforce page that takes some data from an individual record, displays it in a table and populates the appropriate fields, as well as leaving some fields empty, and exports ...
0
votes
1
answer
2k
views
How to convert DateTime format from 00:00:00 to 23:59:59
I have converted a Date into DateTime format, and it is returning me the hour format in 00:00:00 but I want it to be in 23:59:59
Date startDate = Date.newInstance(2021,2,1);
This returns the output ...
1
vote
1
answer
2k
views
Avoid exponential while converting Double to String
I was working with integration, where i need to send my internal data
to Core system. I have came across a strange issue while converting
large number(Double) into JSON.
Sales-force automatically ...
2
votes
1
answer
2k
views
How can I get the User ID from a text field which has the user name? Can I get it using a formula field?
I am trying to populate the "Recruiting Lead" field which a lookup field.
My use case is that when a new lead enters the system via referral, i.e Channel is Email Referral, Source is Email, ...
0
votes
1
answer
174
views
Collect Tracking Code vs Conversion Tracking
We are currently in the process of implementing collect code to our sites in order to be able to use with Einstein. Conversion tracking is also an ask but it seems to me they do similar things with ...
0
votes
0
answers
993
views
Database.convertLead() - when validation exception fires, it is not possible to catch it
I've got implemented code where I do automatic Lead conversion. The conversion works fine, but there are some custom validation rules in the org. When these validation rules fire, an ugly message is ...
0
votes
1
answer
3k
views
How to convert date to yyyy-mm-dd format using ssjs without timestamp
I am trying to convert the date to YYYY-MM-DD format using SSJS. But not able to do that. Getting NAN.
var day = new Date();
var prevDate = new Date();
yesDate.setDate(day.getDate()-1);
var test = (...
0
votes
1
answer
203
views
Conversion Tracking for purchase behaviour + segmentation
I need to set up Conversion Tracking so I can track purchases on my website and then segment in Marketing Cloud to exclude people who have purchased in the last 6 months from my Email + journey ...
0
votes
1
answer
499
views
How to send particular content of pdf from VF Page in different languages?
I am sending an attachment using VF Page through batch class. I need to send Labels in PDF in different languages based on Account's organization values.
0
votes
0
answers
361
views
Converting a List to a Boolean
I have a query:
public static List<ID> returnUserPermIds(){
List<PermissionSetAssignment> permissionSetAssignments = [SELECT PermissionSetId from PermissionSetAssignment where ...
1
vote
1
answer
1k
views
Invalid date and time error [duplicate]
I have a @restResource that's receiving a JSON payload as a string. I am taking that payload and placing it into a Map<String, Object> variable. I'm trying to save the date/time into a variable ...
0
votes
2
answers
828
views
Convert JSONParser to SObject
I'm trying to convert a JSON file, which has information from one or more objects. I saw that one way was to transform the JSON String to JSONParser and loop to generate the objects.
I want to ...
1
vote
0
answers
230
views
Conversion Tracking Extract empty
I am trying to do the Tracking Extract (Conversions) from Salesforce Marketing Cloud. I'm fine with the process of doing it, but when it falls into the FTP the data is empty. Has anyone else ...
0
votes
1
answer
87
views
Invalid Conversion Runtime Type List<> to Map<>
I understand I am getting this error on the map line but I do not understand why. As the method does return the list I am constructing. What am I missing about this exactly?
The dataRequest starts as ...
0
votes
0
answers
345
views
Convert object into a custom object
we parted our workflow into 4 different objects on salesforce.
These are:
Lead
Opportunity
Deal
Exit
Each of these objects includes different phases and I would like to create a new record in the ...
1
vote
1
answer
382
views
Is there an automated way to add conversion="true" tag?
I am onboarding a new SFMC account and none of their links have been set up as conversion tracking links and this is a request of theirs. Is there a way, possibly using %%_AdditionalEmailAttribute%% ...
2
votes
2
answers
2k
views
How can I create Opportunity Validation Rules without breaking Lead Conversion?
In our Salesforce process, our Opportunities have a custom Picklist field called 'Vertical' to track the industry segment of each Opportunity. I'm trying to make this a required field.
I'd like to ...
0
votes
3
answers
4k
views
Why Owner relationship is not available for custom objects and for some standard object like Case?
This seems to be very strange.
While we can use Owner relationship explicitly for many standard objects like Account and run this code without problems
Account a = [ select Owner.Id from Account ...
0
votes
1
answer
3k
views
Analytics / Conversion tracking
Has anyone been able to make this script work?
http://help.exacttarget.com/en/documentation/collect_code/install_collect_code/track_conversion/
My understanding is it should work with the collect ...
0
votes
2
answers
2k
views
DateTime Convertions
I have a problem to convert String to DateTime and Insert it to a DateTime field in SF.
I found out that this is work :
String dateee = '2015/03/10 05:03:20';
DateTime date_time = DateTime....
0
votes
1
answer
770
views
Is it possible to convert numbers from Base 10 to Base Alphabet and back again using formula fields?
For shits and giggles, I am working to create a spreadsheet application (comparable to Excel, inspired by The SCells Spreadsheet) on Salesforce.com
Each spreadsheet cell will correspond to one ...
0
votes
2
answers
605
views
Conversion tracking
I am trying to set up the conversion tracking using Javascript for my website.
I arrive at the part where it's asking about:
I wanted to ask which script that is?
3
votes
1
answer
12k
views
Best way of generating a random number
In order to get fake IDs for testing needs I wrote something that works and is reusable, but I'd like to know if there is better ways because my code seems heavy.
n is the total caracters of the ...
0
votes
1
answer
39
views
Retrieve email conversions
Is there a way to retrieve email conversions stored in tracking data in Marketing Cloud and put these information into a Data Extension using SQL Query?
3
votes
2
answers
10k
views
Currency conversion with current Exchange rates
I need to convert the Currency from EURO to USD , I am using the fields are
TestCurrency__c - Currency
CurrencyConvert - Formulafield(Currency datatype)
My Organization Corporate Currency is "EURO"....
1
vote
0
answers
734
views
SetUserInfo for Collect Tracking Code from subscriber level data pulled from appended URL
I am attempting to define the user info inside the js needed to SetUserInfo for the Collect Tracking Code implementation.
<script type="text/javascript">
_etmc.push(["setOrgId", "MID"]);
_etmc....
3
votes
0
answers
1k
views
What method can be used rather of "getBytes()" in salesforce, this method basically changes string to byte
Below is code snippet from C# which needs to be converted in Apex:
var key = Encoding.UTF8.GetBytes("string");
1
vote
0
answers
1k
views
Conversion tracking in Email (Marketing Cloud) not working - Please help
When creating a button with a link in Marketing Cloud content builder there is the option to add a link URL, Title and Tracking Alias and a 'conversion tracking link' tick box. We have set up our ...
0
votes
2
answers
548
views
Conversion Tracking Data Extension
I have recently implemented conversion tracking in Marketing Cloud and I'm wondering if there's a way to capture the converted subscribers in a data extension with exporting from tracking and re ...
0
votes
1
answer
46
views
Manually Add conversions in Marketing Cloud/SF
While waiting for conversion tracking to be implemented we sent an email and are using Google Analytics to track conversion. Is there a place where I can manually type in the number?
1
vote
2
answers
759
views
Conversion Integer to Roman Numeral
i want to convert integer to roman numeral.
As we know, format for roman numeral is like this:
1 = I
5 = V
10 = X
50 = L
100 = C
500 = D
1000 = M
For example, if we have number 497, it will be ...
0
votes
1
answer
320
views
Invalid conversion from runtime type Relatie_Contact__c to Contact
I get the error:Invalid conversion from runtime type Relatie_Contact__c to Contact for my testclass. I have looked trough some similar questions but could find the answer for my case I have the ...
3
votes
1
answer
286
views
How can a trigger distinguish a contact field was updated during lead conversion?
My organization protects certain fields on Contacts of Record Type X from being edited, as these contacts are imported from an external system. In addition to using locked-down page layouts, we have a ...
0
votes
1
answer
3k
views
Implement Conversion Tracking with Data Extensions
I'm currently trying to implement the conversion tracking feauture (http://help.marketingcloud.com/en/documentation/exacttarget/tracking/conversion_tracking/implement_conversion_tracking/) available ...
1
vote
0
answers
178
views
Conversion Tracking in microsite
I have tried to replicate the conversion tracking that worked on the landing page to a microsite page. But somehow its not pulling the parameters from the url.
Link : https://www.example.com/j=JobID&...
2
votes
0
answers
89
views
conversions problem
We have installed the complete code in every page of our site, before closing the body tag, we have also installed the conversion code on our website, the code retrieves the information, but we do not ...
0
votes
1
answer
647
views
How to associate contact with last campaign upon Lead conversion via Campaign
I have a question around Lead conversion, which is associated with multiple campaigns.The goal is to associate the converted contact with the latest campaign sent out to the Lead. We are not using ...
1
vote
1
answer
1k
views
ExactTarget Conversion Tracking issues
I am working with a script to collect conversions and pass into ExactTarget for reporting. For some reason the conversion is not tracking back to ExactTarget even though there are no errors:
document....
1
vote
4
answers
3k
views
Integer to ASCII conversion
I'm trying to convert an integer into its corresponding ascii value but getting different result than what I get in java.
Java
int c = 5032;
char c1 = (char)c;
System.out.print('==>' + c1);
//...