+ Start a Discussion
PaulTPaulT 

sfdx source pull and list views

Hi,

I created a new non-private list view for an object, and when doing a source:pull, the new list view is not returned.
I copied an existing 'All' list view, renamed it, then did a source:push.  The new list view is visible on the object.

Can list views not be pulled, only pushed?

Thanks
Dev_AryaDev_Arya
Hi PaulT,

sfdx is sometimes difficult to understand. As fas as I know, only the changed components can be retrived from the org. According to SF documentation: "By default, only changed source is synced back to your project."  This is mentioned here. https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_pull_md_from_scratch_org.htm
Just for fun, try changing something in the list view metadata like columns and pull.. I think you will retrieve it then. I am also learning sfdx, so please dont mind if my answer is wrong. 

Cheers,
Dev
PaulTPaulT
Hi Dev,

Thanks for the reply.  I did as you suggested and the updated All listview did not come down in the pull.  

Thanks,
Paul