Gallery
Wordpress + Coda Starter Kit
Share
Explore
Users

icon picker
3. Update Users

We can also use buttons to update users in our Wordpress site.
This button allows you to update the users field values from within the button settings. For “updating” to work we use the user “userID ” parameter which can be found in your user table that is synced.
Update user
Here we use the same table but add an Open Row button to allow us to update the user using the layout feature in Coda.
Remember to sync back to Coda once the user has been update!
Edit & Update Users From A Table
4
Status
Email
Username
Open Rows
Resync User
1
Draft
coda-connect
Open Row
Resync User
2
Draft
cru-od-developer
Open Row
Resync User
3
Draft
cru-li-developer
Open Row
Resync User
4
In Sync
,
Open Row
Resync User
5
In Sync
,
Open Row
Resync User
There are no rows in this table
Here we have simple buttons that reference and add a row in a new User table we have built below. You can build your own tables to allow for easy data management from within Coda. Try creating a user. Remember to sync back to Coda once the user has been created!
Choose a user to update:
andy-user
Update User

Create Views so you can easily manually sync your tags back to Coda.
Edit & Update Users From Within A Table
4
Search
coda-connect
cru-od-developer
cru-li-developer
,
coda-connect, cru-od-developer
,
coda-connect, cru-od-developer
Username
coda-connect
Status
Draft
Display Name
coda-connect
Nick Name
coda-connect
First Name
Last Name
Roles
Administrator
Password
123!ABC
Update User
Update User

Parameters - Update Users

These are the parameters used for the UpdateUser function
image.png
UpdateUser​(account, UserID, Email, Password, Username, FirstName, LastName, DisplayName, Nickname, Roles​)
Update a User entry in Wordpress using a Coda button
REQUIRED INPUTS
account: The Wordpress + Coda account used to take this action.
UserID: Unique identifier for the object.
OPTIONAL INPUTS
Email: The email address for the user.
Password: The password for the user
Username: Login name for the user.
FirstName: First name for the user.
LastName: Last name for the user.
DisplayName: The name for the object.
Nickname: The nickname for the user.
Roles: Roles assigned to the user.

Next Steps

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.