Forum Discussion

Ravik's avatar
Ravik
Super Contributor
8 years ago

How to search Mapped Objects and all childs in NameMapping Aliases

Hi all,

 

I have mapped objects in NameMapping and created Aliases of those object. In Aliases I have bypass so much hierarchy of the object (removed unwanted parent from aliases and created meaningful Aliases).

 

My Aliases like -

 

AppName
FormName1
         Object1          Object2
FormName2
         Objectx          Objecty
FormName_n
           Object_n
 

 

I wanted to find How many Forms are available in my Aliases (AppName) and How many Objects are under that Form at run time.

 

I have tried few methods like - .GetUnderlyingObject(), ChildCount, Index but its not work for me.

 

Help will really appreciate .

Thanks in advance :)