Make Target relate to custom field


I recently added a custom field for my Targets “Account name”. I was wondering how to make this relatable from my appointments like Last name is. Thanks!

Can someone please help?

Can give some more information? Which fields type did you add?

I added a custom field called “Account Name” under targets. When I go to schedule a call and relate it to a target I cannot select the account name to relate the target.
See picture
Screen Shot 2021-02-04 at 8.36.20 AM
I can select the name however some targets I do not have names of yet.
I would like to select the account name in this case on the left “Brian” to relate a call / meeting to.

Sorry i don’t understand you. What do you want and what do you do?

I added a custom field to the targets module. It is called account name.

When I go to log a call
Screen Shot 2021-02-04 at 11.36.41 AM !
I want to relate the target to the call. I click click the add button however the custom field that I added “Account name” is not selectable.
See the next reply for the rest since I can only put one picture per post.

Screen Shot 2021-02-04 at 11.39.32 AM
The custom field is the field labeled THIS IS THE CUSTOM FIELD on the left side here when that panel is open. See how it is not orange like the name field on the right? I want to make it selectable so I can relate a call to a target by using the custom field I made “Account name”

If I uderstand corectly you should edit file custom/modules/Target/metadata/popupdefs.php and add 'link' => true, to array of custom field.

'listviewdefs' => array(
  <custom field>=> array(
    'link' => true,

P.S. You can add several files to one post. It works.

Because I am a new user it limits me to one image per post.

Thank you that worked.

1 Like

I’m surprised I could guess. Very small sizes of images. :rofl: