All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

CloudPage Picklist Values from Data Extension using ampScript

I am experimenting with having a "Preferred Channel" picklist field on a Custom Preference Center Page hosted on CloudPages and would like to restrict field values to a specific subset of picklist ...
-1
votes
1answer
20 views

Create an LWC from a LC - JavaScript Translation

Im new to developing Lightning Web Components (LWCs) but have created some Lightning Components (LCs). Im trying to reuse some of the javascript code I wrote in one of my LCs, but am having trouble ...
0
votes
1answer
24 views

Query to compare branches of a journey after a percentage split

I ran a journey where I used a decision split to separate the audience into 4 branches and then sent each branch the same series of emails with varying wait times in between sends. Now I want to ...
0
votes
0answers
11 views

VF page to PDF to Notes & Attachments

I have two VF pages and a class, which is shown below. When Decision Status is Accepted, a visualforce page is generated but now I wanted to convert this VF page to PDF and save it notes and ...
1
vote
1answer
28 views

SSJS equivalent of DecryptSymmetric

Knowing that we have EncryptSymmetric and DecryptSymmetric in Ampscript, both with the ability of referencing password, vector and salt, from Key Management - is there anything similar in SSJS? If a ...
0
votes
0answers
15 views

How to use merge field values in Lightning flow

I am using record choice set to get all related files in a lightning flow. I want to display name of the files in a multi select picklist from where user will select some files. I am trying to get ...
0
votes
1answer
30 views

Remove the “__c” from custom field API name

I've created a custom object in Salesforce with a number of custom fields. Is there any way to remove the "__c" from the API names of those custom fields?
0
votes
0answers
20 views

How can I delete a single task or event using a Lightning component?

I created a Lightning component with a lightning:button. The expected behaviour is: when a user click that button, that Task or Event will be deleted and then he/she will redirect to another page. ...
2
votes
0answers
27 views

Consent Management in Marketing Cloud - Difference between hasOptedOutTracking and DoNotTrack

I would like to honor the GDPR customer request : I do not want Marketing Cloud to track my messaging and online behavior. For that and according to the documentation here : https://help....
1
vote
1answer
29 views

SFDX CLI - Unknown error when pushing code to Scratch

