Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3994 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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

This topic is 3994 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.