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.

Adding portal records button

Featured Replies

I have a Project layout/table with a Project Notes portal to add notes to the project. I am trying to make a button/script that will:

1. Create a new related Note record in the portal

2. Populate a couple of fields in that related record

3. Open a new window (a detail view of the Note record)

4. Commit the record in the original file (so when I start typing in the Detail window it doesn't say "this record is already being modified...").

I think I've figured out everything but committing the record. I think it is committing the record in the popup window, not the original one. I've attached a capture of my script if anyone can help.

Thanks much,

Picture_1.png

Why don't you simply:

1. Commit the record;

2. Open a new window;

3. Go to a layout of Notes;

4. Create a new Note record;

5. Set the ProjectID field to the script parameter*;

6. Set more fields as required**.

---

(*) Define the button to store the parent project ID in the script parameter.

(**) Note that you can define a field to auto-enter the account name at creation.

  • Author

Thanks for the help. I knew there should be a simpler way.

Can you explain #5 "Define the button to store the parent project ID in the script parameter" is that like "set variable"?

Thanks again,

The script parameter is very much like a script variable, except it's defined outside the script itself - either in the button definition, or in a Perform Script[] step (when calling a sub-script). I did not suggest a variable, because you didn't state your version(!).

  • Author

Thanks much for the 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.