All Questions

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

Checking previous metadata deployments

So I'm playing with deploys using the metadata API and I have 2 questions. I noticed that when you deploy using metadata the deploy name in "Deployment Status" is just an Id, can I change the name? I ...
1
vote
1answer
14 views

getRecord in connectCallback

I saw the following example of getting record : import { LightningElement, api, wire } from 'lwc'; import { getRecord } from 'lightning/uiRecordApi'; const FIELDS = [ 'Contact.Name', '...
0
votes
2answers
2k views

How can i use lightning:input instead of ui:input[smthg] for the challenge “Entering data using forms”

I am having some trouble completing the Entering data using forms challenge on trailhead. My code is working as i want it to but i'm getting an error and i don't know if it is a "trailhead problem" ...
1
vote
1answer
829 views

Javascript error on Button click

I am using one custom list button on one of the related list. But sometime when I click on this button I am getting the below error message: A problem with the OnClick javascript for this button or ...
0
votes
1answer
18 views

Pick List values added dynamically in Java Script are not reflecting in Lightning:combobox LWC

I am trying to pass a list of pick list values dynamically to lightning-combobox , but the values are not rendering in the list. Below is the sample code i am writing. JS Code: @track EmpList= [{ ...
1
vote
0answers
13 views

LWC function calls - Apex Method Imperatively

import { LightningElement, track, api} from 'lwc'; import saveRecord from '@salesforce/apex/Controller.saveRecord'; export default class CreateModel extends LightningElement { @track showModal=...
0
votes
2answers
336 views

How can I confirm I've “maintained” a Salesforce certification?

I took a trailhead module to maintain a Salesforce certification, but I don't know for sure that the certification is "maintained". I linked my WebAccessor account with Trailhead before completing the ...
2
votes
1answer
5k views

Embed Salesforce.com in an iframe on some public website

I want to add my Salesforce production org on my website as an iframe. I tried this but shows error refused to display...X-Frame option deny. Is there any way to embed my Salesforce org on a website ...
0
votes
1answer
855 views

Deploy Queue with Ant

I need to deploy Queue with Ant from 1 sandbox to other. I can retrieve the queue XML using eclipse IDE, and it contain all the setup in the queue, except the Queue Members. At first I set in the ...
1
vote
1answer
36 views

salesforce identify if current time in a timezone exists between a particular time range (only time not date)

It may be a stupid question but i am trying from couple of hours and also searched on google but did not find anything. List<User> users = [Select id, TimeZoneSidKey from User]; system.debug(...
0
votes
0answers
14 views

Generate PDF from .doc file

I want to generate the pdf file from the doc(word document) file attached on the object. The doc file contains merge fileds in it. When we click button on the objects record, the pdf file should get ...
1
vote
1answer
982 views

Reduce white space in conga Word output

I've created a Word template using text-based merge fields. The amount of text in some fields, however, makes for excessive line spacing in the document that's generated since the data is far shorter ...
3
votes
3answers
935 views

Create Custom New Quote Button for specific Recordtype

I need a new custom button for creating Quote for specific Recordtype under Opportunities the URL from the standard button is the url that is produced by salesforce standard button is https://eu2....
6
votes
2answers
1k views

How to do incremental builds in Jenkins using ANT Migration Tool

I am able to run ANT build in Jenkins , how can I configure Jenkins to only build recent revisions or to skip commits which were build in previous run. By build , I mean to deploy changes to other ...
4
votes
1answer
162 views

Is it possible to navigate to a Visualforce page from an LWC

The LWC framework includes the NavigationMixin.Navigate functionality that can be used to obtain URLs or perform navigation to generated URLs. This supports a number of different page types, as ...
1
vote
6answers
2k views

Use Filter for NULL values on String type field

q = load "AnalyticsExtract"; q = filter q by 'IPM_Company__c' == ""; q = group q by 'all'; q = foreach q generate count() as 'count'; q = limit q 2000; I want to filter the result with blank "...
-3
votes
3answers
30 views

How to get the Latest record created date in salesforce?

I have a field called "Date" on custom object "TestData__c". If I create a record today I need to display today date.If I create a record tomorrow I need to display Tomorrow date.How Can I achieve ...
6
votes
2answers
2k views

How do invoke an apex method of one org, from another org?

I have already connected both orgs using REST API web-server flow. What should I use, Tooling API? APEX REST? How do I connect them?
0
votes
1answer
338 views

Uncaught ReferenceError onclick of checkbox

I'm calling javascript method from apex:inputcheckbox but facing an error: Uncaught ReferenceError: disableChebox is not defined Please help me, as I'm not able to understand why I receive this ...
4
votes
1answer
580 views

standard action button disappears after override

We have set-up a partner community for our customer where we have overridden the "new" button on account with a visualforce page (for "classic") and a lightning component (for "lex"). In the "classic"...
0
votes
2answers
40 views

Outer Class can have how many inner class(es)

In Apex, how many inner classes can an outer class have?
0
votes
0answers
21 views

How to Use Formula Field to Log Out and then Open a URL?

Background I'm trying to set up a Formula (Text) field with the HYPERLINK function to log a user out of their session and then open an external URL: HYPERLINK("/secur/logout.jsp?retURL=www.google....
0
votes
2answers
1k views

when the user click on the link in every row of the page block table ,it should open the detail page

VF: <apex:page standardController="Lead" recordSetVar="Leads" extensions="ShowDetails"> <apex:form id="RID"> <apex:pageBlock title="pageBlockTable"> <...
1
vote
1answer
713 views

How to connect Visual studio Code to Salesforce

I have connecting command prompt to salesforce using below commands. D: cd salesforce CLI cd bin sfdx force:auth:web:login -d -a DevHub But i cant able to connect Visual studio code to salesforce. i ...
1
vote
1answer
946 views

Embed report chart to visualforce filter issue

How can I apply filter for the <analytics:reportChart> tag? I created a report chart for my Fuel__c object with a filter of date_log__c (Datetime) field, by enddate and startdate. When I embed ...
4
votes
1answer
1k views

Access lightning component's standard save/cancel buttons for salesforce1

I have a lightning component loaded in to a visual force page; VF page is called via an action. Once I try to load this action from a mobile device/simulator I could see a standard save and cancel ...
2
votes
2answers
413 views

Universal links & Appsflyer do not work on Marketing Cloud

We are implementing an email sending automation. We have created universal links to redirect our customer to precise screens in our app. These universal links are already working on another platform ...
3
votes
2answers
914 views

How to get contentData and ContentFileName for FeedComment Post

Can anyone tell me how to get the contentData and contentFileName for FeedComment ? I can get same for FeedItem using below query. [select Id,RelatedRecordId,Type,Body,CreatedDate,CreatedBy....
0
votes
1answer
18 views

Prevent Automatic Creation of QuoteLineItems

When you go to create a Quote, Salesforce automatically grabs the Products from the Opportunity and creates QuoteLineItems. Is there any way to override this behavior?
1
vote
2answers
2k views

Test that a Platform Event was published?

We have custom object CustomObject__c and platform event Platform_Event__e. Whenever any of CustomObject__c records are modified, platform event should be published. We need to write test class to ...
1
vote
2answers
53 views

Icon is not displayed in lwc

icon does not appear on page <span class="slds-icon_container slds-icon-doctype-xml" title="Description of icon when needed"> <svg class="slds-icon" aria-hidden="true"> <...
1
vote
1answer
35 views

Send data from de in email to landing page

Test send failed to send. Need more help regarding this error? Open a support case through the Help & Training Portal HTML Version There is an error in your email. Please contact your customer ...
0
votes
1answer
869 views

Case Custom Button Lightning to Update Status

I am trying to update case status field on lightning detail page. We are not using case feed. I think lightning components cannot be added on case and Work Order detail page. FYI: Actions on Case ...
4
votes
2answers
1k views

How to refresh a VF page from lightning component included in subtab

I have added a lightning component in a subtab(Actions) of Account detail in Lightning experience. There is one other subtab(Account Plan) which is showing a VF page. Now I want to refresh the VF ...
-1
votes
1answer
31 views

SObject row was retrieved via SOQL without querying the requested field: Webinar_Attendees__c.Voucher_Assign_Date__c

'm trying display parent fields and sub query fields in a table.But I'm unable to display sub query fields.Could anyone suggest an idea for me Page : ====== ...
1
vote
2answers
927 views

Developing ExactTarget app in JAVA SDK: Part 2

The example for updating Data Extensions in "Developing ExactTarget app in JAVA SDK" was what I have been looking for. Unfortunately, I'm not able to get it work for Shared Data Extensions. I've ...
0
votes
3answers
2k views

Rerender output panel when action method using pageReference

Can anyone tell me how to rerender a particular pageblock when the action method using pageReference? My use case is I want to rerender a particular block when I click the command button ...
2
votes
2answers
3k views

AMPscript Lookup function

%%[ VAR @EventType, @DateTime, @Address SET @EventType = Lookup("CampaignMember_Contact_Builder", "Event_Type__c", "ContactId", _subscriberkey) SET @DateTime = Lookup("CampaignMember_Contact_Builder", ...
5
votes
1answer
790 views

Fetch unique values using visual workflow

I am creating a dependent picklist in visual workflow using dynamic choice elements. The data source for picklists is database. When I fetch values I am getting duplicate values as it is in the ...
0
votes
3answers
1k views

Lightning:openFiles Fires but does nothing

I am trying to use some out of the box events within lightning components, but nothing seems to happen once they are fired. I have the same issue with pretty much any out-of-the-box event. Currently, ...
0
votes
1answer
20 views

Quick Texts and Macros on Posts / CaseComments

Use Case: I'm trying to implement standard responses using Quick Text/Macros between internal teams for Cases to reduce time spent on manual writing. An example of this standard text would be, "We're ...
4
votes
1answer
1k views

Authentication between Salesforce Communities and Connected App

We are trying to set up a Connected App for our Portal users The issue is currently that the app passes the users to the login screen for the community or the portal they can log in, but it doesn’t ...
0
votes
0answers
19 views

Best plugins for Upload file in Share Point through Salesforce [on hold]

I have to upload the files in Sharepoint through salesforce. Can anyone suggest the best plugin for upload the files.
0
votes
1answer
353 views

Change a data field in a Data Extension based on send

I'm looking for a way to change a data field in Marketing Cloud based on a successful email send. For example I have a DE with "Welcome Email 1 Complete" as a field, when I send a email and it ...
0
votes
1answer
35 views

Batch Test class not calling execute method

I have created below batch apex class. I have also created test class for this. But this test class is only covering 27% of batch apex class. Also, it is not calling execute method of batch apex class....
2
votes
1answer
29 views

Building an efficient LWC form without record-edit-form

I'm new to Lightning web components (LWC) and I'm trying to find the best way to build an input form where I need to control the submit process - I need to do extra validation and then construct a ...
3
votes
1answer
909 views

How create a Live Agent Session by REST API

I read documentation: https://resources.docs.salesforce.com/196/latest/en-us/sfdc/pdf/live_agent_rest.pdf https://piotrczechumski.wordpress.com/2014/06/22/live-agent-rest-api-documentation/ and ...
0
votes
0answers
22 views

Analysis for SFDX Apex || sonarqube Community Edition

Is there a way to support SFDX Apex Analysis with sonarqube Community Edition version 7.2 or above. If not then is there any previous Community version which may support it ? Many thanks in advance.
1
vote
1answer
829 views

Reply Mail Management Custom reply

I am trying to "Create Custom Response" within Reply Mail Management. For some reason it is not saving reply email in HTML format. Can anyone confirm if it is simple text only (no html). Kind ...
1
vote
1answer
717 views

Child Related List at Parent Level

Does anyone know of a way to display a Child's related list at the Parent record level? I have a custom object with a Master-Detail relationship to the Opportunity object. We utilize DocuSign and ...

15 30 50 per page