Skip to Content
0
Jul 28, 2023 at 02:15 PM

FileUploader uploadUrl point to wrong location on launchpad

57 Views

Hi Im new to SAP and using FileUploader , im setting upload url as below

uploadUrl:"sap/dummy/odata/sap/ZZZ_ACTION_SRV/uploadSet",

and its working fine in BAS ,but while accessing from Launchpad and doing an upload I'm getting 403.

I found that the absolute path is changing dynamically and in my case its always points https://somedev.launchpad.cfapps.ap20.hana.ondemand.com/cp.portal/sap/dummy/odata/sap/ZZZ_ACTION_SRV/uploadSet

but it should work if its points to

https://somedev.launchpad.cfapps.ap20.hana.ondemand.com/00cebb9d-7524-4ecb-a655-a3cb8882ee07.somenamespace.somenamespace/~280723105118+0000~/sap/dummy/odata/sap/ZZZ_ACTION_SRV/uploadSet

Any solutions to generte the url dynamically?