microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321 stars 53 forks source link

[Question]: Add Picture Control from CommandBar / DetailsList #346

Closed LukasSchauffele closed 2 months ago

LukasSchauffele commented 1 year ago

Hi All - hope this is the right place to post this . Feel free to move.

I've built an Inspection app using components of the Creator Kit. The user can take photos as part of their inspection. To take a photo the user:

See video:

https://github.com/microsoft/powercat-creator-kit/assets/7881214/1986b427-9154-4ddc-a5e5-741a016cd45c

Is it possible to add the 'Take Photo' button into the command bar to avoid the extra step of opening the details panel? The suggested process being:

CleanShot 2023-06-27 at 13 43 11

The OnSelect property of the Add Picture control doesn't actually open the camera/file picker, so I can't "call" the control. The alternative would be to add the control to the command bar / DetailsList somehow.

I don't want to rewrite the application to use the Camera control.

Anyone have any suggestions?

denise-msft commented 2 months ago

Unfortunately, due to resource constraints on this community offering, we are unable to spend resources on feature improvements for the foreseeable future. So, closing this item for now. However, this is a great scenario that we don't want to lose, so adding a label to mark this as a priority backlog item so we can prioritize this if resources become available later on.