Service Portal - My Request Widget new tabs (Submitted Request and Drafts) in Washington DC

Maruthi Ram
Tera Contributor

Hello everyone ,

 

Recently we have upgraded our instance to Washington and noticed few changes to "My Requests" widget in Service Portal.

 

New tabs are added called "Submitted Request" and "Drafts". Please find the image below

MaruthiRam_0-1711857936853.png

 

When i clone the same OOTB "My Requests" widget and trying to use that in our custom portal , I am not able to get the two new tabs(Submitted Request , Drafts) , but everything else is reflected.

 

Could you please help us to find out on what i am missing to bring the new tabs on to the cloned widget.

2 REPLIES 2

ridrepp
Tera Contributor

Hello @Maruthi Ram,
I had similar issue and I found out that the problem (or missing thing) may be related to this code in the Server script:

 

 

data.hide_draft_tab = (gs.getProperty('glide.sc.disable.save_as_draft') == 'true') || (gs.getProperty('glide.sc.enable.save_as_draft.portal.' + $sp.getPortalRecord().getValue("url_suffix")) != 'true');

 

 

So when you have cloned the OOTB widget and put it in your own portal, you probably need to add a sys_property in the form:
glide.sc.enable.save_as_draft.portal.<portal_url_suffix> and set it to true. You can probably find an example of such use in sys_properties if you search for glide.sc.enable.save_as_draft.portal.

 

image.png

 

Just one note. If you have used the OOTB "My Requests" widget somewhere in your portal, it will probably also have these tabs then. So if you don't want them for that OOTB version, it might be probably better to rewrite this part of the code in the Server script in your cloned version so it will be related to some custom sys_property and not to "glide.sc.enable.save_as_draft.portal.".

 

Hope it helps. 

Vishwa Pandya19
Mega Sage

Hey,

 

Was your issue resolved?

I have added property too but still doesn't seem to work.

Please let me know.

 

Thanks
Vishwa