HI all,
How can i get a particular sql table columns onto k2object browser. what are the steps to be followed to achieve this.
HI all,
How can i get a particular sql table columns onto k2object browser. what are the steps to be followed to achieve this.
Hi Scott, Thanks for the reply, Yes im using k2blackpearl. I have downloaded Dynamic SQL service but how it allows us to create the smartobject. Can u plz explain me in detailed steps.
1) register the dll as a service object using the k2 broker management tool or through the workspace.
2) then create a service instance and give the credentials to access your database.
3) Create a smartobject project in the k2 designer.
4) create a method referencing this service instance via the k2 context browser.
5) deploy the smartobject.
6) make use of the smartobject in the webpart
i have done the same way u said and its giving the below error shown in image.
My SP is taking EmployeeID as input and returning all values in Employee table. I dint use 'SP_' for my storedprocedure. It affects anything if i use 'SP_' .
I have created a SO with list method pointing to my 'SPEmployeeDetailsExecuteNonquery' service object method and i used 'Create All' option and clicked Finish then deployed. Am i missing any options here.
Yes its returning all the values from database but i need a record which is dependent on input parameter.
maxpirate, yes i have declared an input property by choosing advanced mode. But when i add Service object method (i.e ExecuteNonQuery),the input property name,output property name getting disappeared, Only return property name is appearing,then im choosing "Create All" option to map. When i finish and deploy,i used smartobject service tester tool to test.In that it is asking Input Property,after entering it, all the records existing in table are returned.
Here am i missing any option. If u want i will provide u all the screens.
sri i don understand what u mean by "output property name getting disappeared". Please be specific.
If u want records without passing an input param then u shud use the list method.
The query is resolved. actually it is the problem with the older version SourceCode.SmartObjects.Services.DynamicSQLSPService.dll . Because of this, when i add service object, it is showing only the return propert values not th input property values. Now i have updated it with version 1.06 can be downloaded from http://www.k2underground.com/k2/ProjectHome.aspx?ProjectID=42 Binaries V 1.06 . Register this dll in Broker Management Tool.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.