Questions tagged [convert]
The convert tag has no summary.
66 questions
0 votes
0 answers
52 views
Apex AutoConvert
I am not a pro with Apex and was able to find code that would autoconvert leads which is working well. Now I've been asked to have the autoconverted Accounts have a specific owner assigned. I ...
-1 votes
1 answer
101 views
I want to convert my Aura component to lwc
html <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" > <lightning:quickActionAPI aura:id="quickActionAPI" /&...
-1 votes
1 answer
75 views
Add / Edit Field to Convert Lead Menu
When a user converts a lead by default it would add a new account, with account name. Not sure who/how it was setup that a Record Type field is here. Where might it be possible to see this behaviour? ...
0 votes
0 answers
986 views
Converting text to number
I am trying to create a new field and convert a text to a number but am getting this error (Error: text__c may not be used in this type of formula) when using this formula (Value(text__c)). The ...
0 votes
0 answers
290 views
Milliseconds issue, how convert 00h to 24, 01h to 25, 02h to 26..?
I have a LWC component that is a calendar, he verify the begin and end time of the company to put the interval of this hours, the problem is, when the hour is 00 or 01 or 02.. because of the way that ...
0 votes
0 answers
165 views
How do I put a DATE type value in a String field in a Marketing Cloud data extension
I'm trying to do this sql query, but I'm getting an error when converting the type date to string.... I've tried using CAST/ CONVERT/ TRYCAST .. but I must be doing something around because Marketing ...
-1 votes
1 answer
974 views
Pass array of JS object from LWC to Apex as list of string
From child LWC I want to pass the array of object to Parent LWC which will then pass the object to Apex as List of String Child.js allData = []; data = { id: '', startDate ...
-1 votes
1 answer
3k views
How to convert Map<String,List<String>> to Map<String,String>?
I have a Map<String,List> and I want to convert to Map<String,String> converting list to string.join(','). I tried this, but it only replicates one value User u = new User(); List<User&...
1 vote
1 answer
544 views
Data Extract activity is changing the physical order of records
I have the next issue when exporting a CSV file to a SFTP location: It's about a daily automation, the process consists in three steps, one for data extract, a second one to convert the file to UTF8 ...
0 votes
1 answer
3k 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
2 answers
6k 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....
0 votes
0 answers
116 views
Convert function with date formatted as text
I have a DE1 with field named 'DATE_A' with datatype text. This field contains records that are formatted like this: yyyy-mm-dd hh:mm. Using sql query activity I should retrieve records with field ...
-1 votes
1 answer
893 views
Can I Convert Map<String,sobject> to Map<String,object> [closed]
I have Data in MAP<String,sobject> type map and I wants to put it in Map<String,object> type Map. Please help with this casting.
1 vote
1 answer
707 views
Convert integer to a binary value [closed]
I want to display the given number in binary format. For example 78 -> 1001110
-3 votes
1 answer
738 views
How to convert string in Date format? [closed]
I have a string like this : '20170206' I need to convert it into a date like that : 06/02/2017 String birthdayDate = '20170206'; Date dt = Date.parse( birthdayDate); system.debug(' Parsed Date is ...