Search code examples
ibm-mobilefirstjsonstore

IBM worklight - How to use 2 JSONStore collections in the applications


How can I initialize and use two JSONStore collections simultaneously?

One collection for general collections without password,
And another collection protected with a password?


Solution

  • You can have multiple stores with different collections. You would enable password protection, or not, for the store using the WL.JSONStore.init function. Each store can be encrypted with different password protection. See JSONstore Multiple User Support and JSONstore Security.