3 risposte
Are you trying to get the name from the lookup field when query the other record? If you don't want to use another SOQL then you should just create a new formula field that is Lookup__r.Name. This will give you the name of the record instead of the Id since lookup fields will return the SF Id. You could also create another lookup to the object and get the Name that way if you don't want to use a formula field. It really depends on your use case