Exclusive sneak peek at the new Virtual PCF Component

<control namespace="Custom" constructor="VirtualField" version="0.0.1" display-name-key="Virtual" description-key="Virtual description" control-type="virtual">
<resources> 
<code path="index.ts" order="1"/>
<platform-library name="React" version="16.8.6" />
<platform-library name="Fluent" version="8.29.0" />
</resources>
export class LinearInputontrol implements ComponentFramework.StandardControl<IInputs, IOutputs> {
export class LinearInputontrol implements ComponentFramework.ReactControl<IInputs, IOutputs>{
public updateView(context: ComponentFramework.Context<IInputs>): void 
{
ReactDOM.render(React.createElement(App, {context}), this._container);
}
public updateView(context: ComponentFramework.Context<IInputs>): React.ReactElement 
{ const props: AppProps = {context};
return React.createElement(App, props);
}

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store