var genRequest = request({
url: portalUrl + '/sharing/rest/content/features/generate',
content: myContent,
form: dom.byId('uploadForm2'),
handleAs: 'json',
load: lang.hitch(this, function (response) {
if (response.error) {
return;
}
addShapefileToMap(response.featureCollection);
}),
});
Is there any way of carrying out the generate process by passing a file url instead of a form?