All Questions

0
votes
0answers
5 views

Not able to query the data from heroku

I have imported my salesforce contact object data to heroku using heroku connect. I have also used heroku postgres addon for database. I have done this in php and have deployed the app to heroku ...
0
votes
0answers
10 views

How can we include managed package code into a site template which is defined in customer org

We have a managed package with multiple VF pages and these pages are used on Sites. The problem that we are having is that these pages work only if they are placed within the site template which are ...
0
votes
0answers
13 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 ...
0
votes
0answers
17 views

Is it possible to create custom tab or view for marketing cloud internal user?

I'm facing scenario to render data from particular data extension info to marketing cloud internal user like creating landing pages to get those data to render inside marketing cloud org along with ...
0
votes
1answer
17 views

I have moved account data through data loader but Attachments files is not showing

I have moved account records through data loader, but all attachments, files, record type are not showing in my target org, only account name and some other fields are showing. Can you please help me ...
0
votes
2answers
29 views

validation on lookup object

I have lookup on account of Sell_Request__c object. I want validation on Sell_Request__c to check if account-status is Inprogress then thrown an error.but i am not able to achieve this as not able to ...
1
vote
1answer
14 views

When having two wrapper class arrays of similar value in lightning component, updating one of them will automatically update another

So when we have two arrays of Apex wrapper class records in lightning component of the same source (one is a slice(0) of another), Updating one of them will result in another one updated accordingly. ...
0
votes
0answers
14 views

Unable to view task information in Lightning as we can view in classic

We facing a Page cannot find error in Lightning view of a Task record. But we can see this task in Classic view. Please find the screen shot provided below. The above is the classic view. This is ...
0
votes
2answers
36 views

Removing record reference in class

Expansion to original question: Error: Future method cannot be called Need to remove record variable from reference. Can someone help me and explain the process? Error: Error: Compile Error: ...
1
vote
0answers
8 views

Updating Standard Report Type via Rest API on Cases returning error: 'value \“\” is not one of the picklist choices.'

