From 6e818e2b628c126ea721867303f1919eb5c6e692 Mon Sep 17 00:00:00 2001 From: Mosh-K <158998622+Mosh-K@users.noreply.github.com> Date: Mon, 16 Mar 2026 03:14:30 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74636=20[xrm]?= =?UTF-8?q?=20Add=20setVisible=20to=20FramedControl=20by=20@Mosh-K?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/xrm/index.d.ts | 2 +- types/xrm/xrm-tests.ts | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/types/xrm/index.d.ts b/types/xrm/index.d.ts index 5398b2db16d893..eab6cccf83ffec 100644 --- a/types/xrm/index.d.ts +++ b/types/xrm/index.d.ts @@ -3896,7 +3896,7 @@ declare namespace Xrm { * @remarks An Iframe control provides additional methods, so use {@link IframeControl} where * appropriate. Silverlight controls should use {@link SilverlightControl}. */ - interface FramedControl extends Control { + interface FramedControl extends Control, UiCanSetVisibleElement { /** * Returns the content window that represents an IFRAME or web resource. * @returns A promise that contains a content window instance representing an IFRAME or web resource. diff --git a/types/xrm/xrm-tests.ts b/types/xrm/xrm-tests.ts index d6449ed0bf324d..3dbd7278573163 100644 --- a/types/xrm/xrm-tests.ts +++ b/types/xrm/xrm-tests.ts @@ -785,3 +785,14 @@ function getStepsFromActiveStage(formContext: Xrm.FormContext) { // $ExpectType ItemCollection const steps = process.getActiveStage().getSteps(); } + +// Demonstrate set visibility for framed control (webresource) +const framedControlSetVisible = (formContext: Xrm.FormContext) => { + const framedControl = formContext.getControl("myWebResource"); + if (framedControl === null) { + return; + } + + // setVisible + framedControl.setVisible(true); +}; From 1393b0c92965bf78e3b9c3d76ba6257bf0a6eb65 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Mon, 16 Mar 2026 08:34:57 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20Update=20CODEOWNERS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/CODEOWNERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d30c5ce8402af7..30f7518132eced 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4256,7 +4256,7 @@ /types/line-reader/ @stpettersens /types/line-segments-intersect/ @jeremybanka /types/linear-gradient/ @Jack-Works -/types/lineclip/ @devloop01 +/types/lineclip/ @devloop01 @SheepFromHeaven /types/linesert/ @AlanWalk /types/link2aws/ @popefelix /types/linkify-it/ @praxxis @alexplumb @ragafus @@ -8497,6 +8497,7 @@ /types/xar/ @ffflorian /types/xast/ @stefanprobst @wooorm @ChristianMurphy @rokt33r @remcohaszing /types/xast/v1/ @stefanprobst @wooorm @ChristianMurphy @rokt33r +/types/xcode/ @YevheniiKotyrlo /types/xdate/ @yamada28go /types/xdialog/ @DonaldDuck313 /types/xelib/ @awlayton