Listing Agent Contact Email

Questions about and code samples for automation process code snippets within Select.
Post Reply
tburke
Posts: 1
Joined: Mon Apr 29, 2019 2:17 pm

Listing Agent Contact Email

Post by tburke »

Attempting to draft a code snippet looking for a Listing Agent Contact Email address and I cannot get it to work. Any ideas? the examples I have are for the Buyer or Seller contacts and don't exactly translate. Thanks in advance.

from System import *
from SoftPro.ClientModel import *
from SoftPro.Select.Client import *

# Look for email address in all ListingAgentBrokers contacts
# Context is ListingAgentBrokers
def HasListingAgentBrokersEmail():
# For the Main Contact
if Context.ListingAgentBrokers.MainPerson
Return True
# For the Main Person Email field
if Context.Email:
return True

HasListingAgentBrokersEmail()
Post Reply