Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

How should I solve this error I'm facing trying to push source to default scratch org?

So, I been trying to push the source code to the default scratch org which i have created using VS Code but I keep getting this error. Starting SFDX: Push Source to Default Scratch Org 00:14:34.116 ...
user avatar
  • 1
0 votes
0 answers
31 views

SourceMember records behavior and lifespan

With source-tracking activated scratch and dev orgs you will find the SourceMember sObject on Tooling api. I have observed that whenever a change is made in the org, a record is created in its table, ...
user avatar
  • 188
0 votes
2 answers
57 views

Trying to get the 'source' url to salesforce leads (web-to-lead / salesforce)

I am trying to get the page url (from where the user fills in the contactform) to my leads in salesforce. I've got this code so far: add_filter( 'salesforce_w2l_field_value', '...
user avatar
  • 1
0 votes
2 answers
149 views

Discover Schema of Source + Metadata XML formats

The Open Source Static Analyser PMD is now supporting not only Apex but also rules on arbitrary XML metadata. Using flexible XPath expressions that verify the structure and attributes of XML. I am ...
user avatar
1 vote
0 answers
513 views

SFDX force:source:retrieve won't pulldown Workflow, WorkflowFieldUpdate, WorkflowRule, WorkflowAlert

I have tried the following: sfdx force:source:retrieve -m "Workflow, WorkflowAlert, WorkflowFieldUpdate,  WorkflowRule, ApprovalProcess, CustomObject:FF__Process__c" Trying to get a specific ...
user avatar
1 vote
2 answers
71 views

Is there a size limit in performing sfdx force:mdapi:convert?

I am attempting to convert a large src directory in mdapi format into source format. When I run "the sfdx force:mdapi:convert -r directoryToBeConverted -d directoryToCaptureConversion --loglevel ...
user avatar
0 votes
1 answer
2k views

Source Tracked vs Non-Source-Tracked org

What's the difference between these 2 kind of orgs? It seems Trailhead Playgrounds orgs I am creating are non-source-tracked org and certain CLI commands can't be run against it. How I can identify ...
user avatar
1 vote
1 answer
69 views

Can we hide or explicitly command not to post summary after executing DX commands?

I'm preparing an automated bash script, and during the execution, I intend to first convert a Metadata API repository to DX formatted structure and then push it into a Scratch org. For example, ...
user avatar
  • 5,606
0 votes
2 answers
143 views

Source Control Metadata Types

I'm looking for recommendations on what metadata types to track when getting started using source control. Is it better to start with only code related metadata (apex, vf pages, lightning) and to ...
user avatar
  • 11
1 vote
1 answer
145 views

XML format for IP Ranges in Security Settings

I'm trying to use sfdx for source based development. Trying to define the range of whitelisted IPs in Security.settings-meta.xml. When I push my code to my org I get an error: Error force-app/main/...
user avatar
1 vote
1 answer
234 views

source:convert command fails with error "The "path" argument must be of type string. Received type object"

sfdx force:source:convert --sourcepath force-app -d deployment ERROR running force:source:convert: The "path" argument must be of type string. Received type object What am I doing wrong here? ...
user avatar
  • 8,342
0 votes
1 answer
46 views

Confirm who is sending data to our Marketing Cloud

So I inherited a business unit in Marketing Cloud, and we have one triggered email whose data source I can't locate. Is there a way to confirm all the data sources/APIs that are connecting to a ...
user avatar
1 vote
2 answers
7k views

sfdx Retrieve Custom object from one org to another org

I do have a Custom Object Animal from an org called ORG1 and I want to retrieve from this ORG1 to another ORG2, so Is that possible to retrieve it with commands without using the package? I am doing ...
user avatar
2 votes
0 answers
883 views

ERROR While running sfdx force:source:deploy command

I am getting an error while running: sfdx force:source:deploy -u Sandbox -x pathToPackage.xml My deployments were just fine but after I did a sfdx force retrieve from a sandbox then I started to get ...
user avatar
  • 389
9 votes
1 answer
3k views

How to format Apex code more flexible than with Prettier

Note: This is a Salesforce-specific question so don't close it. Salesforce has contributed a Prettier plugin for Apex so in other forums people cannot help me. I'm new to Prettier and couldn't ...
user avatar
1 vote
0 answers
104 views

SFDX source deploy antivirus scanning

I have a jenkins server runnig a sfdx source deploy command. Compared with mdapi it is much slow. In my case 20 min more, but I found out that anti-malware of the server anti virus, is scanning the ...
user avatar
  • 11
0 votes
1 answer
490 views

Push source to scratch org fails but mdapi:deploy works

I am in the process of converting an existing Managed Package to Salesforce DX and Retrieved the Metadata from the packaging org Converted it to Source format Created a scratch org and pushed source ...
user avatar
3 votes
1 answer
580 views

sfdx force:source:pull fail with community member page layout

I am receiving the following error message during a pull from my scratch org: ERROR running force:source:pull: Entity of type 'Layout' named 'null-Community Member Layout' cannot be found It is ...
user avatar
0 votes
1 answer
339 views

Workflow to edit fields on converted leads

I'd like to create a workflow (ideally in Process Builder) that changes LeadSource on the Lead record after it has been converted when AccountSource is changed on the Account. Context: inbound leads ...
user avatar
  • 1
6 votes
2 answers
1k views

Unusual error when I try to sfdx force:source:convert

I'm using the exact same methodology and commands I've used dozens of times, and now I'm getting an error. VS Code, latest version; sfdx extensions, latest versions. I want to convert my source to ...
user avatar
3 votes
1 answer
2k views

Does the option to validate a deploy without saving for metadata that aren't in the Metadata API format exist in sfdx?

Is it possible to deploy metadata with sfdx to orgs that don't have source tracking, such as sandoboxes, either with sfdx force:source:deploy or sfdx force:mdapi:deploy? The first one uses metadata in ...
user avatar