Skip to main content
All CollectionsGetting StartedChartroom
Text Templates Management Page User Guide
Text Templates Management Page User Guide
Updated over 4 months ago

Welcome to the Text Templates Management Page of RentalTide! This guide will help you navigate and utilize all the features available on the Text Templates Management Page, ensuring efficient creation, editing, deletion, and previewing of text templates within your Point of Sale (POS) system.


Introduction

The Text Templates Management Page is an essential component of RentalTide's POS system, designed to streamline the management of text-based communications with your customers. This page allows authorized users to:

  • View Text Templates: Access a comprehensive list of existing text templates.

  • Create New Text Templates: Develop new templates for various customer communications.

  • Delete Text Templates: Remove obsolete or unused templates from the system.

  • Preview Text Templates: View how a text template will appear to recipients with sample data.


Dashboard Overview

Upon accessing the Text Templates Management Page, you'll encounter the following key components:

  • Dashboard Header:

    • Title: "Text Templates"

    • Subtitle: "Manage your text templates"

    • Actions:

      • Add Text Template Button: Located in the header, represented by the AddIcon, allows authorized users to create new text templates.

  • Text Templates Table:

    • Table Columns:

      • Id: Unique identifier for each text template.

      • Placeholders: Variables used within the text template to personalize messages.

      • Actions: Options to preview or delete the text template.

  • Loading Indicators:

    • Skeleton Loaders: Displayed while text template data is being fetched to indicate loading states.

  • Dialogs:

    • Add Text Template Modal: Form for creating new text templates.

    • Delete Confirmation Modal: Confirmation prompt before deleting a text template.

    • Preview Text Template Modal: Displays a preview of the text template with sample data.

  • Notifications:

    • Snackbar Notifications: Provide real-time feedback on actions such as successful additions, deletions, and error messages.


Managing Text Templates

Efficiently manage your text-based communications with the intuitive features available on the Text Templates Management Page. This section covers viewing templates, creating new templates, deleting templates, and previewing templates.

Viewing Text Templates

The Text Templates Table provides a comprehensive view of all text templates associated with your selected location or across all locations.

Features:

  • Template Details:

    • Id: Displays the unique identifier of the text template.

    • Placeholders: Lists the placeholders used within the template for personalization (e.g., {CustomerName}, {BookingDate}).

  • Interactive Actions:

    • Preview Button: Click to open the Preview Text Template Modal and view how the text template will appear to recipients.

    • Delete Button: Click to remove the text template from the system after confirmation.

Usage Tips:

  • Quick Identification: Utilize the displayed template details to quickly identify and differentiate between various text templates.

  • Efficient Management: Use the action buttons to preview or delete templates directly from the table without navigating away.

  • Organized Structure: Maintain a well-organized set of templates to ensure clear and consistent communications with customers.

Creating New Text Templates

Creating new text templates ensures that your customer communications are tailored, professional, and effective.

How to Create a New Text Template:

  1. Access Add Text Template Button:

    • Located in the Dashboard Header, click on the Add Text Template Button (represented by the AddIcon) to open the Add Text Template Modal.

  2. Fill in Template Details:

    • Id: Enter a unique identifier for the text template. This ID is used for tracking and reference purposes.

    • Placeholders: Define any placeholders used within the text body to dynamically insert customer-specific information (e.g., {CustomerName}, {BookingDate}).

    • Subject: (Optional) Provide a subject line if applicable.

    • Body: Compose the plain text content of the template. Utilize the defined placeholders to personalize messages.

  3. Submit the Template:

    • After filling in all necessary details, click the "Add Template" button to save the new text template.

    • Upon successful creation, the new template will appear in the Text Templates Table, and a success notification will be displayed.

Usage Tips:

  • Accurate Information: Ensure all required fields are filled accurately to maintain data integrity.

  • Unique Identifiers: Each text template should have a unique ID to prevent conflicts and ensure easy tracking.

  • Effective Placeholders: Use meaningful placeholders to personalize messages, enhancing customer engagement.

  • Plain Text Formatting: Since the body is plain text, ensure clarity and readability without relying on HTML formatting.

Deleting Text Templates

Removing obsolete or unused text templates helps maintain an organized and efficient communication system.

How to Delete a Text Template:

  1. Locate the Template:

    • In the Text Templates Table, find the template you wish to delete.

  2. Open Delete Confirmation Modal:

    • Click on the Delete Icon (represented by the DeleteIcon) associated with the template.

    • A Delete Confirmation Modal will appear to prevent accidental deletions.

  3. Confirm Deletion:

    • Review the confirmation message and click the "Delete" button to remove the text template.

    • The system will remove the template from both the backend and the Text Templates Table.

  4. Confirmation:

    • A success notification will appear, indicating that the text template has been deleted successfully.

