I am trying to use getselection in c# code but it's failing during runtime .
does any one have any idea how to use getselection method from c# code .
the sample query which i am using is
oRoot.GetSelection["select [MetaClass] where [Creator]= ' " +userName + " ' "] ;
Could some one please help me on this.
The query is failing at runtime execution
Have you succedded in running a more basic query like : "SELECT [Application]" ?
The getSelection need in some context 2 parameters :
* the query : SELECT [Application]
* the filter/sorter : "ShortName"
Look at this post where someone had the problem https://community.mega.com/t5/Customization-Guru/API-JAVA-Generate-Website-Issue/m-p/20198
What value do you put in "creator" ?
In Hopex there are 2 fields :
creator : the absolute identifier
creator name : the label of the user
Have you tried your query within HOPEX first to see if it works ?