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.

How to create a new portal row in a script?

Featured Replies

Ok, I have a script that creates a new window and takes me to a layout with a portal on it. I want it to also create a new portal row. The portal is formatted to show 1 row at a time. When I go to this layout, how can I have the script create a new portal row so a new row is waiting for the user to enter in data? This seems like it should be simple but I can't find anything on it. Any help would be appreciated.

Thanks!

John

gotofield (in the portal)

gotoportal row [last]

Set fields with your info (just as you would create one manually

this all assumes that alow create related records is turned on.

Charles

  • Author

Charles, I tried what you suggested, it just takes me to the last portal row that has information in it. It doesn't take me to a new record in the portal row. I did confirm that I set allow creation of related records to on. Any other ideas? I currently am only showing 1 portal row, do I need to have it set to a number higher to get to the new record in the portal?

Thanks!

John

Yes perhaps show more that one row, if thats is the problem and it workd but you can only show one row for your interface, then create an extra layout that is used to create the last row and then make the new row. Switch back when you are done.

Charles

Hi,

If only one row should show, then all you need is a related field with a relationship sorted so that the first related record would be the last.

So the script would just create a new record in the related Table.

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.