Usage Tips:

  • Confirmation Prompt: Always confirm deletions to avoid accidental removal of active text templates.

  • Review Dependencies: Ensure that the template is not associated with any ongoing campaigns or scheduled messages before deletion.

  • Permission Checks: Only users with the appropriate permissions can delete templates to maintain system integrity.

Previewing Text Templates

Previewing text templates allows you to visualize how a message will appear to recipients, ensuring accuracy and professionalism before sending.

How to Preview a Text Template:

  1. Locate the Template:

    • In the Text Templates Table, find the template you wish to preview.

  2. Open Preview Text Template Modal:

    • Click on the Preview Button (represented by the VisibilityIcon) associated with the template.

    • This action opens the Preview Text Template Modal, displaying the template's subject and body with sample data.

  3. View the Preview:

    • Review the text content to ensure placeholders are correctly replaced and the message maintains a clear and professional tone.

    • Make any necessary adjustments by closing the preview and editing the template if discrepancies are found.

  4. Close the Preview:

    • Click the "Close" button to exit the preview modal.

Usage Tips:

  • Sample Data: The preview uses sample booking data to populate placeholders, providing a realistic view of the message content.

  • Check Placeholders: Ensure that all placeholders are correctly formatted and correspond to actual data fields to prevent errors in actual communications.

  • Plain Text Clarity: Verify that the plain text content is clear, concise, and free of grammatical errors.


Permissions and Access Control

Access to the Text Templates Management Page is governed by a robust permissions system to ensure that only authorized users can view and manage text template data.

Key Permissions:

  • text_templates_access: Grants access to view text templates.

  • text_templates_add: Allows creating new text templates.

  • text_templates_delete: Permits deleting text templates.

Managing Permissions:

  • Role-Based Access: Permissions are typically assigned based on user roles within the organization (e.g., Admin, Marketing Specialist, Content Manager).

  • Verification: The Text Templates Management Page checks user permissions before rendering action buttons or enabling functionalities to prevent unauthorized access.

Usage Tips:

  • Ensure Proper Access: Verify that your user account has the necessary permissions to perform desired actions on the Text Templates Management Page.

  • Requesting Access: If you lack certain permissions but require them for your role, contact your system administrator or support team to request access.


Error Handling and Notifications

The Text Templates Management Page incorporates robust error handling and user-friendly notifications to keep you informed about the system's status and any issues that may arise.

Key Features:

  • Snackbar Notifications:

    • Provide real-time feedback on actions such as successful template additions, deletions, and error messages when operations fail.

  • Loading Indicators:

    • Skeleton Loaders: Displayed while text template data is being fetched to indicate ongoing operations and improve user experience.

    • CircularProgress: Indicates ongoing operations like data fetching or processing actions.

  • Dialogs and Alerts:

    • Add Text Template Modal: Facilitates the creation of new text templates with form inputs.

    • Delete Confirmation Modal: Prevents accidental deletions by confirming user intent.

    • Preview Text Template Modal: Allows users to view how a text template will appear to recipients with sample data.

    • Error Messages: Inform users of any failures during operations like fetching templates or saving changes.

Usage Tips:

  • Immediate Feedback: Pay attention to snackbar notifications for instant updates on your actions and system status.

  • Handle Errors Promptly: Address any error messages or dialogs immediately to ensure smooth operations and accurate text template management.

  • Maintain Connectivity: Ensure a stable internet connection to facilitate seamless data fetching and text template management.


Frequently Asked Questions (FAQs)

1. How do I create a new text template?

  • Answer: Click on the Add Text Template Button (represented by the AddIcon) located in the Dashboard Header. Fill in the required details in the Add Text Template Modal, such as the template ID, placeholders, subject, and body. After completing the form, click "Add Template" to save the new text template.

2. Why is the "Add Text Template" button disabled for me?

  • Answer: The "Add Text Template" button may be disabled if you have selected "All Locations," which restricts template management to specific locations, or if your user account lacks the necessary text_templates_add permission. To resolve this, ensure you have the appropriate permissions and select a specific location if required. If the issue persists, contact your system administrator or support team.

3. How can I preview a text template?

  • Answer: In the Text Templates Table, locate the template you wish to preview and click on the Preview Button (represented by the VisibilityIcon). This will open the Preview Text Template Modal, displaying the template's subject and body with sample data to visualize how the message will appear to recipients.

