Cannot update the categories for blackberry.pim.Task)

Hello

I'm developing an Application of tasks with Blackberry WebWorks and JavaScript for OS 5.0.0. +.

The work of JavaScript functions fine base, I can read tasks, organize by categories, read status, uid and so on.

Create new tasks usually works as well, but: this task which does not work is the award categories to a new or existing.

Here is the JavaScript code that creates tasks.

function addTask(field) {
        var newTask = new blackberry.pim.Task();
    newTask.summary = document.getElementById(field).value;
    newTask.note = document.getElementById(field).value;
    newTask.categories = "DesiredCategory";
    newTask.save();
}

As I said, the task is created, but without category (category itself is of course).

Any ideas?

Thanks in advance!

Hi DerSchneider,

There is a bug in our docs, categories must be an array of strings. I've updated this issue in GitHub https://github.com/blackberry/WebWorks-API-Docs/issues/223 accordingly

The following simple change should fix.

newTask.categories = ["DesiredCategory"];

Tags: BlackBerry Developers

Similar Questions

  • Portege R600 - cannot update the BIOS using Win server 2008

    Hi all.

    Pls help...

    I tried to update my bios to the new version, but I can't.

    I just downloaded bios update of the toshiba site for portage r600 for my model number (bios update 1.80 - winner), I unzip the zip, run the exe, but error popup came:

    Package for the TOSHIBA BIOS ver.3.2.9
    Unsupported product type is installed.
    Package BIOS BIOS Version: Ver.1.80
    Current BIOS version: Ver.1.40

    So my question is what am I doing wrong? I'm trying to update my bios from windows.

    is my version of windows: windows server 2008 Enterprise Edition x 64 SP1 (don't ask why, I just have to run Server 2008)

    Thank you.

    Hello

    Your OS windows seems not to be the Windows which was preinstalled on your Portege
    You cannot update the BIOS by using the windows server 2008 Enterprise Edition x 64

    You will need to put the system which has been pre-installed by Toshiba

    Good bye

  • COM1 "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    Running Server 2003, Web Edition SP2 Build 3790.

    The two ports COM1 COM2 & lost in the Terminal Server session with a managed switch.

    Gives the device as Manager: "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) "on both ports.  pilots - serial.sys and serenum.sys (5.2.3790.3959 worm file: 64 KB / KB 18: 2/17/2007) 03:58

    Tried all common solutions driver update and uninstalling/reinstalling SP2 installation rerunnig. But the problem remains.

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please ask your question in the TechNet forum.

    http://social.technet.Microsoft.com/forums/en-us/winserverhyperv/threads

     

    Diana

    Microsoft Answers Support Engineer

  • My TSSTcorp DVD +-RW TS - L632D does not work, error "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    And it displays the following message: "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) ». I tried all the tricks troubleshooting to no effect. I uninstalled and reinstalled and look for the updates to install. What should I try next?

    http://support.Microsoft.com/kb/314060

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

  • Audio loss. UAA Bus Driver reads Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39). All the patches?

    Audio loss.  Device Manager indicates Microsoft UAA Bus Driver as: "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) ».  Tried to update driver and restore without success.  Tried the program of "Fix - It", which has identified an error with the sound system, but said that he could not fix it.  Restored to an earlier date but still what system did not go.  Tried to uninstall and reinstall the driver.  Uninstall was successful but reinstall it read that the hdaubus file does not exist.  I'm a computer dunce.  Any help out there?

    Hi BarbaraWolfe,
     

    There are many causes of Code 39 errors:

    • A required device driver is missing.
    • A required binary file is corrupted.
    • There is a problem with the file I/O process.
    • A driver that refers to an entry point in another binary file cannot load.
    Re-install the driver by downloading it from the link given:
     
    Additional reference on:
    Check if that helps.
  • Add/Remove components error and DVD driver error: Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39)

    Original title: Add/Remove components error and DVD driver error

    Yesterday, I removed several components of windows to attempt to clean my cpu. After the reboot, I noticed that my DVD drive disappeared. I tried to update the driver but told me I have the most updated version, I uninstalled and reinstalled the drive, but I still get the same error. Under Driver Details, it shows that I have a lot of drivers for my Phillips DVD player. However, the status of the device is the following: Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) Click Troubleshoot to start the troubleshooter for this device. I've done the troubleshooting, and the two options has not fixed the problem.

    Then I tried to add windows components that I removed, thinking maybe that was the problem. However, when I try to add them, I get an error message that says: 'Setup cannot copy the file zClientm.ex_' it shows the location of this file as being in windows/i386, and of course, the file is located in this folder. So when I go to browse to locate the file, I find and click on it to open it, but I keep getting the same error message that the file is not found and Setup cannot continue.

    I realize that this problem seems very rare and weird, but any help at all would be appreciated. Thank you.

    Hello
     
     
    Code 39: Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39)
    Explanation of error codes generated by the Device Manager in Windows XP Professional http://support.Microsoft.com/kb/310123
     
     
    Method 1.
    Microsoft Automated Troubleshooting Services scans your computer and detects that the root causes of common problems, then automatically solves the problems that he finds and offers additional resources if the problem is not resolved. Click run now in the article below.
    Your CD or DVD drive cannot read or write media
    http://support.Microsoft.com/GP/cd_dvd_drive_problems
     
     
    Method 2.
    Also, try the methods listed in the section below and check.
    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.Microsoft.com/kb/982116
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • SE error message: "Windows cannot load the driver for this hardware device. The unit may be damaged or missing. "When you try to install new drivers for DVD players

    Original title: CD/DVD drives do not work after upgrade from XP to Vista

    I upgraded my dell E521 to Vista dimension, but now finds that none of the CD/DVD drives work.  I also tried two external drives, same thing.  I downloaded the new drivers for the internal disks and when I tried to install the windows said they already had the best drivers.  Both drives are TSST - I get device status "windows cannot load the driver for this hardware device. The unit may be damaged or missing. "I want to upgrade to 7, but can not run the dvd, and apparently MS has no download available if you purchase cd!  Am tearing my hair!

    Hi krt2,

    In general, the error can be caused by a missing required device driver, a required binary file is damaged, if there is a problem with the process I/O file, or if a pilot that makes reference to an entry point in another binary file which can not load

    You can try to uninstall and reinstall the driver for the device to solve this problem.

    Step 1: Uninstall the CD/DVD driver. Follow this step to do the same thing:

    a. click the Start button, select Control Panel, click System and Maintenance and then click Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    b. expand CD-ROM/DVD-Rom drives-> right click on the device, and then click Properties.

    c. on the device properties dialog box, click the driver tab, and then click on uninstall.

    d. restart your computer.

    Step 2: Reinstall the CD/DVD driver by visiting the manufacturer's Web site.

    See the links below for more details on the update of drivers:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Also, read the following article and check if that helps.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/982116

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • (KEYBOARD ERROR) Windows cannot load the driver for this hardware device because a previous instance of the device driver is still in memory. (Code 38)

    (KEYBOARD ERROR)

    Windows cannot load the driver for this hardware device because a previous instance of the device driver is still in memory. (Code 38)

    Hello

    I don't know how it happened.

    I tried unistalling the software but have the same problem when connected to e

    Help, please

    Hi Davedirect,

    ·        It's a wired keyboard or a wireless keyboard?

    ·        Who is the manufacturer of keyboard?

    ·        Since when are you facing this problem?

    ·        You did changes to the computer before this problem started?

    ·        Have you tried to restart the computer and check if the keyboard works normally?

    However, you can try to uninstall all the previous and software drivers installed for the keyboard by following the steps below.  More later, restart the computer and install the latest drivers and software and check if that helps you solve the problem.

    Step 1

    Remove the drivers from the computer. To remove the drivers to follow the steps below:

    a. Click Start and enter the type of search box of start of the press and "appwiz.cpl".

    b. in the programs and features window select the keyboard software installed on the computer and uninstall the drivers.

    Step 2

    During the uninstallation, the device in the Device Manager, make sure that you follow the steps below:

    a. Click Start.

    b. access control panel > system > hardware > Device Manager.

    c. open Device Manager and expand the keyboard device.

    d. right-click on the device keyboard and uninstall the device.

    During the uninstallation of the device in Device Manager, make sure that you place a tick against 'delete the driver for this device '.

    Step 3

    Also, you can try to update the drivers for your keyboard from the Device Manager and check if it helps. Access the link below and follow the steps to update the drivers.

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Access the link below to learn more about the error code 38:

    http://support.Microsoft.com/kb/310123

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can find driver for my dvd writer dose not work Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) _ dvd writer ad - 7530 has ata thanks

    Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) has .dvd rw ad - 7530 ata

    Hello

    Code 39 means that the driver is corrupted or missing.

    Please make all below even if you have done some before as it is often the set of operations which solves
    the question.

    Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
    Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
    This will refresh the default driver stack. Even if the reader does not appear to continue below.

    Then, work your way through these - don't forget the drive might be bad, could be a loose cable or
    slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    --------------------------------------------------------------

    Also check with your system manufacturer to see if there are any updated drivers for your DVD. Or even if it
    are you can reinstall the 'old'. Many use Windows default drivers however some special aura
    ones. Also check the website of the manufacturer of the car.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Hope these helps.
    Rob - bicycle - Mark Twain said it is good.

  • Windows 7 64 bit, cannot install the driver for bluetooth devices for my Motorola Droid Razr periferical

    Windows 7 64 bit, cannot install the driver for bluetooth devices for my Motorola Droid Razr periferical. When troubleshooting try to apply the fix, after trying, it ends with a message this problem "not set"...

    I finally found the help on my own. Download and install Windows Mobile Device Center. After installation, you'll swear that nothing has been installed, but there is a. The download says it's for Vista, but it also shows Winkdows 7 under system requirements. This is from the download I used.

    Go in Device Manager for each item under the heading Bluetooth with an asterisk, double-click it. Click the tab drivers, then put to update driver. Browse my computer..., let me pick from a list... Under manufacturer, select "Microsoft Corporation". Under model, click on "Windows Mobile-based device support", and then click Next. Click 'YES' in the driver warning window. Windows will now update the driver, and he will tell you, he did it with success!

    This solved my problems. Good luck with yours.

  • HL-DT-ST BDDVDRW GGC - H20N ATA cannot find the driver for windows7

    HL-DT-ST BDDVDRW GGC - H20N ATA cannot find the driver for windows7

    [Moved from comments]

    Hi Philippe,.

    1. What is the brand and model of your computer?

    2. How do you try to install the drivers?

    3. you receive messages or error codes?
    4. have you made a recent software or hardware changes to the system?

    You must contact the manufacturer of the computer and check the /firmware updates driver available for the device for Windows 7.

    If it is not available for Windows 7, you can try to install the Windows version of the drivers in compatibility mode and check if it helps.

    For more information, see the article:

    Make older programs in this version of Windows

    Update drivers: recommended links

    You can also try to perform Windows updates and check if the optional driver updates are available for the same.

    For more information, see the article:

    Automatically get recommended drivers and updates for your hardware

    Hope the helps of information.

  • Error "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    Original title: Audio recording sound recording microphone

    Hey, if I get this message:

    Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39)

    {Unable to load device driver}
    HS device driver could not be loaded.
    Error status is 0 x %x

    When I check the status of my driver, I "updated", but he said I had the latest update installed, and when I clicked on the option for the computer solve the problem itself, after he discovered what was wrong, said, that it has not been yet fixed... I have a HP ENVY m6. Any ideas on what to do? Oh and I did a 'tune up' just a little bit before, but just the usual things nothing big or diff

    There are several models of m6 ENVY

    ENVY m6 -?

    This is a link to the audio driver for HP ENVY m6 - 1188ca (it can work also on other HP computers or not)
    This is a link to the HP support site to download drivers

    And this is something common for "tuneup", "speed up my computer", "registry cleaner" software to cause problems
    Looks like something to remove the registry entries for the driver
  • DPS 2015 cannot launch the application for testing in my iphone via itunes

    HI everyone the recruit again! Cannot start the application for testing in my iphone via itunes version 12.2.2 IOS 8.4 6! the test application is displayed on the screen of my iphone but there is installation and gray forever?

    Any ideas? perhaps update iphone with a new 8.4.1 version?  Thanks to everyone in advance!

    https://helpx.Adobe.com/Digital-Publishing-Suite/KB/unable-install-developer-IPA.html

    Neil

  • Windows cannot load the driver for cd/dvd

    I have an Inspiron 1521 AMD Turion 64 x 2 4 GB ram Vista running.

    Device Manager displays the dvd player error "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) ».

    Pulling up the properties of the device, it shows the last and most successful driver is installed and try to update is not good.

    Suggestions to below a full re-installation would be appreciated.


  • Update the BIOS for Satellite U400-10O required

    Hello world

    I have a SATELLITE U400-10 oC (PSU40E-00R00EG3). It is an old product, but once I always love use regularly.

    Recently, I bought a battery for this device upgrade. Unfortunately, it does not recognize the laptop. The work of the battery, but I don't you all information about the charge level. I tried various tricks 'reset' (removing ACPI Microsoft in the list of the drivers installed, running down the battery completely etc..).

    I think the BIOS might be exceeded and I'd like to update. Unfortunately, the Web of Toshiba site does not list updates for him more. Still, someone has access to updates the BIOS for this?

    The BIOS is a Phoenix currently to version 4.70.

    Hello

    N my BIOS of opinion has nothing to do with it. Battery can be replaced, and if you use compatible batteries they should be recognized correctly. Here is the list of all compatible batteries:
    PA3534U-1BAS/BRS
    1BAS/PA3536U-1BRS
    PA3634U-1BAS/BRS
    PA3635U-1BAM/BRM

    Purchased one of these and original Toshiba product (label Toshiba) or a product without a name?

