webservice to retrieve all the columns in the entity
-
2012년 6월 29일 금요일 오전 8:36
hello everyone am working on the webservice to retrieve all the columns in the entity am using a method
queryexpression q1=new queryexpression();
q1.entityname="test";
q1.columnset.addcolumns("new_name",new_password"..............");
in previous i used specify the required column to retrive the data
but now i want to retrive the whole data from the entity is any method is there to retrieve the all attribute from the entity or i need to specify each and every attribute name
want i require is i need to retrieve the all attribute name without specify the attribute name because i want retrive all columns(q1.columnset.addcolumn("....."))
ms crm
- 편집됨 Dicaprio r 2012년 6월 29일 금요일 오전 8:41
모든 응답
-
2012년 6월 29일 금요일 오전 8:42
I think if you just do
query.ColumnSet = new ColumnSet()
or
query.ColumnSet=new AllColumns();
it will select all columns
For more info
http://social.microsoft.com/Forums/hr/crmdevelopment/thread/838f9573-5e8d-4025-b164-70c723a0a650
-Devashish
http://thecrmworld.wordpress.com
http://ebizartisans.com
- 편집됨 Devashish Bajpai 2012년 6월 29일 금요일 오전 8:43
- 답변으로 제안됨 Devashish Bajpai 2012년 6월 29일 금요일 오전 9:28