I have been going round in circles trying to figure this out today.
I have a the members area set up. It works fine.
Through a custom sign-up form and some custom fields, I get a member registered in the PrivateMembers Collection with the custom fields stored in Contacts. One of those custom fields is OrgName…the name of their organisation. That organisation name is actually is selected from another collection (Called memberOrgs) that has a bunch of info about each organisation, including a logo image.
What I am trying to do is have members write to another, unrelated, collection where they can submit information for use on my site. There are 4 things I want need to capture from then and 3 things I want to complete without them having to input anything – 1. their name, 2. organisation name & 3. logo. The basic write operation works fine but I don’t want them to have to re-enter those 3 things I mentioned - as I want the overhead on the user to be minimal.
I can capture their name during submission from the PrivateMembers Collection through querying that collection with current user…so I have 1 of the three issues taken care of. I cannot subsequently figure out how to grab the organisation name (from Contacts) and then the organisation logo (from the memberOrgs collection).
Can someone give me a push in the right direction?..I have been Googling for an example similar to this but have not been able to find one. I feel like it should be possible but access to Contacts is limited…although I think there may be a way to access it through the backend CRM velo tools. If I need to use a JSW routine in the backend, I feel like this might be doable…but I am not sure how.