Skip to main content

Notifications

Community site session details

Community site session details

Session Id : +nSdFPel8xejW3Gl+fYxT/
Power Apps - Building Power Apps
Suggested answer

Varpen

Like (2) ShareShare
ReportReport
Posted on 6 Apr 2025 14:55:45 by 6
  =
hi, i am trying to set up pen sign on powerapp.
 
 
Step 1 ; 
Peninput1 
One select
Set(varPenData,Self.Image)
 
Step 2 : 
If(
varPenData = PenInput1.Image,
"Sign is completed.",
"Sign in bank colume."
)
 
Step 3 :  text label
 
PenInput1.Image = code is display
 
 
Step 4 copy text label step 3
 
varPenData. = code is undisplay.
 
 
 
how to slve this step?
  • Suggested answer
    ronaldwalcott Profile Picture
    3,530 on 24 Apr 2025 at 00:05:13
    Varpen
     
     
    PenInput1.Image contains a reference which can be used to extract the image and display it in an image control using
    Set(varImage, JSON(PenInput1.Image,JSONFormat.IncludeBinaryData));
    Set(varCleanBase64Image, Substitute(varImage, """", ""))
     
    The Image property of the control is set to 
    varCleanBase64Image
     
    The varCleanBase64Image is created because the JSON adds quotations to the start and end of the string
     
    The JSON string can be compared to detect differences 
     
  • ronaldwalcott Profile Picture
    3,530 on 23 Apr 2025 at 22:59:42
    Varpen
    How does this work?
    Does PenInput1.Image actually store some value when you draw something or is this just a pointer which points to storage?
    If you assign a variable doesn't it just copy the reference value not the contents?
    Isn't this why people are unable to check changes using the PenInput control?
  • BCBuizer Profile Picture
    22,027 Super User 2025 Season 1 on 23 Apr 2025 at 19:48:49
    Varpen
     
    I hope my previous reply has helped you resolve the issue you were facing. If it hasn't please update on your findings. In case it resolved your issue, please mark it as the Verified Answer âś….
  • Suggested answer
    BCBuizer Profile Picture
    22,027 Super User 2025 Season 1 on 07 Apr 2025 at 20:51:58
    Varpen
    Hi!
     
    Try actually drawing something in the PenInput control to populate the variable. When I was trying to reproduce the issue, I couldn't, hence I suspect you may have overlooked this step:
     
     
     
    If this reply helped you in any way, please give it a Like đź’ś and in case it resolved your issue, please mark it as the Verified Answer âś….

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started