How to update containers shown under "Your Team's Work" in SOW landing page

deenbandhusingh
Giga Expert

Hi,

 

I have to update filter for container 'Catalog Task/s assigned to my team' displayed under 'Request Management' under 'Your team's work'. 

I tried to find in UI Builder but I found container only under 'Your work'. I didn't find anything for 'Your team's work'.

 

deenbandhusingh_0-1750945526064.png

 

1 ACCEPTED SOLUTION

deenbandhusingh
Giga Expert

I figured it out.

On clicking 'Your Team's Work' the page is getting refreshed. Same containers are update with data. Conditions are written in data source (in container) which is changing filter based on dropdown selection.

 

View solution in original post

3 REPLIES 3

Mark Manders
Mega Patron

This is on the landing page of the SOW within UI builder. Check the client scripts to see where it is pointing you when you update the selection from 'your' to 'your team'.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Below is the code written in JavaScript

 

const currentVizSelection = {
"table": "incident",
"element": "incident_all",
"title": "Please click on visualization",
"query": "some query",
"query": api.state.currentVizSelection.query,
// "evamId": evamId,
"queryForViewAllRecordCount": "some query",
"tableForViewAllRecordCount": "incident",

}
//set the state
api.setState("currentVizSelection", currentVizSelection);
//api.setState('gridSelected', ' ');
api.setState('gridSelected', event.elementId == "button_iconic_grid" , false);
//api.setState('gridSelected', event.elementId == "button_iconic_grid" ? true : false);
//"listView": "sow_landing_page_assigned"
// this is for the last refreshed on datetime
api.setState('listRefreshRequested', {
timestamp: new Date().getTime()
});
api.data.get_datetime_now.refresh();
}

deenbandhusingh
Giga Expert

I figured it out.

On clicking 'Your Team's Work' the page is getting refreshed. Same containers are update with data. Conditions are written in data source (in container) which is changing filter based on dropdown selection.