13 Replies Latest reply on Jul 22, 2016 3:48 PM by philmodjunk

    Finding record from within portal

    ElisabethAnderson

      From within a portal, I'd like to set up a script. When a button is pressed, this will lead to a full, expanded record. Attached is a snapshot of a couple lines from the portal. The search will look for the single record with 2 criteria:

       

      -individual's name

      -that particular award which that particular individual was awarded

       

      I got the script to pull up ALL the awards for the correct individual. But I need the script to isolate out just the one award for that button. Help, please?! Here's what the script reads so far:

       

      Set Variable [$idFaculty; Value: Faculty::_pk_faculty]

      Go to Layout ["Nominations" (Nominations)]

      Enter Find Mode

      Set Field [Nominations::_fk_Faculty; $idFaculty]

      Set Field []

      Perform Find[]

      View As [View as Form]

       

      I've bolded the script step where I think my problem is. Thank you!