Remember

Creating a new entry

Here are the invocation attributes that you use to launch a Remember card to create a new entry:

Attribute Value
Target ID

sys.pim.remember.composer

Action

bb.action.ADD

URI

remember://notebookentry

You can also add the following key-value pairs by adding a question mark (?) after the URI:

  • title=<ENTRY TITLE>
  • description=<ENTRY DESCRIPTION>
  • duedate=<# SECONDS SINCE EPOCH>
  • status=NotActionable, Completed, NotCompleted
  • notebookid=<ACCOUNT KEY>:<NOTEBOOK KEY>
  • tags=<COMMA-SEPARATED TAG LIST>

For the URI attribute, make sure that each parameter in the URI attribute is separately percent-encoded. Percent-encoding is an efficient way to encode the data in a URI. The QUrl class in Qt provides a convenient static function for percent-encoding.

Adding a file or a URI to a new entry

Here are the invocation attributes that you use to launch a Remember card to add a file or URI to a new entry:

Attribute Value
Target ID

sys.pim.remember.composer

Action

bb.action.SHARE

URI

file://

list://

http://

https://

Metadata
For file:// URIs, you must provide a JSON map containing a key-value pair for the title of the entry. For example:
{
    "title": "Title to be set on the entry"
}
For http:// and https:// URIs, you can provide a JSON map containing key-value pairs for the subject and description of the URI. For example:
{
    "subject": "Webpage subject",    
    "description": "Webpage description"
}
Data
For  list://  URIs only, provide a JSON list of maps (one per file), where each map contains a single key-value pair specifying the file's URI. For example:
[ 
{ "uri": "file:///path/to/video.mp4" },
{ "uri": "file:///path/to/picture.jpg" } 
]
MIME type

For list:// URIs only, the MIME type must be filelist/<TYPE>.

Editing an entry

Here are the invocation attributes that you use to launch a Remember card to edit an entry:

Attribute Value
Target ID

sys.pim.remember.composer

Action

bb.action.EDIT

URI

pim:application/vnd.blackberry.notebookentry:<ACCOUNT KEY>:<ENTRY KEY>

Viewing an entry

Here are the invocation attributes that you use to launch a Remember card to view an entry:

Attribute Value
Target ID

sys.pim.remember.previewer

Action

bb.action.VIEW

URI

pim:application/vnd.blackberry.notebookentry:<ACCOUNT KEY>:<ENTRY KEY>

Opening an entry

Here are the invocation attributes that you use to launch a Remember card to open an entry:

Attribute Value
Target ID

sys.pim.remember

Action

bb.action.OPEN

URI

pim:application/vnd.blackberry.notebookentry:<ACCOUNT KEY>:<ENTRY KEY>

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus