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.

Pass Get(ActiveFieldContents) from portal row to URL formula on parent

Featured Replies

Hi I have a script that is triggered when an OnObjectEnter that stores the Get(ActiveFieldContents) from the field in variable as well as doing a SetField on field url2.  It then fires a load card window with a webviewer where the url is set to be url2.  In the data viewer and in the dialog box I get the correct field data for the portal row clicked, see the properly formed url2 but the webviewer only loads the "https://www.airbnb.com/rooms/" and is missing the ActiveFieldContents which is appened after the last / to create a proper URL.  What am I missing? I need the URKL to be as listed in the data viewer image below.  Instead it is rendering a url based on the first portal record ID.

 

Thanks in advance

image.thumb.png.36fddb299ab494d423bb9fa5c8d0d232.png

6 hours ago, TimJ said:

It then fires a load card window with a webviewer where the url is set to be url2.

I don't see the bold part in your screenshot. What I do see is that you open a new window with a layout of the Child table. This may be the cause of your problem. The record  shown in that window will not necessarily be the record clicked in the portal. For that, you would need to use the Go to Related Record script step.

I should add that the whole thing seems unnecessary convoluted. If the URL can be calculated from the ID field, why not use a calculation field for this? Or even better, just define the web viewer to open the calculated URL? Alternatively, if you're using a script to show the web viewer, why not use the Set Web Viewer script step to load the URL stored in the variable?

 

Edited by comment

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.