1 Reply Latest reply on Feb 19, 2014 6:02 AM by philmodjunk

    Show related records in portal not working WebDirect

    CarolineDevulder

      Title

      Show related records in portal not working WebDirect

      Post

           hi there,

            

           I have a form view with 2 portals:

           1 portal on the left contains a list of products

           Another portal on the right has only 1 row and shows the information of the selected portal row on the left.

           (It's basically the same as this video: http://www.youtube.com/watch?v=iYAPPB6P0ZI from 3:08 onwards)

           This is working fine on FMP client, but not on WebDirect. It's impossible to show the product details on the right portal after selection in the left portal.

           Here's the script:

            Set Variable [ $prod_id; Value:products_related::id ]

           Refresh Window
           [ Flush cached join results ]
           Commit Records/Requests
           [ No dialog ]
            
           I suppose it's not working because of the Refresh window step or the flush cached join results.... Can this be avoided so this works ?
            
           thanks !