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.

creating new records in portal

Featured Replies

Hello

I would like to create a button and script that will create new records within a portal.

However, I do not want the script to actually go to the portal table's layout to create the record, then go back to the initial layout.

Is there any way to create the new record in the portal and stay on the same layout?

PS: I tried 'go to portal record' , then 'insert record'. This just adds the record to the overall layout's table, not the portal.

I typically do this with a script and script parameters. Create a "developer layout" (usually notated with "z_layoutName"). When the user clicks a button, the script freezes the window, goes to the developer layout, creates a new record, sets any key values (like which parent record the new record is a child of) using the parameters passed into the script, then finally returns to the original layout.

  • Author

Roy

But you still have to go to another layout to add the record. I would like to stay on the original layout itself.

The problem with going to another layout to add the record is that upon return the scroll bar is not set to where it was prior to leaving. So the user has to scroll back down to where they were. This is not good.

Also, Freeze Windows and Scroll Window do not help this.

It is possible to create a new child record through a relationship - but the truth is the setup required is simply not worth the trouble.

To solve your problem, open a new window, go to to the child layout, etc. then close the window.

  • Author

Comment: I thought of that, but similar to what you said, it is too processing to just add one record.

It requires adding a couple of script steps. Much better than the other method which requires adding a relationship, another field, AND a script to use them.

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.