Upload Excel file in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 11:53 PM
Hello ,
I am trying to upload an excel file as an attachment from a UI Page script and then use ajax call to a script include which will store that data as an attachment. My code is currently creating an attachment- in sys_attachment table but the data I sent over seems corrupted and while downloading this attachment file seems corrupted . Here is code snippets for both client script and server include script:
UI page html :-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:14 AM
Hi @vinitaverma ,
I can suggest 2 pointers to check :
1. Check if the type of file is allowed in sys_pro
2. Try decode attachement on download.
Ref:
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
yes Harini with the help of scripted rest api we can achieve
