Collapsed section in agent workspace form. g_aw.sectionExpanded is not working as expected.

kashyap6
Tera Contributor

Hi All,

There is a requirement where we are supposed to collapse the sections by default. We have used g_aw.sectionExpanded('section_name',false) on load of the form. This collapse the section as expected.

 

kashyap6_0-1667884053378.png

 

However, when we try to save this from agent workspace the whole details tab disappears.


kashyap6_1-1667884124648.png

 

Please help me out if anyone has faced similar issues.

 

@Ankur Bawiskar 
@Omkar7 
Kindly help if you can. Thanks in advance

12 REPLIES 12

So looking at the code it seems you are using some custom section.

 

So now this is the case table and you are trying it on agent workspace right?

 

Can you check two things?

 

1) Go to the CSM workspace open any case record and see if it works over there or not

 

Saurav11_0-1667894756023.png

 

2) When you disable the client script does all the section appear normally to you for case form in agent workspace.

 

Thanks.

 

So now this is the case table and you are trying it on agent workspace right? - we have created new workspace for this

1) Go to the CSM workspace open any case record and see if it works over there or not - Same issue

2) When you disable the client script does all the section appear normally to you for case form in agent workspace. - yes

 

Hello,

 

If you are seeing the same issue on all workspace like CSM/agent/ your custom one for case table, can you uncheck the isolate script once and see

 

Also is it the same for other tables as well like incident etc. If yes and looking at the shadowroot error it seems the CSS has broken for your workspace and you may have to create a HI ticket for it.

 

Let me know once you try the above.

 

thanks.

Hi,

Isolating it doen't work.Raised a HI ticket already.

 

 

Hello,

 

Yes Hi ticket is the way to go as if it was just for your custom workspace there could have been a chance of missed configuration but it it is not working on any of the workspaces including the OOB one's then seems to be a instance issue.

 

Please mark answer as correct based on Impact.