Skip 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.

Field Not Updating

Featured Replies

I'm trying to relate one record to another via scripts. Basic structure is:

Posting Layout:

- Show Records from Posting

- show portal records from Project Posting ID

My challenge is getting the Project ID into the Posting record field to allow the portal to work. The portal process is working, but only for the first Posting in the table. More on that later.

I have button "Specify Project" the purpose of which is to link a Project with the Posting. The button opens a Select Project list which contains a button next to the desired project. That button performs a script which is supposed to update the Project ID in the Posting record with the Project ID from the selected Project record. However, the update does not happen. Instead it is updating the Project ID in the first Posting record on the file.

It seems like I'm missing a relationship, or I need to somehow save the identity of the Posting record and restore it before applying the update. I'd rather accomplish it via the data structure if possible. Suggestions?

I have custom messages that verify that I'm getting the right Project ID to the script.

The table Project Posting ID relates the Project table to the Posting table via the field Project ID.

If I understand this:

- you run a script from the Posting layout

- this opens a new window based on Projects

Is the Posting ID in a global field or variable at this point? If not, how are you going to pass it into the Project record? Or is the script still running/paused?

  • Author

Thanks for offering your help.

If I understand this:

- you run a script from the Posting layout

Correct.

- this opens a new window based on Projects

Correct.

Is the Posting ID in a global field or variable at this point? If not, how are you going to pass it into the Project record? Or is the script still running/paused?

The first button stores Posting ID in a global field. However, I don't use it later in my current implemention - I'm not seeing why I would at this point. The second button (that launches the Select Project layout) stores the Project ID in a global field, then launches a script which is suppose to update the Posting record that was on the Posting Layout, with the selected Project ID.

If you are on a Posting layout, that has a portal showing Projects records, then you'd store the Posting ID in the Project, not v. versa.

  • Author

Thanks, Tom. It looks like that might unlock it for me. Appreciate your 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

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.