Create Record type from SQL View

Certified Senior Developer

Hello,

Could anyone guide me how to create record type from View table?

Thanks

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    1.  As far I understand , if we create with disable sync feature , it may not be of that useful and performance efficient as indirectly it queries the data from table/view, as nothing is cached.

    2. As view is in memory that's the reason they might have disabled the sync feature for this.

    3. I would suggest better to create view using record types with sync enabled, instead of querying the view using record. Again up to your use case, just check which is better suits you.

    4. Try checking the performance of all the three, querying the record type built on view with disable sync, querying the view using query entity, build view using record types with enable sync.

    Just curious to hear the feedback of #4 for your use case.

  • 0
    Certified Lead Developer
    in reply to karthikkanjerla

    I suggest to go with 'build view using record types with enable sync'. This will give you best performance among all the options as database view cannot have index and a query has to run on all the rows of database view. Avoid using database view.

Reply Children