08-23-2019 09:49 AM
In version 18 the views are now stored in the database, but I am having trouble locating them. I see the rmview and rmscreen tables, but these have no data in them. When I open a view I can see in diagnostics console database tab that it is querying the rmcomponent tables. After looking into these it appears that this is where the information on views is stored. How do these rmcomponent tables relate back to the rmobject and rmobjectinstance tables for each class?
10-28-2019 12:50 PM
Matt, this will list all views by application and class
SELECT app.rmApplicationName as AppName
, class.classDisplayName as ClassName
, c.rmName as ViewName
FROM hsi.rmcomponentprop cp
inner join hsi.rmcomponent c on cp.rmcomponentid = c.rmcomponentid and c.rmcomponenttype = 15
inner join hsi.rmclass class on cp.[value] = class.classid
inner join hsi.rmapplicationclasses ac on ac.classid = class.classid
inner join hsi.rmapplication app on app.rmapplicationid = ac.rmapplicationid
WHERE rmcomponentproperty = 105
ORDER BY app.rmapplicationname, class.classdisplayname, c.rmname
05-24-2023 12:34 PM
So I have been looking into this and trying to figure out where/how the different views are constructed based upon the answer above by
So my question is this, where in word are the details for the views stored?
05-24-2023 12:54 PM
Additional properties about these components are stored in hsi.rmComponentProp.
One View and all of the content contained in that view will be represented by many rows in hsi.rmComponent. Depending on what you want, you may have to join hsi.rmComponent with another instance of the same table, potentially many times. For example, this query shows the views and their template for each class. Notice my table alias names to identify the view and the template from two different instances of the same class.
05-24-2023 02:50 PM
Hey
Thanks for those details. I think the thing that I can't quite seem to figure out is how to determine what components are in what order. In other words, how does the system create the layout that you would see inside of the layout tab inside of Studio? Because I can't seem to figure out where the translation or cross references are made and all.
Thanks.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.