Hello everybody!
I would like to view my photos in my gallery4, but I can't!
I'm using the ThisItem.Picture function
Someone help me?
Solved! Go to Solution.
Hi @jcnascime1 ,
You need to convert the file to Base64 using JSON if you want to store it in a Multi-line Text field - you can than view it as ThisItem.Picture
Patch(
Fotos_Insp,
ForAll(
PictureCol As aPatch,
{
AuditAnswerlD: aPatch.Question,
Picture:
Substitute(
JSON(
aPatch.Image,
JSONFormat.IncludeBinaryData
),
"""",
""
),
Auditld: IOAuditVar,
Data: Today()
}
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
It looks like you misspealt your column name with the picture info, have you tried ThisItem.Picutre
yes, I already tried.
I'm not in the office anymore to give exact examples, but for anyone else who helps, are you receiving any error messages on the picture control, or just no picture
It shows this message: this formula uses scope, which is not presently supported for evaluation
Hi @jcnascime1 ,
What type of field is Picture and what is your Data Source type? If it is a Collection, what is your Collect code ?
Your filter also seems to be repeating the same filter twice.
Hi,
I updated my filter.
Filter(Fotos_Insp,AuditId=AuditGallery1.Selected.ID && AuditAnswerID=DataTable1.Selected.IDespelho)
Hi @jcnascime1 ,
You need to convert the file to Base64 using JSON if you want to store it in a Multi-line Text field - you can than view it as ThisItem.Picture
Patch(
Fotos_Insp,
ForAll(
PictureCol As aPatch,
{
AuditAnswerlD: aPatch.Question,
Picture:
Substitute(
JSON(
aPatch.Image,
JSONFormat.IncludeBinaryData
),
"""",
""
),
Auditld: IOAuditVar,
Data: Today()
}
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
215 | |
180 | |
138 | |
96 | |
82 |