Is it possible to create an empty infopath document in a document library using SPServices?
I've uploaded an infopath template to the library. When I run the following code, it creates an entry in the library but its name and type are not set correctly. Any help would be greatly appreciated.
$().SPServices({
I've uploaded an infopath template to the library. When I run the following code, it creates an entry in the library but its name and type are not set correctly. Any help would be greatly appreciated.
$().SPServices({
operation: "UpdateListItems",
async: false,
batchCmd: "New",
listName: "listname",
valuepairs: [["DocIcon", "xml"],["LinkFilename", "test.xml"]],
completefunc: function(xData, Status) {
alert(String(Status));
}
});
});
Thanks