[QuickTip] How to use setVisible within TypeScript

One of my colleagues recently approached me and asked how one could use the function “setVisible” on a Dataverse control in TypeScript. The function is present in JavaScript but when trying to use it in TypeScript he got an error.

SetVisible error
SetVisible Error

The reason for that is that setVisible is not exposed in the Xrm type definitions. Since it is there in JavaScript (as you can see in the

Continue Reading Benedikt’s Article on their blog

[QuickTip] How to use setVisible within TypeScript ” Benedikt’s Power Platform Blog

One of my colleagues recently approached me and asked how one could use the function “setVisible” on a Dataverse control in TypeScript. The function is present in JavaScript but when trying to use it in TypeScript he got an error. The reason for that is that setVisible is not exposed in the Xrm type definitions.

Blog Syndicated with Benedikt’s Permission

Author: Benedikt Bergmann

Share This Post On
Share via
Copy link
Powered by Social Snap