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.

Problem catching value from search script

Featured Replies

  • Newbies

Hello,

 

I'm having some difficulties with a search script… I have one (tabbed) layout where I have a button which runs a search script. This search script opens up a new window / layout in which the search should take place and subsequently return the value I'm searching for. What I'm searching for in particular is a serial number of an asset and I'm trying to save this down as a global variable ($$gSerialNumber).

 

This is the script I'm trying to run:

post-110111-0-14893200-1387213171_thumb.

 

However, the value being returned (again, $$gSerialNumber) seems to be random at best and often comes back empty. This is in spite of me having a drop down list in the new window being opened so I should always get a valid response back. Any advice on what I'm doing wrong here would be greatly appreciated!!

 

Many thanks,

Daniel

In the Set Field step within the search block, you're only specifying the value, not the actual field to set (i.e. to search in).

 

The step after that should be Perform Search, not Enter Find Mode (you already did that).

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.