eForms Mobile Replicate – User-Level Data Filtering

eForms Mobile Replicate – User-Level Data Filtering

By default, eForms Mobile  Replicate sends every row in a table to every user. To ensure users only see the data relevant to them, you can implement User-Level Filtering.

This article is an extract from the Replicate Installation Guide (PDF). For full context and comprehensive references, please consult the complete manual.


How it Works

When a mobile user syncs their device, the eForms Mobile  Replicate service checks their login email against a specific column in your SQL table. If the user’s email is not found in that row, the row is excluded from their sync.

Implementation Steps

To enable this filtering, you must add a specific column to the end of your SyncData tables:

Column NameData TypeContent Format
_userIdsNVARCHAR(MAX) or TEXTA comma-separated list of user emails.

Example Entry:

If a row should be visible to John and Sarah, the value in the _userIds column should look like this:

john.jameson@company.com, sarah.smith@company.com


Key Rules for Filtering

  • Exact Match Required: The email addresses in the _userIds column must exactly match the email addresses used to log into the mobile app.
  • Empty Values: If the _userIds cell for a specific row is null or empty, that row will be treated as “Public” and sent to all users.
  • Column Placement: Like other system columns, _userIds it should be added to the end of your table schema to maintain consistency.

Security vs. Convenience

While User-Level Filtering is excellent for reducing data clutter on devices, it is a sync-level filter, not a deep encryption method. For highly sensitive data, ensure your SQL permissions and server security are hardened as well.

    • Related Articles

    • eForms Mobile Replicate – FAQs

      General & Branding What database types does Replicate support? Replicate currently supports Microsoft SQL Server. We are actively working to expand compatibility with other database engines in future updates. Can I white-label Replicate with my own ...
    • eForms Mobile Replicate – Push Form Entry Data to your Database

      How Data is Structured in eForms Mobile Replicate When a form is submitted, eForms Mobile Replicate automatically creates a table in your local SyncData database. Table Name: Derived from the Form Screen’s External ID. Columns: Derived from the Data ...
    • eForms Mobile Replicate – Running in Microsoft’s Azure cloud hosting

      Hosting eForms Mobile Replicate on Azure is a popular choice for scalability. While the core installation process remains the same as an on-premise server, there are specific networking and database considerations unique to the Azure ecosystem. Azure ...
    • eForms Mobile Replicate – Exposing Tables from your Database as Data Sources

      Using Platform Replicate for Real-Time Data Source This article is an extract from the Replicate Installation Guide (PDF). For full context and comprehensive references, please consult the complete manual. If you have local data that needs to be ...
    • eForms Mobile Replicate – Seamless Data Synchronization

      While our platform offers “baked-in” cloud connectors and a robust Integration API, we recognize that many organizations have a foundational requirement: accessing data within their own local SQL environment. Replicate is a standalone web application ...