how can add attachment field in form? how can save that field into table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 10:58 PM
it's possible in form level?
thanks
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 11:25 PM
thanks Shishir Srivastava for your valuable reply..
in case we will get requirement for that scenario , is it possible are not?
by the way how can i add another attachment icon in header through ui actions. and how can save that attachment in sys_attachments table?
thanks
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 11:32 PM
Hi Sanjay,
Please find below threads which will give you an idea.
How to add Attachment button to Incident form?
ServiceNow KB: How to add a custom 'Add Attachment' button to a Service Catalog Item (KB0529497)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 11:33 PM
If you want to do it via UI Actions, you can configure a new UI action as per the screenshot below:
This will create a Button on the form header to Upload your attachment and store it in Attachment table(sys_attachment). If you want it on form you can follow the method as suggested by harshvardhansingh
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2017 12:16 AM
Hope you find the my response helpful too 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 11:32 PM
Hi Sanjay,
Well I have been to a situation where, client asked for attachment to be downloadable from a field/link on a form.
You can create a UI macro, and then create a formatter and add that formatter to your form.
UI macro code
to populate you can create a field and populate the filename
Output is :
PS: Hit like, Helpful or Correct depending on the impact of the response
Regards,
Parvinder