Creating an Update Form for User Profile Information
Note: If you are looking to create an interface where the user will be able to update more than one record it is better to use a Report DataPage and make the fields editable in the details page.
If you have Web User Authentication enabled you can provide an interface for your end-users to update or change their profile information. Using Record Level Security we can create an Update Form that will return the user profile record of the currently logged-in user from the authentication table and make it available for updating.
Steps to create an Update Form for user profile information
1. Create an Update Form
In the Caspio Bridge Explorer window go to the DataPage view. Open your authenticated folder. Click on the New button to open the DataPage wizard. Select Update Form and click Next. Choose your authentication table as the data source for this form.
2. Set up Record Level Security
On this screen of the DataPage wizard select Find Record through Record Level Security. There are two dropdowns below that option. Using these two dropdowns you must identify how your base table relates to your authentication table. Since, for this purpose, these two tables are the same, we will choose the same field for both dropdowns. Select a unique field such as an AutoNumber or Record ID to be sure that only one record is returned from Record Level Security.
3. Configure the rest of the form as normal
After you’ve set up Record Level Security the Update Form is configured like any other Web Form. By default all of the fields will be display only, so in the Configure Fields screen you will need to change them to an input field such as a Text Field. Now deploy this DataPage to your website. Since it is in an authenticated folder, it is already password protected.