Attachment name and type validation before submitting catalog item form in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2020 06:49 AM
Hi Team,
I would like to validate the attachment file name and type before submitting catalog form via service portal.
How can we achieve it ? Thanks in Advance.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2020 06:58 AM
Hello Vignesh
If you attach anything in catalog item.automatically one record is created in sys_attachment table.
you can glide on that table and check the type and name of it....as service now provided diffrent colounm in that table to check type and name...
You can get a example of it in below link
If you want help in scripting ,please keep posted
Regards
Yash Agrawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2020 07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2020 07:17 AM
Hello vignesh,
Please go through the below link,you will find the code for portal as well.
Please keep posted ,if more help required
Regards
Yash agrawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2020 11:13 PM
This Solution works for both Platform and Portal View, You can give it a try.
