2 Replies Latest reply: Aug 24, 2017 1:35 PM by Ashish Palkar RSS

    How to use 2 different data models in one App

    Ashish Palkar

      Hi

       

      I have requirement to create app using 2 different data models.

       

      Is it possible and how we can achieve this?

        • Re: How to use 2 different data models in one App
          Felip Drechsler

          Hi Ashish,

           

          Just do the field naming according to which data model it's relevant to and make sure no fields have the same name in boths (so that no associations are made).

          For example:

           

          Table1DataModelA:

          Load

               Key as DataModelA_Key,

               [other fields]

          From [whatever];

           

          Table2DataModelA:

          Load

               Key as DataModelA_Key,

               [other fields]

          From [whatever];

           

          Table1DataModelB:

          Load

               Key as DataModelB_Key,

               [other fields]

          From [whatever];

           

          Table2DataModelB:

          Load

               Key as DataModelB_Key,

               [other fields]

          From [whatever];

           

          this will create two "data models" inside a same app, making them indepedent of each other and so, the selection in one shouldn't (unlesse the [other fields have different names of course) have an impact on the other.

           

          Felipe.