Import context menu as UI action

Alejandro Fraga
Tera Contributor

Hello All,

So here's the situation I'm having trouble with.

I have created a table (u_planning) to allow Project managers to upload an excel with estimation info regarding their projects. I'm using the "Import" context menu to test the data is been imported properly and everything works fine.

I'm just trying to find a way to place the "import" option available as a UI action on the top of the list

find_real_file.png

But I haven't been able to mimic the "Import" context menu on the UI Action, is there a way to implement this?

1 ACCEPTED SOLUTION

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Try copying the code from the Context Menu record into your UI Action: .../sys_ui_context_menu.do?sys_id=8be9fda7bf460100e628555b3f07397b


View solution in original post

5 REPLIES 5

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Try copying the code from the Context Menu record into your UI Action: .../sys_ui_context_menu.do?sys_id=8be9fda7bf460100e628555b3f07397b


Thanks for your reply Geo,



Unfortunately that exactly didn't work, but it helped me to find out the answer, what I did was to copy the code itself of the import functionality and paste it on the BR



Thanks!


jralph
Mega Contributor

Alejandro,

Can you please share your code ?  I need to do the same thing.

Thanks,

June

Hello jralph,

 

Did you find any solution ? am trying to give import access to user based on table access but as we cannot get the current object in UI context menu am trying to mimic in ui action.