I am looking to update the report type of an existing report via REST API. First I get the report metadata via a GET/describe, then I string-replace just the report type (assuming there is just one ...
0
votes
0answers
14 views

How to create a new report programmatically and set audit fields?

I am looking to create a new report programmatically and set its audit fields (CreatedBy, CreatedDate, LastModifiedBy, LastModifiedDate). I followed this REST API Documentation to create a report ...
1
vote
1answer
21 views

VS Code: How can I keep my Apex class problems from disappearing upon edits?

When deploying apex code with errors in it through SFDX, VS Code displays a handy list with convenient click-to-view functionality. But, as soon as I start to edit my file for the first problem, all ...
3
votes
1answer
49 views

Target inner elements of standard Lightning Web Components with CSS

Say we have a LWC with the following template in a component named example: <template> <lightning-textarea class="test"></lightning-textarea> </template> And some css to ...
0
votes
1answer
22 views

Can I query Salesforce Queue and can I do it using the metadata or tooling APIs?

Can I query Salesforce Queue and can I do it using the metadata or tooling APIs? Looking to quickly access this data from Salesforce inspector, also looking to see if there is a way to check if a ...
0
votes
1answer
30 views

How to create a custom VF page with dynamically generated HTML code and what VF component to use?

I have a dynamically generated HTML code in apex. I need to put and render this HTML in a custom VF page. How that can be achieved? If I need an <apex:outputLabel> please advise how to put ...
2
votes
1answer
19 views

How to Unschedule the report in salesforce

As per the salesforce Documentation, we can unschedule the report,But i cannot find the Unschedule the report option in salesforce please anyone guide me to unschedule option
2
votes
0answers
21 views

Hiding/Removing Quick Actions

I am in Lightning and I am trying to remove an option from the quick actions of a list view for Task Object. The object settings on task isn't available for me to uncheck 'Delete' option on a profile ...
1
vote
0answers
26 views

Navigate Between Components using Navigate and lightning:isUrlAddressable

I was using e.force:navigateToComponent and had everything working but then realized this is deprecated. I am attempting to replace the logic by using navigate(). It seems to be working in that I ...
2
votes
1answer
23 views

Find a count of clicks per subscriber and LinkName

I'm in the process of building a query that will give me a count of all links a subscriber has clicked on with one of three aliases. The possible alias's are "watch", "win", and "play". I've written ...
-2
votes
0answers
22 views

Unable to see New action option on Button,link and Actions in lightning [on hold]

I am unable to see the New action option on button, link and action in lightning
-2
votes
0answers
25 views

A document called test [on hold]

can you see my app? can you tell me why it won't work? can you see my source code? I'm not a react guy, do you have any example of non-react code.
0
votes
1answer
14 views

InputField Conditional Font Styling

I have a requirement to conditionally style the font for a single inputfield based on the User's profile, however, below statement does not appear to be rendering properly. Is this possible using ...
1
vote
1answer
52 views

How to create a link to an Opportunity that does not specify lightning/non lightning?

I need to create a link to an Opportunity. I get the Opportunity ID from the (REST) API. I see regular links are https://na85.lightning.force.com/lightning/r/Opportunity/xxxxxxxxxxx/view But not ...
1
vote
1answer
31 views

Get Method Syntax to move Data Extension from SFMC via Postman

I am new to API Calls, and Postman API Scripts. I have a Data Extension in Sandbox SFMC, which i want to move to Postman via Postman API call. I already have a script to get the access token from ...
0
votes
0answers
21 views

MIXED_DML @testSetup TestMethod [duplicate]

So I am seeing a very weird issue. I am getting a MIXED_DML error in one of my test methods. In the @testSetup annotated method, I am indeed perform a mixed dml transaction (shame on me). However, ...
0
votes
1answer
18 views

How to call VF on the Detail Button from Opportunity

Classic: document.location="/apex/CreateCaseRequest?oppid={!Opportunity.Id}"; I created a new Button for Lightning : did not work {!URLFOR('apex/CreateCaseRequest', null, [ SourceID = ...
0
votes
0answers
17 views

Domain not available when creating custom urls in Salesforce Site

I am trying to create custom urls in Salesforce Site. While creating the same, the domain name is not appearing even if I search with the domain, it is not coming up. Basically I am trying to create ...
0
votes
1answer
19 views

How can I retrieve LiveAgent Settings from an org?

I am using ANT to retrieve settings from a production org. I have been successful using the package file below to get LiveChatDeployment and LiveChatButton settings. <?xml version="1.0" encoding="...
0
votes
0answers
19 views

lightning:recordViewForm unable to display for guest community users

asking does recordViewForm in communities only work display if the user is logged into Salesforce? I can't seem to get my output fields to display for a guest user. They're displayed and fine for a ...
3
votes
3answers
407 views

Storable Action - System.LimitException: Too many DML statements: 1

@AuraEnabled(cacheable=true) public static String deleteContacts(List<String> contactIds) { List<Contact> returnList = new List<Contact> (); String query = ' SELECT Id,Name, ...
-2
votes
0answers
29 views

click color of bar char for particular month it should goes into report page [on hold]

I have a customized bar chart page.When am clicking the blue color for the particular month it should go to the report and the report filter by month.How can we do in visualforce page.Plz help.
4
votes
1answer
34 views

Apex Replay Debugger: Cannot read property 'name' of null

When I select Launch Apex Replay Debugger in VS Code it asks me to select a log file and then gives me this error message: Cannot read property 'name' of null I've managed to get the Apex Replay ...
-1
votes
0answers
28 views

How to write a test class for multi select lookup page

I am new to apex development. I am writing my first test class. I am having a super hard time in writing it. Scenario: The extension lets a user select multiple records from child (Contingency__c) ...
0
votes
2answers
25 views

iFrame in Lighning Component errored out

I have a lightning component with iFrame. I a getting the 'sameorigin' issue. am I missing anything? Lightning Component: <aura:component implements="flexipage:availableForAllPageTypes, ...
1
vote
2answers
123 views

Error: Future method cannot be called

Getting the error below while introducing a new app. The new app is attempting to update all accounts and this is happening. Most likely because it is maxing out the callout limit. I can deactivate it ...
0
votes
1answer
16 views

Can we download the word form of quote template

How do I download a word form of a quote template in Salesforce CPQ? I've created a quote, added lines and generated the document. On the document I've changed the document output field to "Word". ...
0
votes
3answers
37 views

How to get the name in aura:iteration

<aura:iteration items="{!v.AccountList}" var="ac"> <div class="tileLabel" id="{!ac.Id}" aura:id="acId" onclick=" {!c.handleClick}">{!ac.Name}</div> </div> In javascript,...
0
votes
1answer
15 views

Scheduled Job occassionally does not reschedule for next run

I haver a scheduled job that runs every fifteen minutes. It runs fine for several months and then randomly it will stop running and doesn't reschedule for the next run. The apex jobs showed an "...
1
vote
3answers
29 views

Increase the callout time limit from 120 seconds to more

I am calling a REST API from my Salesforce instance which generally takes 100-150 seconds to process and return the result. The cumulative apex callout time limit is 120 seconds. Is there any way ...
0
votes
0answers
21 views

apex change query before pass to oracle [on hold]

I have a SQL query with some parameters. some of these parameters maybe get null or maybe not null like this: nvl(:Param1, tb1.id ) = tb1.id the :Param1 is optional the question is: when user ...
0
votes
2answers
20 views

AMPscript RetrieveSalesforceObject() slowing CloudPage load time down a lot

I've made a preference page in which the form directly communicates with the connected Salesforce environment. I save the customer's data via the UpdateSingleSalesforceObject() function, and I ...
0
votes
1answer
28 views

Add validation to managed lightning button

I have a managed (detail page button, content source: visualforce page) button which when clicked opens a visualforce page, I want to make this button shows a message if a field on the object is ...
0
votes
1answer
13 views

APEX - Get ContentDocumentLink when deleting file (with ContentDocument)

I have an object 'ClientContract__c' with affiliated files. When adding a file, this changes a technical checkbox field on the parent object. I would like to override this technical field if there are ...
0
votes
1answer
22 views

Role hierarchy Assignment Automation

I have a requirement to automate the role hierarchy assignment process to Users present in Salesforce. It will be based on field value recorded on User record with some condition. For example:- If ...
0
votes
0answers
13 views

rerendering apex:inputText onchange to incorporate different styles

Is it possible to rerender an apex:inputText field immediately when the user changes the value of the field? In my application the form's input fields look different if they are already populated (...
0
votes
0answers
15 views

Issue with hour of Scheduled Date for Time based Workflow

I have the following issue. I have 2 Workflow rules, one to send an email 30 days before 'Close Date' and another one to send an email 60 days before 'Close Date'. The 30 days workflow is working just ...
0
votes
1answer
30 views

Wrapper list class getter setter issues

I am facing some challenges into the wrapper class for getter and setter. I have displayed some records based on question types like text, checkbox, and radio option. But when I clicked on a button ...
1
vote
2answers
26 views

Upload files and show them under related list of Sobject

We have a requirement where we need to attach multiple files and store them under Files (related list) for particular Sobject. I am able to insert the file but i am not getting the preview option ...
0
votes
1answer
26 views

Is it possible to output an aggregate query to a Map<Id, List<Contact>>

Is it possible to output an aggregate query like this: Map<Id, List<Contact>> accountContactsMap = [SELECT aggregate query ...]; Where the Map key is the AccountId and the Map value is a ...
0
votes
0answers
39 views

API Version 45 Error

When trying to log into the API Version 45 in Production environment I am receiving the following error. UNKNOWN ERROR: SOAP-ERROR: Parsing WSDL: Couldn't load from 'soapclient/sforce.450.partner....

15 30 50 per page