3 Replies Latest reply on Feb 11, 2015 7:50 AM by RickRobbins

    Script trigger on a Portal field only accesses the first record in a Portal

    RickRobbins

      Title

      Script trigger on a Portal field only accesses the first record in a Portal

      Post

      I have a portal on my layout which has multiple fields.  On a date field in the portal, I have set a script trigger OnObjectModify.  The field is set as a date with drop-down calendar.  The field on the portal and the portal itself reference the same table occurrence.  When I have changed the date in the third record of the portal, I noticed using script debugger and data viewer that the script was performing using the data from the first record and not the third record.  Does anyone have an idea why this would be happening?