Import excel data into fields in custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 02:18 AM
I have the below requirement,
> We have a custom form (table) IPM task. I have created a UI action 'Import data'. Now when user attaches a excel with column 'case id' and 'resolved by'(column constant and number of rows keeps changing), the data in the excel should be exported to the field in the form like below automatically. How to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 02:56 AM
It is an UI Action so it will work On Submit. There will be a button and when you click it it will execute the script.
Please elaborate your use case if my explanation wasn't what you were looking for we can find a way to work around it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 03:13 AM
I tried to use the above but I dont see it working. On clicking of import its going to the SI page
use case in simple words is , The data in the excel should be imported in the form section as rows( like shown in picture) without using transform map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 03:24 AM
Have you tried using that it does not redirect to the SI Page.
action.setRedirectURL('current_page') //replace with the page of your choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 03:31 AM
Actually, it doesn't populate the value as well. Can you please provide the script in detail, also the attachment is done using the attachment icon on banner not via attachment variable when populating using ui action. Please provide script so that i can cross check with mine