Skip to content

Conversation

@gurbinder-big
Copy link
Contributor

This PR implements the Camera Attachment Widget as requested in issue #157.

Enhancement Overview:

  • Captures images using the device camera
  • Provides live preview before capture
  • Allows retake if needed
  • Uploads captured images directly to the Pega case as PNG attachments
  • Supports optional custom file names

Related Issue: #157

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove the file from the PR - just don't include the file in the PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok its added back

margin: 0;

input {
border-color: #e4e4e4;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we not use the theme border?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has been removed, it was not needed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this file - in the ui gallery - we don't need such mock - they should be in the story file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

This widget does not require additional configuration parameters. However, it relies on:

- **Case Info** from Pega:
- retrieved using `getPConnect().getValue(CASE_INFO)`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it means that the widget can only be used on a case then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, added only CASE

@gurbinder-big gurbinder-big requested a review from ricmars January 3, 2026 13:27
@ricmars ricmars merged commit 40378a9 into pegasystems:master Jan 5, 2026
2 checks passed
@ricmars ricmars mentioned this pull request Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants