Jump to content
bcooney

Popover Portal Picker in Find Mode

Recommended Posts

Sanity check here...I want to use a popover with a portal to help a user select from a long list of choices in Find Mode. Apparently, I cannot do that. I've tried to populate a global in the parent table and use a relationship with the global on the left to display related children in the portal. Nothing shows. I then switched to a virtual list of choices where the $$vlist is populated by SQL. $$vlist has data..portal shows nothing.

Is Find Mode unable to use such a technique?

I did follow Kevin Frank's tutorial on conditional value lists in Find Mode. That works wonderfully, except my first popup is too long -- really need that picker! 

Share this post


Link to post
Share on other sites

anyone?

Share this post


Link to post
Share on other sites

Hi Barbara,

On 4/21/2017 at 5:45 AM, bcooney said:

That works wonderfully, except my first popup is too long

 

Why not use checkboxes?

Share this post


Link to post
Share on other sites
On 4/21/2017 at 3:45 PM, bcooney said:

Is Find Mode unable to use such a technique?

There are many red herrings in your question: the popover, the portal, the relationship with a global field, the virtual list ... Eventually, it all comes down to this: are you trying to display data in (non-global) fields while in Find mode? That's, of course, not possible.

 

Share this post


Link to post
Share on other sites

And that's the answer, comment. Yes, I am trying to do so. Value lists work attached to popup menus...so, I thought perhaps I could get a popover with a portal picker to work.

 

@Lee - over 100 values to choose from on first popup. So, checkboxes aren't the answer either.

Share this post


Link to post
Share on other sites

You might have to pop up your picker in a new window. This will be a nice option in the upcoming version with the Card feature announced in the product roadmap. While no release date has been announced, the last two versions shipped in May.

https://community.filemaker.com/community/product-roadmap

Share this post


Link to post
Share on other sites

Yes, cards look very cool. Hmm...a new window isn't the best since I'm on FMGo.

Share this post


Link to post
Share on other sites

Maybe some combo of virtual list / button bar?

Share this post


Link to post
Share on other sites

Not in Find mode, apparently. Just want to show a popover with portal picker of Events in Find mode. no joy. However, a popup menu with a value list works. I thought, perhaps, that I'm overlooking something obvious. 

Share this post


Link to post
Share on other sites
8 minutes ago, bcooney said:

Just want to show a popover with portal picker of Events in Find mode. no joy.

So why don't you do this while you're in Browse mode? Set a variable to the selected EventID (or what have you) and then enter Find mode. You have all this scripted, do you not?

Share this post


Link to post
Share on other sites

Here's the use case:

User would like to find all loans at a specific Event, and perhaps a location related to that selected Event (Events have locations).

Currently, they enter Find Mode, hide calcs are used to provide Find enterable fields. The Event field has a popup menu with a value list of all events (very long) and the Event Location field has a popup menu with a value list that is now conditional given a selected Event.

So, I'm stuck with that really long Event popup menu.

Not sure how'd I'd split what we can do in browse with what we can do in Find. Perhaps forget the "Find Mode" and use QuickFind.

Share this post


Link to post
Share on other sites
11 minutes ago, bcooney said:

User would like to find all loans at a specific Event, and perhaps a location related to that selected Event (Events have locations).

That's difficult to understand without (at least) an ERD of the three. 

Anyway, if you want to pop-up a portal, you must be in Browse mode at that point. So either let them select the event first, and switch to Find mode after they have done so, or enter Find mode first and switch to Browse mode only to select the event (while remembering the other criteria they might have entered), or do the whole thing in Browse mode, using global fields to capture the criteria. I believe that covers all the options - at least all the options that include a pop-up portal, in the same window.

 

 

Edited by comment

Share this post


Link to post
Share on other sites

I'll give this some thought. Thank you for helping me think this through.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Jhon Doe
      Hi everyone,i have an issue, maybe one of you could guide me, I have grouped a set of records into a portal (it could be more than 1000 records), each row has a pop-over button that display some actions over the record, but the popover is too slow when i try to open it,  does anyone know the reason of this behavior? how can i solve it?
      Thanks,
      Jhon
    • By kolvorok
      Is there a way to show the hand cursor for a popover button? I've a lot of buttons on a layout - one of them a popover button - and I want it to behave like the others.
      FM Advanced 14, FM Server 15, macOS High Sierra 10.13.1.
    • By rivet
      Most of my medium to heavy scripts are now performed on server. To give the users some feedback while they wait, I wanted a method that was simple and subtle. In this example I ;
      added  a popover button with '+' icon set the feedback message in the popover title bar formatted, sized and positioned the popover   added a OnObjectEnter script tigger to the popover in the script I add a PSoS step with Wait for completion set to 'On' last step of script is Close Popover  
       

    • By JMart
      Hi gurus,
      I am sure I’m missing something simple, but for the life of me I can’t figure this out. I have a database with tickets. What I want is when a new ticket is created I want to see a popover (see attached) then I want the user to type in the top box and as they type I want to filter the list below (a portal) and once they client is shown they would select it and a ticker is created for the client. I sound a script and modified to fit my needs but can’t get it to work. Can someone stretch a helping hand?
      BTW the filtering is working but its not reflecting in the popover its reflecting on the layout.


    • By KassK
      Hi, Is there a way to have popover button within a popover button?  when I have tried this and double click to open it in layout mode the tool options open but not the button itself.  Can anyone help or advice me what I am doing wrong?
       
×

Important Information

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