Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
pchen282
Contributor II
Contributor II

Put bundled rows into table

Hello I'd like to take a list of JSON objects and put them into a table using python SSE.  I can put a test list of strings into a table by making each string a Dual and then rolling each Dual into a Row and then yielding the BundledRows. 

Currently I can do:
string list -> Dual list -> Rows -> BundledRows

I would like to do: 
JSON - > multiple string lists -> singular string list -> Dual list -> Rows -> BundledRows

def _echo_table(request, context):
        values=['a', 'b', 'c']
        duals = []
        for v in values:
           dual_value = SSE.Dual(strData=v)
           duals.append(dual_value)
        print(duals)
        yield SSE.BundledRows(rows=[SSE.Row(duals=duals)])


I've been using echo_table, and it can load the fields in the load editor. How can I update a table without using the load editor, similar to hello_world and hello_world_aggr ? 

1 Solution

Accepted Solutions
pchen282
Contributor II
Contributor II
Author

For now I am using the load editor to load the BundledRows back from SSE to Qlik. 
I followed this tutorial as a reference. 

View solution in original post

1 Reply
pchen282
Contributor II
Contributor II
Author

For now I am using the load editor to load the BundledRows back from SSE to Qlik. 
I followed this tutorial as a reference.