Create a grouped by list applet for Agent Mobile in New YorkDescriptionIn the New York agent app, the Studio app creates these records on the table themselves and users do not see the Studio UI. This KB is how to create a grouped list applet from scratch.Release or EnvironmentNew YorkCauseundefinedResolutionThis is an example of how to create a grouped by list for Agent Mobile in New York. In this example, we create a list of catalog tasks that are grouped by the assignment group field. In the ITSM Mobile scope: Screen1 Go to sys_sg_screen tableNewList screen group byany iconhide filters checkedsubmitName snc_List of groups (screen 1) Screen2 Go to sys_sg_screen tableNewlist screen group byany iconsubmitName snc_Selected group (screen 2) Create item stream on screen 1. go to sys_sg_item_stream_segment table addednewsaveName snc_issStreamSegment1link to screen1 from step1 added Create item stream segment for screen 2 go to sys_sg_item_stream_segment tablenewsaveName snc_issStreamSegment2link to screen2 from step 2 added Create data item for screen 1 go to sys_sg_data_itemadd table and conditions.group by assignment groupName snc_DATA1 Create item view 1 JSON describes how list should look.go to sys_sg_item_viewgive it a tablejson: belowName snc_itemView1 Create form screen Go to sys_sg_screen table addedpick any iconnothing else needs to be configures save.Name snc_embeddedScreen1 Create main item 1 go to sys_sg_main_item addeditem view created on step 6table sc_taskembedded screen from step 7Name snc_mainItem1 Create function go to sys_sg_buttontype: navigation addedadd table addeddestination screen: from step 2Name snc_Function1save will come back Create function instance from main item 1. go to main item 1 from step 8parent should be filled if created from main item relate listparent table will be table of main item 1Function from step 9location list itemName snc_FuncInstance1 Create UI parameter go to screen made in step 2 and go to UI parameters related list and click newparameter type screeninput type textName snc_ui_parameter Add redirection destination fields. Go back to function from step 9Go to redirection destination fieldsnewDestination UI parameter from step 11type fieldsource field assignment group Create item stream go to sys_sg_item_streamData item from step 5add item stream M2M Main items from step 8Name snc_itemStream1go to item stem segment from step 3 and add item stream to item stream M2M segments Open applet launcher and add your app go to sys_sg_applet_launcherpick your applet to launch fromgo to > applet name > body > click on group tasks under section columnclick applet lock and add your applet Create a data item for the second list screen make new data itemgive it a tableadd conditions of active is true and assigned to is emptysaveyou should now be able to add a parameter definitiontable is sys_sg_data_itemName snc_DATA2 Create item view 2 go to sys_sg_item_viewJSON belowtable sc_taskName snc_itemView2 Create main item 2 go to sys_sg_main_itemadd item view from step 17add tableno conditionsave will come back to add embedded screenName snc_Mainitem2 Create a form screen go to sys_sg_form_screenthis we used the OOB “Unassigned by group” which contains embedded screensType formchange name and any value you need for your applet then use insert and stay.will also need to create or use a header view for the correct table and with the correct JSON. Open main item 2 from step 18 and add embedded screen from step 19.Create item stream 2 go to sys_sg_item_streamadd data item 2 from step 16add item stream M2M Main Item from step 18Name snc_itemStream2 Link item stream from step 21 and stream segment from step 4Create item parameter Go to data item made in step 16 (snc_DATA2)related list item parameterclick newName snc_ItemParameter2 Create screen parameter mapping for screen 2 Newitem parameter from step 23ui parameter from step 11 Link Data1 from step 5 to the form screen from step 19. The JSON for step 6: {"Type":"ViewGroup","Margin":{"Top":0,"Bottom":0},"Orientation":"Horizontal","Alignment":"Stretch","Distribution":"Auto","Children":[{"Type":"Text","Margin":{},"Text":"PLACEHOLDER","CellId":"sys_group_by","TextColor":"#293e40","TextAlignment":"Left","MaxLines":2,"Font":{"Weight":"regular","Size":16},"Id":22123},{"Type":"Text","Margin":{"Right":8},"Text":"9999","CellId":"sys_count","TextColor":"#7d8a8c","TextAlignment":"Right","MaxLines":1,"Font":{"Weight":"regular","Size":14},"Id":22124},{"Type":"Text","Margin":{},"Width":20,"Text":"","TextColor":"#a7b0b2","TextAlignment":"Right","MaxLines":1,"Font":{"Weight":"regular","Size":14,"Name":"icomoon"},"Id":22125}],"Height":68,"Id":28090} And JSON for step 17: {"Type":"ViewGroup","Margin":{"Top":17,"Bottom":15},"Orientation":"Vertical","Alignment":"Stretch","Distribution":"Auto","Children":[{"Type":"ViewGroup","Orientation":"Horizontal","Alignment":"Stretch","Distribution":"Equal","Children":[{"Type":"ViewGroup","Margin":{"Right":12},"Orientation":"Vertical","Alignment":"Left","Distribution":"Auto","Children":[{"Type":"Text","CornerRadius":2,"BackgroundColor":"#f1f1f1","Height":21,"Width":100,"Margin":{},"studio_template_field_id":"E1","Text":"","CellId":"state","TextColor":"#293e40","TextAlignment":"Center","MaxLines":1,"Font":{"Weight":"semibold","Size":13},"Id":11566}],"Id":42845},{"Type":"ViewGroup","Margin":{},"Orientation":"Vertical","Alignment":"Right","Distribution":"Auto","Children":[{"Type":"Text","Margin":{},"studio_template_field_id":"E2","Text":"","TextColor":"#7d8a8c","TextAlignment":"Right","MaxLines":1,"Font":{"Weight":"regular","Size":13},"CellId":"number","Id":3907}],"Id":42846}],"Id":12259},{"Type":"Text","Margin":{"Top":9},"TextColor":"#293e40","TextAlignment":"Left","MaxLines":2,"Font":{"Weight":"regular","Size":18},"studio_template_field_id":"E3","Text":"","CellId":"short_description","Id":22124},{"Type":"ViewGroup","Orientation":"Vertical","Alignment":"Left","Distribution":"Auto","Children":[{"Type":"ViewGroup","Margin":{"Top":9},"Orientation":"Horizontal","Alignment":"Center","Distribution":"Auto","Children":[{"Type":"Text","Margin":{"Right":8},"studio_template_is_label":true,"studio_template_field_id":"E4","TextColor":"#7d8a8c","TextAlignment":"Left","MaxLines":1,"Font":{"Weight":"regular","Size":13},"Text":"${request.requested_for}","Id":3091},{"Type":"Image","CornerRadius":11,"Height":22,"Width":22,"Margin":{"Right":6},"studio_template_field_id":"E5","Scaling":"Fill","CellId":"request.requested_for.avatar","Id":38286},{"Type":"Text","Margin":{},"studio_template_field_id":"E4","Text":"","TextColor":"#293e40","TextAlignment":"Left","MaxLines":1,"Font":{"Weight":"regular","Size":13},"CellId":"request.requested_for","Id":3093}],"Id":34348},{"Type":"ViewGroup","Margin":{"Top":7},"Orientation":"Horizontal","Alignment":"Center","Distribution":"Auto","Children":[{"Type":"Text","studio_template_is_label":true,"studio_template_field_id":"E6","TextColor":"#7d8a8c","TextAlignment":"Left","MaxLines":1,"Font":{"Weight":"regular","Size":13},"Margin":{"Right":8},"Text":"${opened_at}","Id":9763},{"Type":"Text","Margin":{},"studio_template_field_id":"E6","Text":"","TextColor":"#293e40","TextAlignment":"Left","MaxLines":1,"Font":{"Weight":"regular","Size":13},"CellId":"opened_at","Id":9764}],"Id":34349}],"Id":12261}],"studio_card_id":"9599488923452300a8ed7f4fc7bf652e","Id":28090} Additional Informationundefined