Bulk Update of Items with Photos and Signatures
ForAll cannot directly handle Camera and Signature control output in attachments. The fix is a two-step approach — capture first, then patch.
Store photo and signature before the loop:
powerfxSet(varPhoto, Camera1.Photo);
Set(varSignature, SignatureCanvas1.Image);
Step 2 — Patch attachments inside ForAll:
powerfxForAll(
colSelectedItems,
Patch(
YourSharePointList,
LookUp(YourSharePointList, ID = ThisRecord.ID),
{
Attachments: Table(
{ Name: "photo_" & ThisRecord.ID & ".jpg", Value: varPhoto },
{ Name: "signature_" & ThisRecord.ID & ".png", Value: varSignature }
)
}
)
);
Requires SharePoint list Attachments feature to be enabled. For large selections, trigger a Power Automate flow instead — more reliable than client-side ForAll at scale.
Vishnu WR
Please ✅ Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like ♥