How to enable save as draft for catalog items

MohammedYaseen
Tera Expert

Hi All,

I want to know how to save a catalog form in draft. I am using a customised portal so its not enabled by default.

I saw the post by Robert, but need some more details

Thanks

2 ACCEPTED SOLUTIONS

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

When on Washington DC release, this is out-of-the-box functionality. If you have a portal with a custom suffix, you do need to add a system property for this yourself.

"- System Property "glide.sc.enable.save_as_draft.portal." followed by the URL suffix of the Service Portal the user is on."

I've described this in this article of mine:
https://www.servicenow.com/community/developer-articles/save-catalog-items-as-draft/ta-p/2855484

 

A common blocker for new functionality like this is... when customers have cloned widgets and are not updating there widgets with upgrades. You might be working with widgets of years and years back, which don't have the newer functionality, like in this save as draft. Thats one the things with cloning widgets: you clone it, you own it! So you need to merge the updates, or manually update your widgets. A thing I see at customers, hardly being done ðŸ˜¢

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

No.

 

Its about the widget code itself. Is that the same as the out-of-the-box widget, does it include the new save as draft functionality.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

11 REPLIES 11

Jaap
Tera Expert

Hi @MohammedYaseen ,|
Are you referring to save it as draft as an end-user or to save it as draft when designing new forms?
Regards,
Jaap 

Was my comment helpful? Please mark as such! 🙂

If it's the former suibject, I guess you should add it manually. Try to set the system properties in the server script  glide.sc.disable.save_as_draft to false and glide.sc.enable.save_as_draft.portal followed by the URL suffix.

Was my comment helpful? Please mark as such! 🙂

EfrainR
Tera Contributor

Hi Jaap, I'm trying to test this feature out on a dev environment in Washington, but don't see the feature anywhere in the service catalog. I believe I need to add a sys property for it but am unsure on what exactly the URL suffix is ðŸ˜…. Here is the url to the service portal page in my dev environment, any help would be appreciated!: dev252491.service-now.com/now/nav/ui/classic/params/target/catalog_home.do%3Fv%3D1%26sysparm_catalog%3De0d08b13c3330100c8b837659bba8fb4%26sysparm_catalog_view%3Dcatalog_default%26sysparm_view%3Dcatalog_default

Myk
Giga Contributor

Save as draft as end user