cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TrisMondo
Frequent Visitor

Using Onscan to update datafields

Hi I was wondering if there is a way of editing a sharepoint list entry using onscan. For example I have two fields. Tittle and In.

 

I would like the onscan to take the data from the qr code (That will be a Tittle) and then I would set the data for IN to yes. They are both just text fields. My attempt below 

 

Patch(
'InOffice',
Tittle(BarcodeScanner1.Value),
{In: "Yes"} );

 

Any suggestion/ ideas would be appreciated

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @TrisMondo ,

 

Have you tried below:

Patch(
      'InOffice',
      Defaults('InOffice'),
      {
       Tittle:BarcodeScanner1.Value,
       In: "Yes"
      }
)

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @TrisMondo ,

 

Have you tried below:

Patch(
      'InOffice',
      Defaults('InOffice'),
      {
       Tittle:BarcodeScanner1.Value,
       In: "Yes"
      }
)

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Top Solution Authors
Top Kudoed Authors
Users online (4,218)