Updates: when a user save a new update, it’s linked to the user
Company: when the user signs up, it creates a company linked to this user
I want to link User’s Updates to the User’s Company.
The issue is here. How to do that?
I have a field in the Company datatype that is called Update and is a list of Update.
I have a field in the Update datatype that is called Company and is the Company datatype
When the user clicks on Save update, I want to link the update to the Current User Company. How do to that?
When the user clicks on Save update, I want to link the update to the Current User Company. How do to that?
Just set the Company field to the current User’s company.
Then, if you really need to (and I’d question whether you actually do), you can add the Update to the Company’s list of updates (although that may not be such a good idea).
It’s worth pointing out though that the Company and Update are already indirectly linked (via the User) - you can access company data from the Update’s User’s Company), so you may not really need to link the two directly anyway.
It depends on what you’re intending to with with the data, and how you’ll need to access it.
I setup like this but when I click on the save update button, the Company field of the update is still blank.
The field is still linked to a Company data type. Is it the source of the issue?
I setup like this but when I click on the save update button, the Company field of the update is still blank.
Are you sure you’re making changes to the correct ‘Update’?
And the Current User definitely has a company (and it’s not restricted by any privacy rules)?
The field is still linked to a Company data type. Is it the source of the issue?
I’m not sure what you mean by that?..
In any case, if you’re sure the two things I’ mentioned above are correct, then I would check in the debugger first when running the workflow to see what’s going wrong…