function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to go to the a new object page on edit when a search is empty

In my view, I have a lookup relationship between two objects.  When I create the first object, if the lookup object is not already created on search, I would like to be able to create a new one then select the newly created object.


Any help on how to do this would be appreciated!






Ummm Let me give this a shot...



You have object A that has a lookup realationship to object B.


If you create a record on object A, and use the lookup field on object A to search Object B's records and fail to find a fit, you want to be able to create a object B from the lookup field?


From what I see it is not possible to add a button for a Custom Objects lookup search results.


My suggestion is to create a URL button for this on object A. Go to create a new object B, copy the URL address, go back to object A and create the URL Button, then it can sit on the detail page...


Maybe others have a better idea...




Thanks, you have described the problem correctly.  I'll try what you proposed and see what it looks like.  If anyone has an idea of a way to get this functionality I would be happy to hear it.