All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
431 views

iOS Image upload Issue

I have successfully uploaded image using the following code NSData *data = UIImageJPEGRepresentation([UIImage imageNamed:@"background.png"], 1); SFRestRequest *request = [[SFRestAPI sharedInstance] ...
0
votes
0answers
5 views

Map<ID, Set<String>> Loop Question

I have a Map<Id,Set<String>> In my code. I have a loop structured as this: for(value : data) { for(String string : Map.get(value) { //Do something } } When I do this ...
0
votes
1answer
30 views

Loop Element not reaching If Condition

Really two different things here. What this is doing is comparing the Email addresses of an external platform (Zuora Billing platform) to email addresses and accounts that already exist within SFDC. ...
0
votes
1answer
14 views

Schedule Automation using script activity

I have a case where I built a file drop automation that contains an import followed by a script activity. Inside this file I'll be uploading a date. If the date matches current date, I want one ...
0
votes
2answers
609 views

How to retrive deleted vf page

unfortunently Visual force page is deleted how i can retrive from my developer account please help me any one.it is not available in the Recyclebin so how we can retrive that page from my account......
0
votes
0answers
6 views

i have trigger which is firing from parent to child records and another child trigger is getting the apex cpu limit exeception

Below trigger is my parent to child trigger to update the dates based on conditions this after update .which is not allowing another child trigger getting the cpu limit exceeded. trigger ...
1
vote
1answer
746 views

How to pass values between two components

In a VF page, I have two i.e. A and B.In first component,there is a search box. Second component will display data type in first component search box. So How can I pass data between these two ...
0
votes
0answers
12 views

Scheduled Job trigger is 9 hours delayed

I have a set of records(around 90,000 records) to be updated at 1AM every day. But I cannot update at least 10,000 records in a bulk as salesforce reaches governor limits. Then I wrote a schedulable ...
0
votes
1answer
390 views

OpenID Connect - ID Token vs Access Token

I have setup a connected app with the "openid" scope. Using the web server flow, my callback is able to get the Open-ID JWT from "id_token", generated by Salesforce. My API has no problem validating ...
0
votes
0answers
9 views

How to add Create/Delete support to a field history tracking trigger

I'm new to APEX coding I've got this implemented What is the best workaround for the 20 field history tracking cap? Now I want to implement support for onInsert and onDelete creating history records. ...
0
votes
1answer
13 views

Increase Size of Checkbox using slds styles

I have an input field that looks incredibly small. It's a checkbox, and I would like to increase the size of the box. disclaimer: 'Images in screenshot may be larger than they appear' :D Html <...
0
votes
2answers
293 views

Field History tracking limit

I know that we could track 20 standard and custom fields from custom objects. I thought we cannot track more than 20 fields per object. But in sandbox, i have a custom object where there are more ...
0
votes
1answer
18 views

SOQL for All Activities Under a Role

I have a report that pulls back all activities under a role but it can only pull back a years worth of activities since Salesforce archives them. So I am wondering if I can take the filters on my ...
0
votes
0answers
15 views

Not able to retrieve data from apex class using lwc

I am learning lwc and got stuck in the getting data from Apex class. Below is the code JS: import { LightningElement } from 'lwc'; import getAccountList from '@salesforce/apex/AccountController....
0
votes
1answer
18 views

Need two different page layouts. one for when you create a record with list page New button, another for the detail page

I have the following requirement: I need 2 layouts, one when a user clicks on the standard New button on the Lead list page. Here the users sees all the fields and fills the neceeasary fields and ...
2
votes
1answer
618 views

Best practice for new user notification when using Federated SSO

When new users are provisioned in SFDC from the standard UI, there is a checkbox for "Generate new password and notify user immediately". This sends an email to the new user with all his/her info. ...
0
votes
1answer
18 views

Test class for Wrapper Class Method

I have wrapper class WrapperDemoClass, writting test class for this getwrapperObj method. in the below test class how to read the wrapper class return list from test class. Getting In valid type ...
27
votes
3answers
17k views

What is the best workaround for the 20 field history tracking cap?

Feel like I am missing the point of Field History Tracking. Before going any further, here are the Salesforce Limits from the Salesforce Limits Quick Reference Guide date June 2, 2014: Edition (...
0
votes
1answer
283 views

VS code for Lightning Web Component

Suddenly started getting below error in my VS code while deploying components. Error: Parse error in file C:\Users\cccccr.sfdx\stash.json on line 1 FILE HAS NO CONTENT
0
votes
2answers
57 views

How to catch save record action in NavigationMixin LWC?

I have a pice code: navigateToRecordEditPage(event) { this[NavigationMixin.Navigate]({ type: 'standard__recordPage', attributes: { recordId: event....
0
votes
1answer
1k views

Picklist values for selected picklist field

I have a VF page to select Object and Picklistfield and then list out picklist values, if the pick list field is dependent picklist then the values need to be concatenated list of picklist value of ...
0
votes
0answers
12 views

Not able to Sort Url Column in LWC Datatable

i am trying to build datatable where I want to show Product Name as url so that User can go that particular record JS where i am making my name field as URL { let nameUrl; this....
0
votes
0answers
6 views

Visualforce Email template to get details from child records

I have accounts that can have 2+ entitlements and each entitlement has entitlement contacts. Example Below: Account = TestAccount1 Contact1 = John Smith Contact2 = Deb Smith has below 2 ...
0
votes
1answer
22 views

How to retrieve PersonAccount field picklist field value set with sfdx?

We have our org configured with person accounts, and have the Health Cloud managed package installed. The Health Cloud managed package adds a field HealthCloudGA__Gender__c to the PersonAccount ...
0
votes
0answers
9 views

“Edit” Apex classes suspiciously disappeared from my view

I used to be able to simply open an Apexclass and edit it. Now I cannot see "edit". I have "Author Apex" permission on my profile. What has changed?
1
vote
1answer
138 views

Error Occurred During Flow Action name not found: null. Need to force Class Compilation?

I've occasionally been running into a problem when installing a managed package I'm creating. A simple Screen Flow where at the end it is using an Action to call into an InvocableMethod I am providing....
0
votes
1answer
701 views

display image in json response in Apex

RestResource(Urlmapping='/v1/test/*') global with sharing class DD_Rest_Test{ @HttpGet global static Response getData() { Response resp; RestRequest req = RestContext....
2
votes
1answer
29 views

Queueable apex invoked from triggers doesn't inherit sharing correctly

Consider the following class: public inherited sharing class testQueueableSharing implements Queueable { public void execute(QueueableContext context) { update [SELECT Id FROM User WHERE ...
0
votes
2answers
2k views

Dynamic target bar/ reference line

Is it possible to have a dynamic target bar? What I mean by this is say depending on what filter you select, the target bar will change. So if I set a filter to 'work group', depending on what I ...
5
votes
2answers
2k views

How can I pre-populate a lookup field in lightning:inputField?

I have been trying to pre-populate a lookup based lightning:inputField with a default value. The code below renders a lookup field that works but I would like to be able to set a default contact in ...
0
votes
1answer
14 views

forceignore files with prefix

I have a bunch of apex classes that start with a prefix such as: et4ae5__HelpLinks.cls et4ae5__Manual.cls cwbtool__CodeComparator.cls cwbtool__ConnectionCtrl.cls How can I ignore anything that ...
12
votes
3answers
216 views

Not being able to reference packaged custom LWCs from other LWCs outside the package

This restriction referenced from Distribute Components on AppExchange: A custom Lightning web component can’t access a Lightning web component or module in a custom namespace. It can access ...
0
votes
1answer
13 views

How can I build a Custom Link Button that navigates to a URL specified in a Custom URL Field?

We currently use a couple of URL fields to deep link to external systems. I'd like to create buttons that can navigate to those URLs. Creating a Custom Link & populating it with a URL Field didn'...
1
vote
1answer
776 views

CRUD with help Lightning Component

Please show me example how work with CRUD in Lightning Component: I want to create order system for restaurant. User is waiter. He make all CRUD operation with orders. There are "close" and "open" ...
0
votes
1answer
23 views

How to show fields from different Objects in a single lightning-record-form in LWC

There is a use case in which we have to build a form using lightning-record-form. We have to display the set of fields from different objects into that form in different accordion sections. I was ...
2
votes
0answers
14 views

Is there a way to make field level data classification required before creating a new custom field?

End user has stringent policies on data classification and controls. Need to have policies and procedures in place to ensure all fields are reviewed, classified and if highly sensitive, encrypted. ...
0
votes
0answers
8 views

Metadata Api name of “Manage Public Lightning Email Templates”?

As the title says, what is the API name for Manage Public Lightning Email Templates? Although I enabled/disabled it and fetched profile, I do not find any Metadata API name matching this ...
0
votes
0answers
13 views

SAVE button on VF page not working, it remains on EDIT and doesnt go back to main page on CASE object, I used standa

I have a basic visualforce page on the Case object which is just displaying some fields for a user when creating new records or open existing record. When I click on Save, the record gets Save or ...
0
votes
0answers
9 views

Lightning Out + Salesforce SAML Assertion flow

We have three systems: A Portal that is not Salesforce Salesforce An ID provider (in my case is Microsoft AD) for both Portal and Salesforce The user want to create Accounts in SF from the Portal ...
1
vote
1answer
332 views

Can we sort report columns using Report API via APEX? I found this on the document 'Reports.ColumnSortOrder' but there's no example

I have the below codes to get and run report using Reports API via apex but I need to the sort the first column of the report. List <Report> reportList = [SELECT Id,DeveloperName FROM Report ...
0
votes
1answer
1k views

Remove a Global Quick Action from Salesforce 1 App Home Page

I am viewing my home page in sf1 app. There I can see a global action Called New Contact. What I want to understand is is there any way to remove it from Home page? I want to add a custom quick action ...
0
votes
1answer
12 views

Skill Based Routing - Assign a skill to a Public Group/Queue

Just started working with Omnichannel's Skill-based routing - the business asks if it's possible to assign a skill to a set of users via public group or queue. Example: I've got users Bob, Jane, Jim. ...
0
votes
1answer
11 views

Invalid Bind Expression type of Date for column of type String

I am working on an API end point that returns data and allows user to pass in a 'createdDateStart' to filter records on a Formula field called Formatted_Created_Date__C. The contents of the formula ...
0
votes
1answer
15 views

Error deploying process to scratch org: “A condition has a reference to… which doesn't exist.”

We have a process which has this criteria: The XML metadata for this workflow has: </conditions> ... <leftValueReference>myVariable_current....
0
votes
0answers
29 views

VSCode encountering error with Java/

I'm trying to use VSCode for my Salesforce Org, I set it up and connected to Salesforce org. and whenever I'm trying to run the Classes, Triggers. it showing me this problem below An unsupported ...
0
votes
0answers
14 views

bulk insert records using dynamically add row Help with custom validation

Lightning component : to create multiple records to dynamically add row functionality. Account Name ...
10
votes
0answers
58 views

System.requestVersion() does not work in Second Generation Packaging

Environment sfdx-cli/7.58.2 win32-x64 node-v12.16.3 API 48 What's going on? When trying to create a managed packaged version with Second Generation Packaging (2GP) -with code check- that contains ...
0
votes
0answers
13 views

Error while importing contact in mobile connect

When I try to import below csv file via Import Contacts of MobileConnect, I get this error in UI. An error occurred attempting to save your new list build. Contact Global Support for additional ...
0
votes
1answer
498 views

List View Action not visible to Community Users

Problem 1: I have created a new custom Lightning Action which will run a flow. I have edited the relevant object's List View search layout so that the new Action is selected to display in list views. ...
0
votes
1answer
29 views

How to create blank space in lightning-record-form?

I am using a lightning-record-form to enable view and and edit. I have specified a custom list of fields displayed in two columns. The fields populate in the columns left to right and then top to ...

15 30 50 per page
1
2 3 4 5
2090