Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

store pair of 2 fields on a map

I need to store and access values of 2 fields on a Map and be able to iterate over them. List<Quote> quots = [select Id,ContractId,CalculationMatrixVersion__c from quote where ContractId != ...
user avatar
0 votes
1 answer
36 views

How can I get key prefixes of each object from a Salesforce Instance with pythons simple_salesforce API?

I want to extract keys for each Salesforce object (including custom) from a Salesforce environment via the simple_salesforce python library. That is, I want a pandas dataframe that looks as follows: ...
user avatar
  • 11
-1 votes
1 answer
68 views

What could I put in Key tags in my .html (LWC)?

In this table I'm using row as key for many html elements. Could this make a difference in the future? Do I need to use a different key for each tag? I thought to use row.postalcode in the first line ...
user avatar
  • 123
0 votes
1 answer
41 views

Tracker Domains and TXT records

I have a problem with the validation key as there is already an entry in the @ record. How can I add the validation key to the already existing record? Thanks.
user avatar
-1 votes
2 answers
685 views

Merge two map with same Key in apex

I have two maps with the same key now my question how to combine this into the third map? Map<String,object> newConMap = new Map<String,object>(004 ={CONTACTID=004, EMAIL=abc@gmail.com, ...
user avatar
-2 votes
1 answer
485 views

How to pass a variable as the key for the Map.get method?

I know that to get the value of a map, i should use: String s = (String)Map.get('key'); The above code works fine. But, I want a variable to be passed as the key. I tried like this: String k = 'key'; ...
user avatar
0 votes
0 answers
231 views

Inserted row in a Data Extension with a null Primary Key

We have a Data Extension with a Primary Key and we are able to insert via REST API a row setting its Primary Key as null. Until we know, it isn't possible because as Primary Key that field is no ...
user avatar
1 vote
1 answer
1k views

Unable to import Encryption Key in Marketing Cloud

Tried to generate SSH Key and PFX files to be imported into Key Management in Marketing Cloud. It gives errors each time. SSH Key Generation: openssl genrsa -des3 -out private.pem 2048 openssl rsa -...
user avatar
  • 2,233
0 votes
1 answer
535 views

Pulling values from inner curly brackets

I am trying to pull the values from a JSON response and have managed to get most of the values except the one I need which is nested in an inner set of curly brackets public class web_ser { @future(...
user avatar
  • 165
1 vote
1 answer
210 views

Salesforce BYOK Strategy

So - I have been doing research regarding Salesforce platform encryption, and am struggling to find the actual "button pushing" steps to accomplish the BYOK plan. Please correct these following steps ...
user avatar
1 vote
1 answer
449 views

Classic Master Encryption Keys in Apex

I'm using the Crypto class but want to leverage the built-in Master Encryption Key store instead of saving my own AES keys somewhere in the database. Is it possible to get access to the Master ...
user avatar
  • 931
1 vote
0 answers
88 views

Asymmetric Key import from cert erroring

Received a public key generated in a .crt format from Commerce Cloud side so that we can pass an encrypted emailaddr through an email click for attribution. However, getting this error: The key ...
user avatar
  • 1,377
3 votes
2 answers
816 views

Passing encrypted email in url string for Commerce Cloud - Key Management

I need to utilize the encryptsymmetric ampscript function to pass an email through to Commerce Cloud that is encrypted. The guys on commerce cloud have generated a private and public key. I cannot ...
user avatar
  • 1,377
0 votes
1 answer
148 views

Give customer keys with batch processing

I need to build a dynamic content with dynamic images with AMPScript. If I use ContentImageByKey(), I need to change the customer key of every picture individually and logically(for example, use the ...
user avatar
1 vote
1 answer
60 views

Fill an Id list with no Id ? (trailhead Trigger)

I'm facing an issue understanding a trigger provided by Trailhead (link here), There is a List of Ids declared and filled in a loop, and in that loop only a custom object is taken back (not its Id !)...
user avatar
1 vote
1 answer
773 views

Is Digital Signature mandatory for the oauth JWT token flow?

Is Digital Signature mandatory for the oauth JWT token flow ? If not, how do I implement the flow without the certificate.A web server is supposed to send a request for the access token and I need to ...
user avatar
  • 11
0 votes
0 answers
94 views

Invalid Cross Reference Key, can't access component

I was working on my component, saving, testing, etc. But then this happened: I can still access to the controller and helper but not the component. Below are two screenshots (can't post more than ...
user avatar
  • 263
0 votes
3 answers
1k views

Approval process Final Rejection email alert not working

I'm building an approval process in which I need a record to be submited to approvers in a queue, and the record gets approved or not. It's a simple one-step approval. I've set up an email alert for ...
user avatar
2 votes
0 answers
428 views

Generating subscriber keys

We have a master list of over 600,000 records in Marketing Cloud (ExactTarget) that was not set up with a Subscriber Key. As we're planning on using SMS for some subscribers, we need to set up a ...
user avatar
1 vote
1 answer
311 views

How to create a data extension with everyone who has ever opened or clicked on an email?

I'm trying to create a data extension with everyone who has ever opened or clicked on an email in it... The challenge is, that we used to have a SFDC + ExactTarget integration prior to migrating to ...
user avatar
  • 11
3 votes
1 answer
3k views

Use CONTAINS in Visualforce Page Map

I have an apex:pageblocktable in VF Page with 2 columns. The 2nd column is displayed from a map. <apex:pageBlockTable value="{!noZips}" var="Zip"> <apex:column value="{!Zip.ZipCode}" ...
user avatar
  • 3,954
1 vote
1 answer
174 views

Count Distinct Records based on the Composite Key from one table and update the count in different table in Salesforce

I am trying to count distinct records from one table and update the count in different table: Account has relationship with table A Contact has relationship with table B. On Table B we have columns ...
user avatar
0 votes
1 answer
347 views

Map of attachment insertion

I have a map with String value and list of attachments. I am getting those by inputfile but not being able to insert those. Please find my snippet as below. Can someone please help? Apex page: ...
user avatar
  • 2,900
0 votes
1 answer
524 views

Translate spanish characters to english for field values

I have a requirement to translate few predetermined spanish characters to english in field values of different custom objects. I have tried to create a generic code. can someone please let me know ...
user avatar
  • 2,900
1 vote
1 answer
116 views

Sync object not getting keyset

I have a custom object of Sync Tracking that allows to keep track for Users , when they are doing a sync from their ipad to salesforce. Now I need to write a trigger on that object, Sync Tracking ...
user avatar
  • 2,900
1 vote
1 answer
242 views

Do we always need "Consumer Key" for every client for Connected App?

I am trying to import datas to multiple SF clients (all of them are different companies). As soon as I saw on the internet, I can see that client needs to implement a connected app in order to enable ...
user avatar
2 votes
0 answers
509 views

Mass Lead Conversion Error

I have written the common lead conversion snippets within for loop and I got this Error. Yes following code creates Account and Contacts properly but it doesnt create any Opportunity. ERROR : ...
user avatar