[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

SCOTtish summit 2021

On February the 27th Scottish Summit 2021 will come to you as a virtual event. With over 250 sessions from all Microsoft technologies. You need to register for your FREE ticket and download the Scottish Summit App to see all the great sessions.