Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Relational lookup utilizing more than 2 fields

Featured Replies

I'm trying to find a quick and dynamic way to perform a search of contacts utilizing a portal to display results. I have 3 or 4 fields I want to perform this based upon (First name, Last name, SSN, DOB) but I'm having issues with getting the lookups to work. I can get an exact match to work, but getting a partal match ("Chris" finds "Chris", not "Christina", etc)

I don't want to use a portal filter because in my final solution we're going to be searching in excess of 500,000 records, so I believe that using a filter will be an issue with this many potential records.

I've attached a sample file that uses a global table and a related contacts table to perform the search. I assume that this has already been done many times in many different solutions, so I'm wondering what the best practice is.

Relational Lookup.zip

A portal filter might indeed be an issue; on the other hand, when using the exploded key technique for relationship filtering,

be prepared for huge indexes!

Have a look at this one:

Relational Lookup_eos.fp7.zip

  • Author

Interesting technique, I'll check it out. I am a little concerned about the size of the index though. Thanks!

  • Author

Well, after looking at the technique, I decided to scrap the idea of a relational lookup because the cost of the indexing was just too high. Instead, I decided to use a scripted find to gather the list of records that comprise the found set. I then dumped the ID's of the found records into a global field and am using it to build the relationship for the portal.

It's a little more complex as a result of the scripting but I think the benefits of not having to store a monstrous index are worth it.

Thanks for the help!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.