Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
Philipk
Posts: 543
Registered: ‎05-06-2012
My Carrier: wifi
Accepted Solution

Pim Calendar - Error 20

I'm getting error 20 when I try to add a calendar event using Webworks.

 

Accoridng to https://developer.blackberry.com/html5/apis/blackberry.pim.calendar.calendarerror.html that error is "due to insufficient permissions.". 

 

I have made sure to set my permissions in the config.xml file like so... 

 

<rim:smileytongue:ermissions>
<rim:smileytongue:ermit>bbm_connect</rim:smileytongue:ermit>
<rim:smileytongue:ermit>access_pimdomain_calendars</rim:smileytongue:ermit>
</rim:smileytongue:ermissions>

 

What could be causing this error?

 

_________________________________________________________
Quick Charts for BlackBerry 10
Please use plain text.
BlackBerry Development Advisor
rtse
Posts: 5
Registered: ‎07-26-2011
My Carrier: Rogers

Re: Pim Calendar - Error 20

The permission string is correct.

 

Can you send me (rtse at rim.com) your app? I can quickly take a look.

Please use plain text.
Developer
Philipk
Posts: 543
Registered: ‎05-06-2012
My Carrier: wifi

Re: Pim Calendar - Error 20

For those interested RTSE was able to solve this problem. The issue was no default calendar was set on my calendar app.

I had to go into the calendar and add an email account for calendar after which it started working.
_________________________________________________________
Quick Charts for BlackBerry 10
Please use plain text.