Skip to main content

hi all


i created a smartobject  to populate sp list cau and then used that smartoject  to populate my sections on k2 smartform.


now i want to update that same smartobject list using update list method,but it doesnot alolow me to update. can anyone share their experiences.


 


 


 

Hi


 


I would suggest that you try this scenario.


 


Create a smartobject from sharepoint (Click on site actions > K2 site settings > K2 smartobject site lists and libraries > Tick your lists name > Click create) and then by using the Smartobject Service Tester Tool publish that smartobject to K2 Designer and generate or create views and forms from the published smartobject.  This will enable you to be able to add, edit, save (Update) and delete records from either sharepoint list or from K2 Designer.


 


Kind Regards


 


 


Hi, hshah


 


You need to refresh the service instance first to make K2 aware of the changes to the list. 


You can do that by either Refreshing the Service Instance for your particular SharePoint site using the SmartObject Tester Tool .  (I prefer to use this method since I find this tool the most convient and powerful)


Or


You can also do it from SharePoint by going to K2 Site Settings, SmartObject Site lists and libraries, and checking the "Do not generate SmartObjects...".  This will refresh the service instance and get the new or modified columns and remove the removed columns.


Then after refreshing the service instance you'll need to step through your SmartObject and select the service instance method and it'll bring in the new properties so that you can map or remove them as appropriate with the SmartObject.  Then deploy the changed SmartObject.


 


For more reference please navigate to the url below:


 


http://community.k2.com/t5/K2-blackpearl/How-do-you-update-a-SmartObject-when-the-SharePoint-list-changes/td-p/55821


 


Regards


Julia


Reply