Guide overview
Create a DP01 household product variant, review its design and apply a source-column text mask in ABAC Controls. Check both derived name outputs before finalizing and verifying your product.
What you will learn
- Create a separate DP01 variant using the household relationship contract.
- Find the source display_name column in ABAC Controls and apply Simple Mask Text Fields.
- Check that both primary business and key contact names are masked in the preview.
- Review finalization and verify the saved product and its controls in Latttice.
Before you start
Browser practice: No account or setup required. Practise with genuine app captures and on-screen captions in this browser.
Follow along in Latttice: A signed-in Latttice session with access to Databricks Demo and its latttice_demo schema, plus permission to create a data product and configure its governance controls. Use a unique DP01 variant name.
Read the 13-step workflow
This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.
Start with the household outcome.
Create an ABAC learning variant of the existing DP01 household relationship foundation. Keep the same fixed snapshot, household grain and twelve outputs.
- Open PinBoard → Create Structured Data Product.
- Name the variant DP01 | Household Relationships - ABAC Demo.
- Use a unique name to preserve the original DP01 reference.
Check: Synthetic household relationships · fixed 9 October 2026 snapshot.
Generate from a precise request.
State the source, snapshot, join keys, household grain and calculations. Access controls are reviewed separately from the business relationship fields.
- Paste the prepared request into Intent / Use Case.
- Confirm Databricks Demo, latttice_demo and 2026-10-09.
- Select Generate and review the recommendation.
Check: Membership and banker ownership describe relationships; they grant no access.
Check the tables and their meaning.
DP01 combines household membership with customer party details. Review the current semantic coverage, gaps and direct source meaning before accepting the recommendations.
- Confirm household membership and customer party.
- Check relevant semantic definitions, table coverage and gaps.
- Select Accept Latttice AI Recommendations after review.
Check: Reported coverage does not verify business meaning. Review mappings and gaps.
Keep both sides on the same date.
Each membership must match its party in the same snapshot. The output rolls up to one household at one reporting date.
- Confirm the tables and columns; select Next: Configure Access.
- In Define Access & Transformations, open SQL.
- Check both join keys, 2026-10-09 and the household snapshot grain.
Check: Join: party_id + as_of_date. Grain: household_id + as_of_date.
Make the business calculations clear.
DP01 contains two keys and ten computed fields. Entities include BUSINESS and TRUST parties; a KYC review due on the snapshot is not overdue.
- Open Tables & Columns.
- Review the two keys and ten computed fields.
- Count KYC only when its due date is before 2026-10-09.
Check: 12 fields. A KYC review due on the snapshot is not overdue.
Configure the column access rule.
In Define Access & Transformations, ABAC Controls lists selected source columns by table. This example applies a constant text mask to the party display_name source column.
- In Define Access & Transformations, select ABAC Controls.
- Review the Attribute-Based Access Controls panel.
- Find the selected customer party source columns.
Check: Configure the source column explicitly. Banker and portfolio fields grant no access.
Use the name’s source column.
Find display_name in the customer party source table and select Add Rule on that row. In DP01, that source supplies both the primary business and key contact names.
- Find display_name under customer party.
- Select Add Rule on the display_name row.
- Review both downstream DP01 name outputs.
Check: display_name supplies primary_business_name and key_contact_name.
Select the constant text mask.
Choose data governance for Category, then Simple Mask Text Fields with '*' for Select Rule. The observed template starts applying when selected.
- In Category, choose data governance.
- In Select Rule, choose Simple Mask Text Fields with '*'.
- Wait while the selected rule is applying.
Check: A constant text mask. This example has no role or row condition.
Confirm the rule finished applying.
Wait for Applying to change to Applied. Confirm the selected template remains on display_name and the app reports 1 ABAC Rule Applied before validating the data.
- Wait for Applying to change to Applied.
- Confirm the template is attached to display_name.
- Check the 1 ABAC Rule Applied indicator.
Check: The indicator confirms rule application; the preview checks its data effect next.
Verify the mask in the actual data.
Open Preview Data and Load Preview. Verify both masked name outputs, all twelve expected output names and the household snapshot and counts before finalizing.
- Open Preview Data → Load Preview; wait for the result.
- Confirm both computed name outputs display '*'.
- Recheck all 12 output names, the snapshot and business counts.
Check: Check all 12 expected output names, including household_name, after masking.
Review the contract, then create.
Continue to Preview & Finalize. Review the unique ABAC variant, all twelve expected output names, snapshot, counts and mask rule before selecting Create Data Product.
- Select Next: Preview & Finalize.
- Verify all 12 output names, including household_name.
- Select Create Data Product; wait for the successful save.
Check: Create a separate ABAC variant. Keep the original DP01 reference unchanged.
Verify the saved rule and result.
On PinBoard, reopen your saved ABAC variant with Edit (pencil). Check the rule persisted and reload its preview. Test intended user access separately if your requirements include user or row restrictions.
- On PinBoard, select the saved variant’s Edit (pencil).
- Continue Manually → tables / columns → Next: Configure Access.
- Check ABAC Controls and reload Preview Data.
Check: Verify your saved variant’s rule, output contract and intended access in Latttice.
A defined product. An explicit mask.
You have practised creating a DP01 variant, applying the column mask and checking the result. The captured preview masked both computed names. Save and verify your own product in Latttice.
- Keep the checklist for your own DP01 ABAC variant.
- Verify the saved rule and result in Latttice.
- Return to the library to continue learning.
Check: Practice creates no live product and changes no access settings.
