9 Replies Latest reply: Jun 12, 2015 1:01 PM by Srikanth P RSS

    Binary load based on documentpath()

    Marcel Artz

      Hello all,

       

      I have split my development & production environment. When I copy a QV app from DEV to PROD then the binary load should know which data model (development or production) to use (see attachment for folder structure):

       

      DocumentPath() like '*\Formeel*' then

      Binary [..\..\..\5_datamodel\sales\formeel\dm_sales.qvw];

      else

      Binary [..\..\..\5_datamodel\sales\informeel\dm_sales.qvw];

      end if

       

      Needless to say this doesn't work else I would not post this . Who can help me?

       

      Thanks in advance,
      Marcel