Maybe you are looking for

  • cDAQ-9174 cannot use the counters of 3 or 4

    Hello I try to display the entry of a potentiometer and 3 encoders of Quad.  I have a CDAQ-9174 with a 9215 OR (for the POT) in the slot 1, 9411 or in slot 2 and a NI 9401 in the Groove 3 (soon to another NOR 9411 when it happens). If I run the examp

  • USB 6525 6501 digital for output to the step motor

    Hello I try to use USB 6501 or USB-6525 out of step motor signals which command the stepper motor. My questions are (1) do I 6525 USB, I'm not sure the function of it (perhaps as a relay). (2) now I connected input 5V for USB-6501 "+ 5V" pin and GND

  • Compaq mini 110: reset the password of bios Compaq mini 110

    Hi I'm looking for someone who can help me with the password bios I need the number of returned system is CNU93541SR Thank you streekie

  • BlackBerry Smartphones changing GIS online on an MS Exchange Server? Sprint service

    I found the following link that perfectly explained and helped me to change the lines of sig on my private email: http://supportforums.BlackBerry.com/T5/BlackBerry-tour-9630/changing-or-eliminating-the-signature-on... However, this does not work for

  • Icon of mail to blackBerry Smartphones

    Hello I have a question. There is an icon on the screen: email icon. It is not connected to any of my email account. I want to remove this icon. I don't know where I have to remove it. Thanks for your help! Mike