Iterate through all forms in specific model

Hi all,

I need to iterate through all forms in specific model. Could anyone of you please suggest me a way how to do it.

Regards,

Giridhar

Everything is in the model store database, therefore all what you need is a query:

SysModelElement     element;
SysModelElementData elementData;
    
while select Name from element
    where element.ElementType == UtilElementType::Form        
    exists join elementData
        where elementData.ModelElement == element.RecId
           && elementData.ModelId == 15 // Use your own
{
    info(element.Name);
}

If you want to find a model by name, look into SysModelManifest table.