Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

Vs Code Scratch and Production Org credentials are the same (can't pull sources from production)

I'm working in a collaborative training, and created a scratch org, and then tried to open in another window the production org to track changes. The thing is, that both orgs have the same credentials,...
Willys_fueguino's user avatar
0 votes
0 answers
44 views

How to search through all queries in Marketing Cloud? [duplicate]

We have tons of queries in our Marketing Cloud org, and we would like to know which queries use a specific field (because something is going to happen with that field). For Sales Cloud this is easy: I ...
Sander de Jong's user avatar
0 votes
2 answers
370 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 ...
Mohit's user avatar
  • 1
0 votes
0 answers
106 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, ...
mdenavac's user avatar
  • 312
0 votes
2 answers
247 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', '...
Ben's user avatar
  • 1
0 votes
2 answers
315 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 ...
Robert Sösemann's user avatar
1 vote
0 answers
1k 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 ...
Shuaib Ahmed's user avatar
1 vote
2 answers
148 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 ...
jschleicher's user avatar
0 votes
1 answer
3k 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 ...
itsaboutcode's user avatar
1 vote
1 answer
153 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, ...
VarunC's user avatar
  • 5,940
0 votes
2 answers
321 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 ...
dgrus's user avatar
  • 11
1 vote
1 answer
285 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/...
switchboard.op's user avatar
1 vote
1 answer
3k 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? ...
javanoob's user avatar
  • 8,847
0 votes
1 answer
50 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 ...
chorlesbarkley7's user avatar
1 vote
3 answers
17k 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 ...
Mar Andrés López's user avatar
3 votes
0 answers
1k 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 ...
Alias311's user avatar
  • 399
11 votes
2 answers
6k 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 ...
Robert Sösemann's user avatar
1 vote
0 answers
155 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 ...
GBsky's user avatar
  • 11
0 votes
1 answer
611 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 ...
Robert Sösemann's user avatar
3 votes
1 answer
648 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 ...
Konfár András's user avatar
0 votes
1 answer
483 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 ...
Trevor's user avatar
  • 1
6 votes
2 answers
2k 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 ...
PatMcClellan__c's user avatar
4 votes
1 answer
3k 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 ...
gvgramazio's user avatar