Not possible to use non-default additional List method of the SmartObject

  • 22 February 2016
  • 0 replies
  • 1 view

Badge +11


 

Symptoms


In certain scenarios you may see the cases when it is not possible to use non-default additional List method of the SmartObject.

Sample reproduction steps:
1. Create a simple table in the database.
2. Create a stored procedure that returns items form the database filtered by parameter using SELECT * WHERE field = parameter.
3. Create a SmartObject for the table with standard methods (incl. List).
4. Edit the SmartObject to add additional List method that uses stored procedure from 2. name it 'List 2'
5. Create a list view based on the SmartObject above using 'List 2' method. Check 'Call this method when the form loads'.
6. Create layout table and controls.
7. Save and close the view.
8. Run the view to checkif it works.
9. Open the view in edit mode and go to the 'General' tab. There will be default method selected, not 'List 2'.
10. After this the view will not work as expected.
 

Diagnoses


This is known issue which you may see in K2 (4.6.9-4.6.11).

Workarounds:
1. Create separate smartobjects for each view with a single list method
2. If you go to the general tab on a list view re-select the correct settings before clicking next.

There is also a coldfix for this issue available via request to K2 support.

 

Resolution

Please use workaround mentioned in Diagnosis section or contact K2 support to obtain coldfix for this issue.




 

0 replies

Be the first to reply!

Reply