Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [developer]

The tag has no usage guidance.

0
votes
0answers
9 views

Can we Set the presence status in omni channel for multiple users at once via apex code

Hi i am trying to set the presence of multiple users that are using omni channel and i have gone through the documentation that the salesforce provide for omni channel but i cannot find any direct ...
0
votes
0answers
23 views

I marked fields as mandatory on page layout. but it is not marked as mandatory on detail page

I have scenario, I marked some custom fields mandatory to register a lead and it's working fine with new Lead. But after registering Lead, when I go to detail page of that Lead, there is no single ...
0
votes
0answers
11 views

Customize Salesforce Developer Console CSS stylebot

Is there a default css style to change the highlighting color in the SF developer console? I use CodeMirror-matchingtag, VARIABLE_DECLARATION and a few others but I would like to change the color when ...
0
votes
0answers
11 views

Is a visualforce page created when setting up live agent

Through the setup of live agent is there a visualforce page created automatically along the process? Or will a custom visualforce page be needed to be created in order to override functionality to the ...
0
votes
1answer
40 views

Upload a file attachment without apex:inputfile

I think the title explains it all. I am having a hard time finding a way to upload an image attachment without using the apex:inputfile component. I am building a UI free of any apex components. I am ...
1
vote
1answer
35 views

DmlException: Merge failed. First exception on row 0 with id first error: DELETE_FAILED

Error: System.DmlException: Merge failed. First exception on row 0 with id first error: DELETE_FAILED,TargetX_SRMb.ContactTrigger: execution of AfterDelete caused by: System.NullPointerException: ...
2
votes
0answers
28 views

Process builder with multiple actions

Currently I have the task of creating a process builder that creates a billing record. On update/edit if [create billing statement] is checked then it runs. action 1: create billing record action 2:...
1
vote
1answer
19 views

How to validate a encrypted field

on the best practice section of this documentation: https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/fields_about_encrypted_fields.htm it says: You can ...
1
vote
1answer
21 views

I want to connect my salesforce for POST services to an external system using my server

I am getting 'Service Not Available - 503'. But when I try with postman, it working fine. I have also update remote site access as well. Please specify if some setting needed regarding IP or ...
0
votes
1answer
52 views

Related search for lookup. I have 3 different obj, Opportunity, Brand__c and Corporate__c

Flow is, 1st I register Corporate(Independently) and then brand. Each brand is associated to one corporate. In opportunity I want to choose Corporate which is a direct lookup and then Brand. Question ...
0
votes
0answers
16 views

Script to add visualforce page to Site 'Inactive Site Home Page'

Is there any way i can automate the process of adding a visualforce page to active sites 'Inactive SiteHome Page' upon creation of sandbox using SandboxPostCopy ?
0
votes
1answer
21 views

Oauth2 - Refresh Token Flow for Sandbox

Is there any other way to get refresh token in Oauth2 flow for sandbox using the same url (login.salesforce.com) as the url for production? We figured that we get 400 because we used this url and not '...
2
votes
2answers
191 views

Create a validation rule to check that a contact is in the zip code of its account