I created a new scratch and trying to push the code I received an uknow error: { "status": 1, "result": [ { "error": "Unknown" } ], "name": "DeployFailed", ...
2
votes
1answer
65 views

How to stop Code executing once I catch an exception?

I am attempting to display an error message on a VF page if I get a time out error from an api call. I am using try catch, to get to the exception, but I would like to stop further code execution ...
1
vote
0answers
17 views

VS Code - Compare metadata in different orgs

The one thing that Eclipse IDE seemed to do well that I've not yet worked out in VS Code is comparing metadata in different orgs. Using VS Code, I know how to compare files which are in the same ...
0
votes
1answer
31 views

Is there a way to Retrieve the ID of an Automation Instance via API?

As far as I know the only way to link directly to a specific automation is with the Automation Instance ID (ex. https://mc.exacttarget.com/AutomationStudioFuel3/?hub=1#Instance/...
0
votes
0answers
16 views

How to make the size of the datatable remain unchanged when user resize the column width

I'm trying to create a datatable by Lightning Web Component (LWC) and the problem is, when user resize a column, the size of the whole table increase or decrease. Is there anyway we can keep the table ...
0
votes
1answer
79 views

Application error: Service Unavailable on Einstein Analytics

When I try to create a dataset in one of our sandboxes I get this error. Also when I try to add the APIEvent object, I'm not getting the fields list to select from. What am I missing? This works in a ...
0
votes
0answers
10 views

Lightning page assignments and profile assignments for certain pages changed

Some the assignments that we made for lightning pages seem to be gone and we need to be redoing this again. We are unsure as to how this happened. Is there a way for us to do some audit on who made ...
0
votes
1answer
27 views

Metadata API to create fields

I saw the following example in the Salesforce Docs for creating fields using the metadata api: My question is - How does the system know to create a field on the account standard object? I cannot find ...
1
vote
1answer
20 views

Debug log Operation column “/services/data…”

We have an update that happens on leads and we are trying to understand what is the source. i looked at the debug logs and saw the following info: What does "/services/data/v26.0/sobjects/Lead/...
0
votes
0answers
8 views

“lightning__RecordPage is not a flow related target” while saving a LWC that is used in a flow?

I'm trying to embed a LWC into a screen flow, but when I save the following meta-xml file, I get the "lightning__RecordPage is not a flow related target" error: <?xml version="1.0" encoding="UTF-8"...
0
votes
1answer
17 views

Add event listener for window resize in lightning web component

I want to ad an eventListener for window resize inside my custom lightning web component but I don't know how to do it Maybe something like this? constructor(){ window.addEventListener('resize', ...
0
votes
0answers
7 views

SLDS Grind: how to prevent the inner spacing form being bigger than the outer spacing?

For my taste the visual appearance of https://archive-2_0_3.lightningdesignsystem.com/components/utilities/grid has a flaw. In all the examples the elements have just a "normal" kind of padding, ...
-1
votes
0answers
6 views

Need help to cover Queueable apex test class [duplicate]

public class QuotexLineCloned implements Queueable, Database.AllowsCallouts { public final String newlineid; public QuotexLineCloned(String newlineid){ this.newlineid = newlineid; }...
0
votes
0answers
14 views

LWCs - Navigation Menu Base?

I am in the process of building a custom navigation menu as a Lightning Web Component for my community. I know that in Aura Components one could use forceCommunity:navigationMenuBase, which provides ...
0
votes
0answers
14 views

Cost to post salesforce app on appexchange

We are developing an app to post it on the appexchange. We are posting first app on the app exchange. We want to post this app for free. What will be the cost/fee to post this app on the app ...
-2
votes
0answers
18 views

How to show and hide columns and based other column value in the CSV file [on hold]

We have implemented download all the Assest object records in the CSV file based on the button click in the lightning compnent. Now i need show and hide columns and based other column value in the CSV ...
-1
votes
1answer
30 views

updating subscriber status on a list level [on hold]

In the process of developing a custom subscription center. I created an email and redirected to a cloud page where email address is pulled from email to the cloud page. Now I would like to be able to ...
0
votes
1answer
32 views

Authentication token expired email from Marketing Cloud

I have noticed periodically I receive an email notification stating A Marketing Cloud Connect authentication token expired for this Marketing Cloud business unit and Salesforce org. When I log ...
0
votes
0answers
7 views

How to share a draft knowledge article with Standard User for approval?

I have a user with salesforce license and Standard User profile. I have set Knowledge User. I have provided the user with Modify All access on knowledge. I have created a data category and included ...
-2
votes
0answers
15 views

Visualforce Component email template

Hey there i am trying to generate a pdf through visualforce component which i am using in email template which i am sending through approval process when i try to print record id in pdf it works fine ...
0
votes
0answers
17 views

@wire(CurrentPageReference) pageRef is not working in Salesforce mobile app

I am using @wire(CurrentPageReference) to get data passed from previous page. Here is my code: In first page navigating to second page like this: this[NavigationMixin.Navigate]({ type: "...
0
votes
1answer
18 views

How does lightning web component inherit recordId?

I am new to Lightning Web Components. I wanted to know how the @api recordId gets the recordId from the record. If I change it to @api recId, the code does not work. Does the api fetch the recordId ...
0
votes
1answer
16 views

Issue with updating custom field and calling flow using aura components

I have created a custom button in a record page and I want to call a flow I built and refresh a custom field I created on the opportunity line item in the opportunity page using the same custom button ...
1
vote
1answer
18 views

project-scratch-def.json VS settings

Question is simple what is the main reason to use project-scratch-def.json VS settings. They overlap a lot and I don't know when I should define features in scratch-def.json, and when to push them in ...
0
votes
1answer
36 views

Getting sent data for a specific time frame using Query

I am trying to pull send data from some scheduled sends. I am using below query: SELECT s.SubscriberKey as Email_Address, s.EventDate as SendTime, s.JobID as JobID, d.VER as VER, d.CellMarket as ...
-1
votes
0answers
10 views

Bidirectional Sync between Salesforce and External Transactional Database [on hold]

I have a visualforce web form, that creates Accounts and Contacts in Salesforce (Web to Accounts/ Contacts) WE are looking at integrating Salesforce with External Transactional Database that is hosted ...
0
votes
0answers
6 views

How to debug lwc running in iOS salesforce1 mobile app?

I am working on a Salesforce app and it is working fine in chrome smart devices mode(Salesforce1) but when I use this app from iOS mobile it is not working fine. Now I want to debug it running on iOS. ...
0
votes
1answer
14 views

How can I define which Navigation to use for a custom Navigation Menu component?

My Community Site has two navigations. The "Default Navigation" which is used in the header, and also a "Footer" navigation used in the footer component. Both of them are custom, and inside of a "...
1
vote
1answer
50 views

Disable Lightning Combobox in LWC based on FLS

I know there is a way to check if the object/field is updateable, then only it will allow the user to read or update the field like below apex : if(!Schema.SObjectType.Account.fields.Type....
0
votes
0answers
14 views

Unable to append content to existing attachment

I am trying to add content to an existing attachment. However the new content is never getting added to the attachment and the file only has the original content. Below is my code: List<Attachment&...
-2
votes
0answers
27 views

selection by clicking on a menu item [on hold]

How to make sure that when you click on a specific menu item it becomes highlighted? <div class="slds-border_right"> ...
0
votes
1answer
22 views

Logical operators in Apex

How do I combine OR's and AND? The below gives me an error. Any pointers are helpful. Thanks // check changed values if ((old.value = '2' || old.value = '3') && (new.value = '0' || new....
0
votes
2answers
36 views

REGEX Validation rule for multiple lines of dates

I'm trying to find a regex pattern for a validation rule on an opportunity that will allow dd/mm/yyyy one or more lines in a long text field named Dates_offered__c. For example, I want to allow: dd/...
-2
votes
0answers
23 views

Salesforce and Webhooks: REST integration with another serviece

I want to get real-time updates with the Salesforce/another serviece integration through webhooks. When something is updated on the serviece, I have to get it on Salesforce. Without Callouts. What am ...
-1
votes
1answer
33 views

How to remove a record from a publication list using scripting [on hold]

Can please help me to how to remove a particular record from publication using scripting(ssjs/api ampscript) Thanks, Shiva
1
vote
1answer
17 views

Push StandardValueSet for ContractStatus into a Scratch Org

I simply want this to be pushed into a new scratch org <?xml version="1.0" encoding="UTF-8"?> <StandardValueSet xmlns="http://soap.sforce.com/2006/04/metadata"> <sorted>false<...
0
votes
1answer
32 views

How to calculate the average value of non-zero elements

We have an array of 12 elements, there are elements with numerical values and there are elements with zeros. How to calculate the average value of non-zero elements. Is the element from which you ...
0
votes
1answer
24 views

Benefits option 4 (hosting DNS records) SAP configuration Marketing Cloud

What are the benefits of choosing for the advanced option of hosting all the DNS records of a domain or subdomain for the SAP configuration? The only thing mentioned that it is more advanced and not ...
-2
votes
0answers
8 views

why Upload File Freeze for all lighning users?

Cant upload files from lightning with an administrator, i can from classic mode. Get freeze, without any error. Any ideas? I already open a case but this its urgent =(
0
votes
1answer
57 views

Predictive Intelligence recommendations in email

I'm having trouble configuring 'Predictive Intelligence' recommendations in email in specific relation to 'Same As Reference Item'. Does anyone have experience with this working correctly? How do you ...
0
votes
0answers
13 views

Mail functionality not works in my case

I am using following apex class for mail functionality in lightning but it seems the mail functionality is not working properly as I am unable to see any mail send by me. Below is my code: @...

15 30 50 per page