4. Why am I seeing an error message when trying to delete a text template?

  • Answer: Error messages during deletion can occur due to network issues, insufficient permissions, or server errors. Ensure that your user account has the text_templates_delete permission and that your internet connection is stable. If the issue persists, contact support with specific error details for assistance.

5. Can I manage text templates across all locations simultaneously?

  • Answer: Yes, if "All Locations" is selected, you can view and manage text templates across all branches. However, certain actions like adding or deleting templates may require specifying individual locations to ensure accurate management and avoid conflicts.

6. Is the text template data secure on this page?

  • Answer: Yes, all text template data displayed on the Text Templates Management Page is securely transmitted and stored in compliance with data protection standards. Access is restricted based on user permissions to ensure data privacy and security.

7. How do I generate a unique text template ID?

  • Answer: Text template IDs are manually entered by the user when creating a new template. Ensure that each ID is unique to prevent conflicts and maintain easy tracking. Avoid duplicating IDs to ensure each template can be distinctly identified.


Troubleshooting

Issue 1: Unable to Create a New Text Template

  • Possible Cause: Insufficient permissions, selecting "All Locations" which restricts template creation, or network connectivity issues.

  • Solution:

    1. Check Permissions: Ensure your user account has the text_templates_add permission.

    2. Verify Location Selection: Ensure that a specific location is selected and not set to "All Locations."

    3. Check Internet Connection: Make sure your device is connected to the internet.

    4. Retry Creation: Attempt to create the text template again after addressing permissions or connectivity issues.

    5. Contact Support: If the issue persists, reach out to the support team with specific error details for assistance.

Issue 2: Text Templates Not Loading Properly

  • Possible Cause: Network issues, server downtime, or incorrect location selection.

  • Solution:

    1. Check Internet Connection: Ensure your device is connected to the internet.

    2. Verify Location Selection: Make sure a specific location is selected and not set to "All Locations" without available data.

    3. Refresh the Page: Click the Refresh Button or reload the Text Templates Management Page.

    4. Contact Support: If the issue persists, contact support with specific error details.

Issue 3: Cannot Preview Text Template

  • Possible Cause: Network issues, server errors, or missing template data.

  • Solution:

    1. Check Connectivity: Ensure your device is connected to the internet.

    2. Verify Template Data: Ensure the template has both subject and body filled out.

    3. Retry Previewing: Attempt to preview the template again after verifying connectivity and data.

    4. Contact Support: If the problem continues, contact support with specific error details for assistance.

Issue 4: Delete Template Button Not Working

  • Possible Cause: Insufficient permissions, network issues, or server errors.

  • Solution:

    1. Check Permissions: Ensure your user account has the text_templates_delete permission.

    2. Verify Connectivity: Confirm that your device is connected to the internet.

    3. Confirm Deletion: Make sure you have confirmed the deletion in the Delete Confirmation Modal.

    4. Retry Deletion: Attempt to delete the text template again after verifying permissions and connectivity.

    5. Contact Support: If deletion fails repeatedly, reach out to support with detailed information.

Issue 5: Templates Not Updating After Actions

  • Possible Cause: Data synchronization issues, caching problems, or server delays.

  • Solution:

    1. Refresh Data: Click on the Refresh Button in the Dashboard Header to reload the text templates.

    2. Clear Cache: Clear your browser's cache to resolve any caching-related issues.

    3. Check Server Status: Ensure that RentalTide's servers are operational.

    4. Contact Support: If the templates still do not update, report the issue to support for further investigation.

Issue 6: Error Messages When Performing Actions

  • Possible Cause: Server-side errors, invalid input data, or network issues.

  • Solution:

    1. Review Input Data: Ensure that all required fields are filled out correctly and that the data is valid.

    2. Check Permissions: Confirm that your user account has the necessary permissions for the action.

    3. Verify Connectivity: Ensure a stable internet connection.

    4. Retry the Action: Attempt the action again after addressing the above.

    5. Contact Support: If error messages persist, provide the exact error details to support for targeted assistance.

Issue 7: Add Text Template Modal Not Opening

  • Possible Cause: UI glitches, permissions issues, or JavaScript errors.

  • Solution:

    1. Check Permissions: Ensure your user account has the text_templates_add permission to create templates.

    2. Refresh the Page: Reload the Text Templates Management Page to reset UI components.

    3. Clear Browser Cache: Sometimes, cached data can cause functionality issues. Clear your browser's cache and try again.

    4. Disable Browser Extensions: Some extensions might interfere with modal functionality. Try disabling them and accessing the modal again.

    5. Contact Support: If the issue persists, notify support with specific error details for further assistance.

Did this answer your question?