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.

cover last portal row with "button" to create a record

Featured Replies

I've seen this done before, but forget where I saw it and how to do it. I'm hoping someone can refresh my memory...

 

post-95230-0-85687000-1370315136_thumb.p

 

I have set the relationship to allow creation of related records for the portal table occurrence, now I'm trying to cover the last portal row (the one that allows creation of a new record) with a clear message telling users to click on that row to add a record. It is currently a text object with conditional formatting testing if the primary key field is empty. This method requires the user to type data, then exit the field before the conditional formatting refreshes and the message is hidden.

 

What I want to do is have the message be hidden as soon as the user clicks on the row (or a field in that row becomes active).

post-95230-0-85687000-1370315136_thumb.p

Hi

 

Add a button object over the portal row which should not be a button and then add conditional formatting to that object. The conditional formatting formula should be like that it will hide the object if its not the last portal row. For example :

 

IsEmpty ( Glb_PortalTab__gContactID::SerialNo )    [Enable the button object]

not IsEmpty ( Glb_PortalTab__gContactID::SerialNo ) [Disable the button object]

 

Here "Glb_PortalTab__gContactID" is the TOG of portal table and the field - SerialNo must be the primary/non empty serial# of Portal table.

 

Attached a script to all the portal fields and pass 2 parameters. 1st parameter should be the object name of the portal field and 2nd parameter should be the SerialNo from portal TOG.

 

script will be like this - Portal Button ( Object Name, SerialNo)

 

You can go through the following solution file to solve your problem.

 

http://fmforums.com/forum/files/go/d4881cdb591172c33794e07a6bef1ec0/portalrowbutton

 

 

with regards

  • Author

That pretty much describes what I have now, except that I pass the script the name of a field in the portal, and a value to add to that field instead of the "Object Name". The script is triggered on object enter and set's the value of the specified field if the SerialNo is empty.

 

I assume the script you were talking about does something similar? The link didn't work, so I could not see the file you mentioned. Do you have another link to the file?

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.