I'd like to know how do I get all the appointments from a user Calendar that belong to a date range (from dd/mm/yyyy to dd/mm/yyyy), using Java Soap API.
I'd like to know how do I get all the appointments from a user Calendar that belong to a date range (from dd/mm/yyyy to dd/mm/yyyy), using Java Soap API.
var vector = new AjxVector();
for (var i = 0; i < response.size(); i++) {
searchResultVector.add({
"subject": response.get(i).getName(),
"calendar": appCtxt.getFolderTree().getById(response.get(i).ge tFolderId()).getName(),
"start_date": new AjxDateFormat(AjxDateFormat.SHORT).format(new Date(response.get(i).getStartTime())),
"itemid": response.get(i).invId
});
}
this.searchResult.set(vector);
Are you a developer ?
Then appCtxt is a context global variable. And this code is enough for request to get all appointments.
Sorry, I didn't understand... in what language is this code made? Javascript? If so, how do you work with it? Do you use a Zimlet?
The only way I know how to work is with Java Soap code, like the following:
SoapProvisioning sp = new SoapProvisioning();
sp.soapSetURI(uri);
sp.soapAdminAuthenticate(admin,pass);
sp.createAccount(login, senha, map);
Ah, I am really sorry. I forgot to mentioned language. I am doing these stuffs in javascript and using Zimlet for that. But I think provisioning is better. I'll find out that way from provisioning. I'll let you know when ever I would get it. You can ping me on jhoncarter2030@gmail.com . As I am not use to visit forum daily.