Questions tagged [conversion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
2 answers
52 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 ...
Mónica's user avatar
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, ...
Matheus Coelho Campos's user avatar
0 votes
2 answers
2k 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....
LT888's user avatar
  • 27
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 ...
h3110's user avatar
  • 57
0 votes
1 answer
414 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 ...
loromagnoni's user avatar
0 votes
0 answers
719 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 ...
Jenil's user avatar
  • 43
1 vote
0 answers
93 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 ...
CraneLanding's user avatar
0 votes
1 answer
418 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 ...
Philippe's user avatar
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 ...
Akshay Vasu's user avatar
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 ...
NITHESH K's user avatar
  • 2,515
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, ...
Rohit's user avatar
  • 23
0 votes
1 answer
167 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 ...
LD Jewell's user avatar
0 votes
0 answers
935 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 ...
David's user avatar
  • 1
1 vote
1 answer
733 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 ...
Anthony Williams's user avatar
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 = (...
Harry's user avatar
  • 11
0 votes
1 answer
194 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 ...
Ash's user avatar
  • 1
0 votes
1 answer
485 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.
Frank's user avatar
  • 403
0 votes
0 answers
332 views

Converting a List to a Boolean

I have a query: public static List<ID> returnUserPermIds(){ List<PermissionSetAssignment> permissionSetAssignments = [SELECT PermissionSetId from PermissionSetAssignment where ...
Gev's user avatar
  • 1
1 vote
1 answer
962 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 ...
Richard's user avatar
  • 165
0 votes
2 answers
795 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 ...
dsd's user avatar
  • 121
1 vote
0 answers
220 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 ...
Annie-Louise Bray's user avatar
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 ...
Randy B.'s user avatar
  • 139
0 votes
0 answers
325 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 ...
Yannik's user avatar
  • 1
1 vote
1 answer
359 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%% ...
Jesse's user avatar
  • 11
2 votes
1 answer
951 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 ...
Victor Miller's user avatar
0 votes
2 answers
1k 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....
Salvation's user avatar
  • 1,107
0 votes
1 answer
741 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 ...
Brian Kessler's user avatar
0 votes
2 answers
591 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?
John Maz's user avatar
3 votes
1 answer
11k 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 ...
Alexis MASSON's user avatar
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 ...
Satheesh's user avatar
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 ...
Patlatus's user avatar
  • 15.8k
1 vote
0 answers
726 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....
Courtney Pelham's user avatar
3 votes
0 answers
999 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");
anurag soni's user avatar
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 ...
KatyFerguson's user avatar
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?
cmbob's user avatar
  • 604
0 votes
2 answers
535 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 ...
Nikki's user avatar
  • 25
0 votes
1 answer
43 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?
pigeons's user avatar
1 vote
2 answers
732 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 ...
PoH's user avatar
  • 57
0 votes
1 answer
319 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 ...
Jenssen's user avatar
  • 31
3 votes
1 answer
278 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 ...
A. Miller's user avatar
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 ...
Akram El Fadil's user avatar
1 vote
0 answers
177 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&...
Sowmya B's user avatar
2 votes
0 answers
87 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 ...
Amina TANGI's user avatar
0 votes
1 answer
620 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 ...
Monika's user avatar
  • 15
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); //...
loosy's user avatar
  • 143
0 votes
1 answer
361 views

Set the currency of the records to be fetched using SOQL

I have a situation in a multi currency org. I have Booking Object as child related to Opportunity Object. On a Visualforce page I want to show list of Bookings related to the a Opportunity. Problem :...
Ishwar Mete's user avatar
  • 1,492
1 vote
0 answers
94 views

Stumper: unexpected conversion behavior in multi-currency organization

I am facing an issue wherein our custom currency conversion is seemingly being short-circuited by the standard multi-currency functionality, but only sometimes. Our organization has multi-currency ...
Matthew Miller's user avatar
0 votes
1 answer
108 views

How can click.exacttarget.com recognize encoded email address string or relating plan string with encoded string is needed?

I have a question for encoding email address string in conversion link. When I encode email address string using AMPScript, after clicking conversion link, can the "click.exacttarget.com" ...
shinnosuke furuta's user avatar
3 votes
2 answers
1k views

Map Key Prefix to Object Label?

In my class I have 2 lists and I am displaying the results on a Visualforce component page. I would like to add a column on my VF page where the value displayed is determined by the first 3 letters ...
SFDC-ThEq's user avatar
3 votes
1 answer
193 views

Upload .csv file to salesforce without converting its original encoding

I have created a functionality wherein I can upload a csv to salesforce. The problem I have at the moment is that when I try to upload an ANSI encoding, an error will occur 'Blob is not a valid UTF-8 ...
Hope's user avatar
  • 1,243