Scenario — You need client-side JavaScript to behave differently depending on whether the portal contact holds a particular Web role (e.g. “My Demographics Access”). Power Pages doesn’t expose Web-role data directly to JavaScript, so you must pass that information from Liquid into the page.
Reactivate a Business Process Flow and Jump to a Target Stage with a Pre-Operation Plug-in
1 · Scenario
Problem statement ↴
Records previously flagged as Ineligible (statecode = Inactive
)
are later re-activated by users. Their associated Business Process Flow
rows remain inactive and stuck on an early stage.
Automatically Advance a Business Process Flow Stage with an Asynchronous Workflow in Dynamics 365
Objective — Automatically reopen a record’s Business Process Flow (BPF) and set it to a specific stage as soon as a flag on the parent record changes, using only a background workflow (no code, no ribbon commands).
Edit related table records directly from another table’s main form
Reference: 1
There are multiple ways that you can work with related table records on a table form within Power Apps. For example, you can include related tables in read-only mode with a quick view form and create or edit a record using a main form in a dialog.
Another way you can work with related table records is by adding a form component control to another table's main form. The form component control lets users edit information of a related table record directly from another table’s form.
Dynamically Hide the “New” Button in a Dynamics 365 Sub-Grid
In some business scenarios users should only add one (or two) child records. The quickest way to enforce this in Dynamics 365 is to hide the New button after the sub-grid reaches a specific row count. This article shows how to:
- Create a JavaScript enable rule that counts rows.
- Refresh only that sub-grid’s ribbon so the rule re-evaluates instantly—no full form reload.
How to Check Whether Any Dataverse Record Is in a Particular Business-Process-Flow (BPF) Stage
Knowing the current stage of a Business Process Flow (BPF) lets you lock fields, hide buttons, or trigger downstream logic. Below are two generic patterns that work in every online environment—no proprietary entity names, no deprecated APIs, and no plug-ins.