Monaca Backend has 4 main operations which can be done through Backend Control Panel such as:
In Backend Control Panel, you can manually manage users data.
From Backend Control Panel, go to
User. Then, click on Add user.
Enter the new user’s information such as Username, Password, and Properties. Then, click on Add button.
If the new user is successfully added, a new record will appear.
By default, only 5 required columns of a record are shown such as:
Created at &
Updated at. If you want to show other column(s), click on + icon.
Select the column you want to be shown and click Add.
After that, the additional column(s) will be shown.
Select on a user’s record you want to edit. Then, the selected user record’s dialog will appear.
Now, you can update the user’s properties by using correct JSON notation. Then, click Update after you are done.
_id, ...) cannot be modified, except
Tick the checkbox of user’s record(s) you want to delete.
Then, click Delete users.
A Collection refers to a group of data. You can manage the appropriate
data used within an application based on permissions you granted to each
user. User permissions you can grant to each user are
In this section, an example of how to manage a
Fruits Collection is
illustrated. In this example,
used as fields of the properties. Each row of data (such as: lemon,
yellow, sour) is called
collection item. A unit comprising of all of
these items is called a
Collection. To put it as database terminology,
a Collection is a table, and Collection Items are records.
Collection item has several system properties that start with an
_). For example,
_Oid is, one of system properties,
unique ID of an item.
From Backend Control Panel, click on Add Collection icon (as shown below).
Then, New Collection dialog will appear. Fill in necessary information for your Collection such as:
Collection name: name of the Collection
Default permission of new item: check
writeto grant all users the read and/or write permission for the new item.
Then, click Add button.
After creating a Collection, we can now start adding Collection items to it as follows:
From Backend Control Panel, select a Collection you want to add an item. Then, click Add an item.
Entering the new Collection Item’s information in JSON format. Then, click on Add button. Continue to add the other two items as shown in the table above.
If the new item is successfully added, a new record will appear. By default, only system properties of a record are shown. If you want to show/hide other columns, please refer to Show/Hide Columns of Records
Select on an item’s record you want to edit. Then, the selected item’s dialog will appear.
Now you can update this item’s properties by using correct JSON format. In this example, let’s edit the
lemon item by changing its name from
banana and from
_id, ...) cannot be modified.
Tick the checkbox of the record(s) you want to delete.
Then, click Delete items. Then, you will be asked to confirm the deletion.
You can change the permissions for each Collection item for specific type of users. There are two type of users:
Owner: refers to the user who create the Collection. Owner will
always be granted read and write permissions.
Public: refers to all users who are not logged in. By default, they
are not granted the read or write permissions.
In order to change the user’s permission for each Collection item, please do as follows:
Permission icon of the item you want to change the permission setting. Then, the Permission dialog will appear.
You can change the permissions for each Collection item for specific type of users. You can also set specific permission for a specfic user. If your Backend has more than one user, a list of users will appear in the combo box for you to choose from.
From Backend Control Panel, right-click on the Collection you want to delete and choose
Delete this Collection.
Then, you will be asked to confirm the deletion.
Please refer to Push Notification.
You can edit/create the template for emails sent to your app’s users.
From Backend Control Panel, select
You can then add/edit the mail template in this page.
Click Apply after you finish editing/creating the template.