I think i misunderstood validation rules, so i answered the following challenge creating a validation rule that only applies if the insertion is different for what i write in the rule: AND(ISBLANK( ...
1
vote
1answer
273 views

No option to ask a question in https://developer.salesforce.com discussion forums [closed]

I am trying to ask a question on https://developer.salesforce.com Discussion Forum, but there is no link/button to ask a question there. Please guide me as to where can i ask a question there...
-1
votes
1answer
27 views

In apex how to know the whether a batch is schedule or it's running?

I want to know the status of a batch like whether it is schedule or it's running
0
votes
0answers
26 views

How to send data which increases after the base64 encoding?

I'm trying to send an attachment through api call, my file size is 4.5mb which increases to more than 6mb after base 64 encoding. and it start throwing error of 6 mb limit which salesforce support for ...
3
votes
2answers
623 views

lwc: sfdx unable to retrieve lwc files

I am currently working in a dev org and I have installed the LWC e-bike component (https://github.com/trailheadapps/ebikes-lwc/tree/master/force-app/main/default/lwc/orderBuilder) When I create the ...
0
votes
1answer
18 views

How to make a call out from batch which (batch) get schedule from trigger?

I'm trying to call a method which do an api call. But I'm getting an error because this method get call through the process ran by batch and this is getting schedule from trigger. So even if i ...
1
vote
1answer
28 views

Setting a From Address while sending Email

How do we set From Address while sending email using messaging.SingleEmailMessage. I have got a solution which uses setOrgWideEmailAddressId to set from address, OrgWideEmailAddress[] owea = [...
1
vote
1answer
1k views

Error: SFDX Deploy source to org

Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package directory that's specified in your sfdx-project.json file. Add this location to your ...
1
vote
1answer
919 views

SFDX: Create a Default Scratch Org… failed to run [duplicate]

ERROR: The signup request failed because this organization has reached its active scratch org limit. 11:13:42.653 sfdx force:org:create -f config\project-scratch-def.json --setalias treailhead --...
0
votes
1answer
161 views

How to upload large files in Lightning?

I am loading lightning page through visualforce page. I know Salesforce provides lightning tags for file upload but it does not work when you are loading lightning component through Visualforce page. ...
0
votes
1answer
122 views

Pros and cons of lightning view? [closed]

What are the pros and cons and the different between classic view and lightning view? (as a developer) .. beside the different of the UI (ofcourse it looks more cooler and user friendly).. I dont ...
1
vote
2answers
142 views

Create List of Strings from Another List of Object Records

I am new to Salesforce development and I am trying to practice by creating a list of strings deriving from another list of object records created from a query. My code is the following.... public ...
0
votes
1answer
21 views

Are there any good resources to learn force.com sites? Like blogs, Video tutorials etc? [closed]

I need to learn force.com sites development. There are no trailheads as far as I know. So are there any blogs or video tutorials to help me learn this?
0
votes
2answers
55 views

How to get IP of someone downloading files

I'm writing a class that implements Sfc.ContentDownloadHandlerFactory and I want to know on each download attempt, the IP of the person who downloaded the file. I'm aware of UserInfo.getUserId() but ...
0
votes
1answer
597 views

Is there a way to get the list size from map<string,List<Sobject>>

Is there a way to get the list size from a map<String,List<Sobject>>. I don't want the size of the map which can be evaluated using map.size(). I am looking for the size of the list in ...
1
vote
1answer
113 views

How can i override Account standard new button with lightning component for managed package?

I have already overridden new button with the lightning component in my org but when I make a managed package out of it and install it some other org, it doesn't override it, we manually have to do ...
8
votes
0answers
1k views

Debugging Lightning Components worse in Communities in Winter 19? [NoErrorObjectAvailable] Script error

Debugging little javascript errors has become a nightmare (again.. feel like this is how it was a year ago and earlier). Simple errors it seems, like referencing a controller method that does not ...
1
vote
1answer
86 views

Apex Generation Failed - WSDL problem - SOAP

I'm trying to solve this problem with Salesforce. I'm trying to generate apex classes from WSDL (converted from WADL) Parsing works correcly without any errors and warning. But I can't generate the ...
0
votes
0answers
27 views

Lightning component on field number doesnt allow component.set in production but ok in sandbox

I have created a component, that consist of 2 checkboxes, and 4 fields (3 currency fields, 1 number), and a button that save this into a related record. I have seen some similar questions asked ...
1
vote
1answer
47 views

Combining result sets from SOSL query

When I query SOSL with multiple RETURNING objects, the result comes as a list of lists, each for a different sObjectType, each sorted by default by the "relevance" of each record in the result set. ...
-1
votes
1answer
61 views

Refactor SFDC data model? [closed]

I recently joinged a 400+ SF users  company as architect. I observed previous implementation were not as per best practices and lead to bad data quality and Insights. I have been asked by business to  ...
2
votes
1answer
198 views

Journey Builder: how to integrate async results from a Custom Activity in flows & statistics/reports?

(This is a rookie question, sorry if my question is based on wrong or inaccurate premises). I'm trying a build an understanding about how Journey Builder - and Custom Activities in particular - work (...
0
votes
0answers
50 views

Getting error when Clicked Chrome Browser Back button from VF page based on List View

I have a VF page which when displayed errors on Save and then at that time if user clicks on browser back button one time it leads to a browser error page with error "This webpage requires data ...
0
votes
1answer
171 views

Auto Task Creation

I have created Flows and Process builder process for renewal opportunities, where renewal opportunities are created 1 year from the close date of current opportunities. Now business user requirement ...
5
votes
1answer
103 views

Is there a free licence or alternative pathway for a solo developer to release an app using DX?

So I'm currently working as a Salesforce developer. I have a few ideas for apps /cli plugins that I'd like to develop and release in my own time. To do this in the way I want to work, I need: - Vs ...
1
vote
1answer
28 views

Is it possible to try DeveloperX orgs (DevHub) in Salesforce Enterprise Trial Edition?

I was wondering if this is possible to try out without touching the real Production environment. It seems we cannot create APEX in Enterprise Trial. It seems like they haven't allowed any ...
-1
votes
1answer
78 views

how to coverage this method on the class test?

@AuraEnabled public static Map<String, object> botaoExportarNovo(Map<String, object> btnExportar){ Map<String, object> mapaObj = new Map<String, object>(); ...
0
votes
1answer
20 views

Upsert everynow and then creates a duplicate

Every now and then I have a duplicate account been created from a piece of code that looks like the one below, where there is only 1 upsert in the whole code. I am wondering why sometimes it creates ...
1
vote
1answer
3k views

Git: no changes in this file have been detected, or it is a binary file

I have refreshed a sandbox a few weeks ago and since then all the files in the repository are "marked" like if there was a difference but they are not, showing the message: No changes in this file ...
0
votes
1answer
550 views

Integrating Knowledge into an existing website

I'm looking into leveraging our existing presence on Salesforce to create a help resource for our customers. My problem is that I am completely unfamiliar with Salesforce and need to somehow integrate ...
1
vote
1answer
401 views

PDII certification

I have completed all four of the super badges, Apex Specialist, Data Integration Specialist, Lightning Component Framework Specialist, and Advanced Apex Specialist. Is it OK to appear for the ...
2
votes
2answers
199 views

Is it possible to run a CloudPage locally?

If you're familiar with CloudPages, you will have noticed the lack of a proper debugger. If the page fails, the only error you get is a "error 500 internal server error", this is not useful at all ...
0
votes
2answers
20 views

Error in Territory Name

I need to get the Name of the Territory to assign it to a field, but when I try it, it generates an error. this is my code: List<UserTerritory> myList = [ select Id, UserId, TerritoryId ...
1
vote
2answers
47 views

In csv file getting system.Address[getCity=xxx] how can i handle this

I'm working on csv files for specific standard object. In this i'm querying the fields dynamically in batch class and it was created a .csv file in my document folder but when i was open my csv file ...
-2
votes
1answer
102 views

External website doesn't login ondemand through iframes?

public class CreateEvent{ public Test__c login; public CreateEvent(ApexPages.StandardSetController controller){ this.login= (Test__c)controller.getRecord(); ...
2
votes
1answer
253 views

How can i make a lead conversion fail in test class

I have a trigger to convert Lead to Contact. For some reason it wasn't converting some automated incoming leads. To figure that out, I added Email Messaging so anytime it fails, it will send an error ...
1
vote
1answer
144 views

Regex when set up in custom setting not working giving error

I have set up a regex to match couple of strings. When I use this regex in Apex class directly as string, it works correctly. However when i use the same regex from a custom Text field in Custom ...
-2
votes
1answer
191 views

How to save the related list data changes from visualforce page?

I'm trying to save the data from visualforce page to salesforce.But after click the save button no action performed. Please check it once this line <apex:commandButton id="saveBtn1" value="Save" ...