Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Developer
Posts: 40
Registered: ‎12-14-2013
My Device: Playbook
My Carrier: Orange

invoking calendar from qml

 Hi I just wanted to invoke calendar app from qml. So far I tried with no success. Any working code would be highly appreciated. Thanks. 

Posts: 543
Registered: ‎08-31-2013
My Device: Q10, Z10LE, Nokia N950, DAB....
My Carrier: Telekom Slovakia

Re: invoking calendar from qml

Is many of workarounds of how to invoke calendar app. Hope the best way for you is use a Invoker class by greenmr 



Here you have an invocations params



If helped give a like. If your problem was solved mark the post as "Solution"
Portfolio: BlackBerry Nokia
Social: Twitter | Facebook
About Me / Blog DevPDA | Blog
New Developer
Posts: 40
Registered: ‎12-14-2013
My Device: Playbook
My Carrier: Orange

Re: invoking calendar from qml

And why can't the following code work?

import bb.cascades 1.2

Page {
    Container {
        Button {
            text: qsTr("Click to edit Calendar")
            onClicked: {
    attachedObjects: [
        Invocation {
            id: cal
            query {
                InvokeQuery {
                    invokeActionId: "bb.action.EDIT"
                    invokeTargetId: "sys.pim.calendar.view.eventcreate"
                    mimeType: "text/calendar"

 What's missing in the above code? Actually, I want to open the calendar app from my app in qml when a button is clicked. Any help would highly be appreciated. Thanks.

Posts: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: invoking calendar from qml

[ Edited ]

Hi bDev,


Checkout this link for the exact way on how to use the Invocation API in QML:






Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker