PowerApps-Samples icon indicating copy to clipboard operation
PowerApps-Samples copied to clipboard

Issue with TSImageUploadControl - Default image not found error (Issue #144 reopened)

Open rjn71 opened this issue 6 years ago • 1 comments

Originally posted by @rjn71 in https://github.com/microsoft/PowerApps-Samples/issues/144#issuecomment-666304904

I'm reopening the issue as I haven't got any help from community forum. https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/Issue-with-PCF-TSImageUploadControl-Default-image-not-found/m-p/643598

I've deployed the TSImageUploadControl code from github. The upload is working fine. However the default image is not being set. I'm getting the error "Image not found" in this line

this._context.resources.getResource(DefaultImageFileName, this.setImage.bind(this, false, "png"), this.showError.bind(this));

After the call to getResource, the error function showError is called which displays the image not found message. I can see the default.png in the "img" folder. I'm unable to find the actual exception that is thrown by getResource. Are you able to help?

rjn71 avatar Jul 31 '20 08:07 rjn71

@rjn71 Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, visit https://powerapps.microsoft.com/support/. Closing the issue.

Nkrb avatar Oct 13 '20 23:10 Nkrb