Mandatory Attachment on Submit based on Catalog Item Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 03:14 PM
Hello all,
I have a requirement to make an attachment mandatory on submit based on a catalog item variable.
The question is: Are you requesting to relocate more than one phone? (relocate_phone)
If yes: attachment is required
If no: attachment is not required
In the past when making an attachment mandatory in a catalog task I have used business rules or catalog client scripts but in this case I cannot figure it out.
Can anyone assist?
Thanks,
Grace
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 06:00 AM
What if their are multiple options which require attachments

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 03:32 PM
If you are on madrid, then you don't need to write script to make attachment mandatory for catalog item.
This is available OOB with madrid.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 03:52 PM
We aren't on Madrid yet but good to know. Is this only for Service Portal?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 03:57 PM
this configuration works on service portal.
Regards,
Sachin