How yo upload a file to workdrive
Hi, I need to upload a file from a Zoho CMR attached field to a Zoho workdrive folder.
This is the function:
map sube_pasaporte_WD(string xurl, string myurl, string carpetawd)
{
fichero = invokeurl
[
url :xurl
type :GET
];
info fichero;
response = zoho.workdrive.uploadFile(fichero,carpetawd,myurl,true,"zoho_workdrive"); <---- LINE 17
return response;
"Data type of the argument of the function '876' did not match the required data type of '[FILE]' en número de línea 17. Resuelva los errores y repita la operación"
if I write de xurl parameter in the navigator, ir downloads the file.
What am I doing wrong?
Thanks in advance
Best regards
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.