Hi,
Please chose the below heighlighted options while creating the list view, so that you can get the flexibility to add and delete.
Note: i tried this option in K2 Five(5.2)and it worked for me.
Regards
SK
Hello Jaswerl,
Â
I am not sure why but the "Add" and "Delete" functions should be available in K2 Five. See the document below for everything you need to do or consider when setting up your list views:Â See the "Create Labels and Controls" Section.
http://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#Create/Views/ListViews.htm%3FTocPath%3DCreate%7CSmartForms%7CViews%7CList%2520Views%7C_____0
Â
I hope this helps you.
Â
Regards,
Katleho
Good day jaswerl
Â
I have attempted to reproduce this on my side and everything works as expected. Would you be so kind as to check a few things on your view and SmartObject?
1. Try to regenerate the form from the SmartObject and see if this problem persists. If so something in your theme may be blocking the buttons from loading in.
2. I did, however, see that your generated editable list view has filter properties which are only present in an item view. Please make sure that you did indeed choose the "Editable list item" option and not the "List item" option when you generate the view.
3. Make sure the ID field is marked as a Required, Unique and auto incremented field in your SmartObjectÂ
Â
Possible workaround:
If the above mentioned is correct and the problem persists, you can add 2 buttons and configure them as below:
1. Go to the view rules and add a new rule for the Add button. on the add button rule click on "Edit rule" and add in the action with the name "Add a new row to the editable list".
2. Go to the view rules and add a new rule for the Delete button. on the delete button rule click on "Edit rule" and add in the action with the name "Remove the selected row to the editable list".
Â
This would give you the desired functionality that is needed.
Â
If this post solved your problem or assisted in solving your problem, would you be so kind as to mark the post as a Solution or Kudo? This will show other customers with the same problem that this post will indeed assist them in solving their problem.
Â
Best Regards
Jacques
Â
K2 will not accept any liability for information provided on posts on the community page].
Thank you JacquesP.
The answer turned out to be that the smartobject that i used to create the view was derived from another smartobject (service instance) that came from a sharePoint list. When the consultant created the former smart objecet they ommited the Add and Delete methods. When I added these methods from the latter smartObject/Service instance to my smart object and recreated the view the buttons were there. Problem solved.
Thank you