Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
2answers
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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
18 views

sfdx won't pull down full profile information [duplicate]

I'm using sfdx force:source:retrieve -m Profile what returns is a list of profiles but only the userPermissions, none of the object permissions or other things.
1
vote
2answers
27 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 ...
0
votes
1answer
601 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 ...
1
vote
1answer
38 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, ...
0
votes
2answers
87 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 ...
1
vote
1answer
42 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/...
1
vote
1answer
138 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? ...
0
votes
1answer
45 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 ...
1
vote
2answers
2k 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 ...
9
votes
1answer
2k 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 ...
2
votes
0answers
665 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 ...
1
vote
0answers
55 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 ...
0
votes
1answer
347 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 ...
3
votes
1answer
511 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 ...
0
votes
1answer
124 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 ...