Is it possible to automatically reference information from another collection?

I’m having an issues figuring out a way to display the users username on their own post in a feed i created. Just recently i have figured out that you can reference information from another collection, but i realized the referenced data needs to be manually set in the collections fields. I have a collection for the users statuses which contains an image and description. I also have a collection for the users profile info which contains their Email, full name, profile bio, profile image, username and their ID. Essentially, i just need to figure out a way for the user to submit a post and their username to be attached to it. Any assistance would be greatly appreciated!

Hi,
You can use the insertReference() function to insert a reference using code.