r/filemaker • u/Boringly_Average Developer • 7d ago
Web Integrations & WebDirect Need ideas for WebDirect issue
My company has been using their solution for years and recently discovered the speed of WebDirect. It's going great, except for some hiccups.
I have a list view with multiple records. I have "stackable" filters on the footer so they can filter the records by Sales Rep, Type, Status, etc. It works well on WebDirect except for when the search uses a key but displays the value instead of the key.
I have a global field with a script trigger that filters on Sales Rep. It actually looks up the sales rep key field but displays the sales rep name. To accomplish that I have the sales rep name on top of the global key field and the name field is hidden when the key field is blank (otherwise, it always displays a value there). That's the problem with WebDirect. It doesn't let the user access the key field beneath it.
Any ideas or alternate methods for this?
UPDATE: I just found a solution that works, but it's ugly. I pulled the salesman name beside the salesman key and changed the key text color to match the background. Now when the user selects a value, the name appears beside it and the key field appears blank. Still looking for other ideas
5
u/KupietzConsulting Consultant Certified 7d ago
Why not just either use popup menu field a value list shows the keys and names set to display the second value only, with the field set to “ Override data formatting with value list” so that it only shows the name, or, just have them enter the name in the name field and use a lookup to populate the key from the name, and not even have the key field on the layout? That would require setting up another relationship with the name in the global input field matched to the name in the table with the key values, so you can look up the key frim the name, but it’s easy to set up.
3
u/Alex_RGCData 7d ago
I've seen similar WebDirect quirks at my job, although webdirect in general may be changing in the near future. In general, I try to avoid layering objects where the user is expected to click through to something underneath. Pro/FM is usually pretty forgiving, but WebDirect tends to be much pickier about object stacking and focus.
If it were me, I'd probably skip the overlay approach altogether and use either:
Your text-color trick is actually not a terrible workaround. I've done worse. 😄
Another option is to make the key field tiny (or move it off to the side) and display the salesperson name in a merge field or calc next to it. Same idea as your workaround, just a little less dependent on matching colors.
Unfortunately I think the real issue is the stacked-object design rather than the lookup itself. If it's working now, I'd be tempted to call it good unless users are likely to notice or edit the hidden key value.
1
u/Colapuis 7d ago
Already solved, but just as an extra option, we use the key field as dropdown with arrow, for example 100px wide and put a second field, the name field, on top, 85 px wide, non editable. Both left aligned. So arrow is always visible but when clicked in the middle, you enter the dropdown. I prefer this because with long value lists, the popup is rather difficult and very slow to scroll down.