Hello,
From your description, it seems that you have successfully created a custom sign-up page for users, capturing additional attributes like company and country, and saving them in the user’s profile. However, both the user and the admin are facing issues when trying to edit these additional attributes for the user.
To assist you better, I’ll need some more information about the specific technologies and frameworks you are using for your sign-up page and user management. However, I can provide some general suggestions that might help you troubleshoot the issue:
- Check User Permissions: Ensure that the user and the admin have the necessary permissions to edit the additional attributes. If you are using any role-based access control (RBAC) system, verify that the respective roles have the appropriate permissions for attribute editing.
- Verify Backend Implementation: Check your backend code that handles the attribute updates. Ensure that the endpoint or function responsible for updating user profiles is correctly handling the company and country attributes. Look for any potential bugs or errors that might be preventing updates.
- Debugging: Implement some logging or error handling mechanisms on the server-side to capture any errors or issues that occur during the attribute update process. This can provide valuable information to diagnose the problem.
- Frontend Validation: On the client-side (your front-end), ensure that the form fields for company and country are editable and not disabled. Double-check that there are no issues with the JavaScript or other client-side code that may be affecting attribute editing.
- Network Requests: Verify that the network requests (API calls) for updating user attributes are correctly sending the data, including the company and country attributes, to the server.
- Testing Different Scenarios: Try updating the additional attributes from both the user and admin accounts using different scenarios to see if there are any patterns in the issue occurrence. For example, try updating with different data, from different devices, or browsers.
- Cross-Browser Compatibility: Ensure that your custom sign-up page and attribute editing functionality are compatible with various browsers to rule out any browser-specific issues.
- Verify Data Storage: Double-check the database or storage mechanism where user profiles are saved to ensure that the additional attributes (company and country) are being stored correctly.
Without specific details about your tech stack and implementation, it’s challenging to provide a more targeted solution. If you could share more information about the technologies you are using, backend and frontend code snippets, and any error messages encountered, I would be glad to assist you further in resolving the issue. You can also reach out to me for personal guidance at my agency profile!!
#API-Management#Developer-Portal#webMethods