Home > PCF, PowerApps > Power Apps component framework | Import Solution Failed: Object reference not set to an instance of an object

Power Apps component framework | Import Solution Failed: Object reference not set to an instance of an object

While importing our PCF Code Component, using pac pcf push command, we got an error Import Solution Failed: Object reference not set to an instance of an object.

Reason and Fix:

  • Error was bit difficult to troubleshoot as there was no detailed error message. Turns out the issue was due to the usage of ‘Custom Events’ which is still unsupported at the time of writing this article.
  • As per official docs, support for the custom events will be planned for future which can be used for communicating changes outside of a control without adding a column configuration.
  • Fix is obvious that we had to remove custom events and import the solution.

🙂

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: