Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
1answer
18 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
-3
votes
0answers
19 views

logic requirement for an xyz television channel [on hold]

Logic Requirements This section of the document details the automation that the candidate is required to implement programmatically. XYZ Broadcast Planners want to know how many times a Commercial is ...
-1
votes
0answers
13 views

how to find this date from being greater than 14 days from the Broadcast Start Date [on hold]

Broadcast Stop Date: The latest date in which the XYZ customer wants the Commercial to be broadcast. This field defaults to 14 days from the current date on new Commercial records. A Validation Rule ...
-1
votes
0answers
8 views

How to query only unlock record in apex which was not locked by the batch ? Or apart from query is there any other way [on hold]

I have a batch which queries lead records and converts it. But if back to back same batch start it's unable to convert some records since it got already converted by another batch. Please suggest a ...
0
votes
0answers
18 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 ...
1
vote
0answers
41 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
14 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 ...
0
votes
0answers
15 views

unzip unpackaged.zip -d [closed]

unzip : The term 'unzip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is ...
1
vote
1answer
22 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
56 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 ...
0
votes
1answer
25 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
31 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
41 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
53 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
20 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
48 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
127 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
46 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
325 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
67 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
53 views

Exam is already in cart when registering for Salesforce Certified Platform Developer I (SU18)

I am getting exam is already in cart when registering for Salesforce Certified Platform Developer I (SU18). Where can I find the cart? When I click on the circle nothing really happens.
0
votes
0answers
24 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
36 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
54 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
122 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
33 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
54 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
90 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
67 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
19 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
2k 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
262 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
283 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
163 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
18 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 ...
0
votes
0answers
35 views

Dynamic Impression Regions

I am trying to find an alternate way to fill in the Impression Region Dynamically with a variable I have tried just using the variable and I get a syntax error and the code displays as plain text when ...
1
vote
2answers
39 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
81 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
182 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
102 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
148 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" ...
0
votes
1answer
198 views

How to update the lookup field with passing the string value of name?

This line doesn't update adobeevent.LightiningEd__Webinar_Attendees_Status__c = userNode.getAttributeValue('Name', null); LightiningEd__Webinar_Attendees_Status__c field is the lookup field Name ...
-1
votes
1answer
67 views

values are not receiving dynamically in REST API

I wrote the batch and pass the values to REST apex class but when executing the endpoint url it doesn't take the values of fields it only takes names. this is my batch job global class ...
0
votes
1answer
191 views

Global Phone Numbers formatting

I am looking for a way to format Phone numbers on global standards in Contact object based on the Users Locale, as default for USA and Canada platform formatting the as (EX: (897) 814-8981) base on ...
0
votes
0answers
962 views

How to use “onChange ” on lightning components? [duplicate]

I'm working on salesforce communities and here i'm trying to achieveing is once the community user login it displays a dropdown button with community user accounts,here by selecting the one ...
-1
votes
1answer
38 views

returns empty() values

I'm trying to retrieve the contact's account opportunities i gathered all opportunities but when i'm trying to retrieve all opportunities it printing empty. this is method @AuraEnabled public ...
2
votes
1answer
427 views

Dev Hub missing in Setup

I want to enable Dev Hub in my Production Developer Salesforce Org. I'm in Lightning mode as an Admin. If I go to Setup, and type 'Dev Hub' in the Quick Find box nothing appears. How can I find this?...
0
votes
1answer
41 views

Is it good option to host Java based web applications on SalesForce [closed]

can anyone explain me the following queries regarding web application hosting on Salesforce since i am very much new to the Salesforce Can we deploy enterprise java based web application? or should i ...
0
votes
1answer
61 views

Delete salesforce trigger

I want to delete apex trigger called RollupCertificationEmail.i install the IDE and make Inactive the the XML from the sandbox but when i tried it to deploy it on the production it is giving me this ...