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.

Featured Replies

I have two files people and contact. Both files are related. On people I have a contact portal with the fields id , name and number. The related fields on both files are ID. I have these 3 fields on the portal and on the field number I have a button that copies the ID that

The button must be completely inside the protal row. We need to see your script to determine if there is a problem with it.

  • Author

The button is completely inside the portal row because on the first row it works.

Follows the script:

if id = ""

Show message "Please fill in ID Field"

end if

Copy Select id

Paste Select ID::number

I'm afraid I have no idea why you are manipulating your IDs (which your relationship is based upon between people and contacts). They are already related on the ID or they wouldn't appear in the portal. crazy.gif If you could explain a bit more, it might make sense to me. I would really question how you're handling this. Having said that ...

When something appears on the first portal row but not subsequent rows, it usually indicates that the item (not displaying or not working) is considered part of the layout and is probably not totally within your portal. Try resizing it again (as Ralph indicated). This is especially important on the left top edge of a portal - don't go near it with portal items, or you'll have this problem.

If the resize of the button doesn't do it, then we'll need to figure out what you are doing with your IDs. I just don't 'get' it. smile.gif

  • Author

This is an example of what I need and isn

  • Author

I found out something what

  • Author

Solved the problem !

It workes like this:

Set Field _gPortalRow, Status(currentPortalRoW)

Copy(Select, Num)

Go To Portal row (Select, _gPortalRow)

Paste (Select, ID::Num)

LVA said:

Solved the problem !

It workes like this:

Set Field _gPortalRow, Status(currentPortalRoW)

Copy(Select, Num)

Go To Portal row (Select, _gPortalRow)

Paste (Select, ID::Num)

I have trouble figuring out what "Paste (Select, ID::Num)" is suppose to do, but may be a structure as :

SetField[YourPortalRelationship::Num,ID]

would be easier I think

tongue.gif

I agree, use Set Field and save yourself some trouble. Also, in your first example script, after the show message, you should go to the id field and exit the script.

  • 4 weeks later...
  • Newbies

I think the reason your script was originally not working is that if you have any actions in your script BEFORE referencing the portal row you're currently on, then the row you're currently on will be lost. So you have to do exactly what you did: Save that row then do what you need to do, then use the saved row number! Good job smile.gif

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.