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.

Popping A Popover from within a Portal

Featured Replies

On a customer layout we have a portal displaying the names related contacts.  Each portal row has a popover button on it that when popped will give the operator more detail about the contact.

 

The addition of a new related contact is scripted.  It sets the customer id in a variable, flips to a contacts utility table, creates the new contact record, sets the customer id from the variable and then flips back to the main customer record.

 

Using the go to object step I'd like it to pop the popover from the newly created record.  Instead it always pops the popover from the first record in the portal.

 

I've tried Go To Last Portal Record and then pop.  I can't seem to make this work.

 

Any suggestions?

 

Thank you so much.

I've tried Go To Last Portal Record and then pop.  I can't seem to make this work.

 

How do you know that the new contact will be the last portal row?

 

A way to definitively find the contact: after creating the new contact record, capture its primaryID; upon returning to your layout, go through the Contacts portal and loop through the rows until you find the new ID; then use Go to Object ( popoverPanelName ]. 

 
Alternatively, if your portal is not sorted differently from its relationship, and not filtered, you can use
 
Let (
  cl = List ( Contacts::primaryKey ) ; 
 ValueCount ( Left ( cl ; Position ( cl & ¶ ; $newContactID & ¶ ; 1 ; 1 ) ) )
)
 
to calculate the new contact's portal row number and pass it to Go to Portal Row [ by calculation ].
  • Author

Thank for the suggestions.  It turned out that as there were multiple portals on the layout in question it was unsure what portal to go to. I assigned an object name to the required portal and used a go to object step to take the focus to the correct portal, then the go to last portal row step and then the go to object step specifying the associated popover. 

 

Thanks for your help.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.