OK, so these are screenshots of my custom fields settings.
https://asia.41.pl/wp-content/uploads/2022/01/1.png
https://asia.41.pl/wp-content/uploads/2022/01/2.png
https://asia.41.pl/wp-content/uploads/2022/01/3.png
I created one field for file upload for users. So I test it and add that file as a user via the front-end form. And after submission I'd like that file to be displayed in the user account page. So I created a view to display that field and I inserted its shortcode into My Account template. But the file is not visible in the account. It is an entry in my CPT but not in the user profile. I thought if I enable custom fields location for users, the files will go to users profiles as well.
And if I edit the user profile as an admin from the backend, and upload the file via the form directly from there, it is visible in the frontend in My account.
I hope it's clear... 🙂