Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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, ...
0
votes
2answers
46 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', '...
0
votes
2answers
119 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 ...
1
vote
0answers
310 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
22 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
48 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
1k 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
55 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
121 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
102 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
195 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
5k 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 ...
2
votes
0answers
757 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 ...
9
votes
1answer
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 ...
1
vote
0answers
82 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
424 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
554 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
244 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 ...
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 ...