I am looking for help in creating two things when a button is clicked. The relationship between the first and second thing is Master->Detail.
I can create the first thing when the button is clicked - that’s pretty straight forward. But I have no idea how to get the ID back from the first thing in order to add it to the second thing to establish the relationship.
Any help or pointers would be much appreciated!
PS: I tried searching the forum but most results seem to be related to creating bulk items and suggesting the use of the data api.