Results 1 to 3 of 3
  1. chimeric's Avatar
    Posts
    69 Posts
    Global Posts
    71 Global Posts
       #1  
    I haven't seen anyone post on this issue yet. I have successfully created an account and new calendar to place events into. However, when I call the methods deleteCalendar and deleteAccount, the actual calendar is deleted, but the entry in the accounts section remains. I can't figure out how to implement the remove account button like the Google calendar account has. Anyone run into this issue? Any ideas on removing the empty entry so as to not clutter things up?
  2. chimeric's Avatar
    Posts
    69 Posts
    Global Posts
    71 Global Posts
       #2  
    FirstAssistant.prototype.delcal = function() {




    this.controller.serviceRequest('palm://com.palm.calendar/crud', {
    method: 'deleteCalendar',
    parameters: {
    calendarId: this.clndrid,
    },
    trackChange: true,
    onSuccess: this.handleAcctDel.bind(this),
    onFailure: this.handleclnidResponse.bind(this)
    });


    }

    FirstAssistant.prototype.delacct = function () {


    this.setup = {
    "username": 'DietTrac',
    "domain": 'palm',
    "displayName": 'DietTrac',
    "icons": {
    '32x32CALENDAR':'smicon.png'
    },
    "dataTypes": ['CALENDAR'],
    "isDataReadOnly": false
    };

    this.controller.serviceRequest('palm://com.palm.accounts/crud', {
    method: 'deleteAccount',
    parameters: {
    accountId: this.acctID,
    dataTypes: this.setup
    },
    onSuccess: this.handleAcctDel.bind(returnValue, dataTypesDeleted),
    onFailure: this.handleAcctErr.bind(errorCode, errorText)
    });
    }
  3. chimeric's Avatar
    Posts
    69 Posts
    Global Posts
    71 Global Posts
       #3  
    Oh, nevermind. Custom calendars are deleted when the program is...

Posting Permissions