cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
turnbe
Level: Powered On

Insert variable into Data card field

Hi

 

I have a screen to capture a new Asset, that looks like this:


Capture.JPG

 

When someone taps the first camera icon the code on the button is

On Select: Set(ScanAssetCode, ScanBarcode())

The field name for "Asset Number" on the Data card is "DataCardValue26"

 

How do you put the scanned barcode number thats inside "ScanAssetCode" into the field "DataCardValue26" so the person doesnt have to type it in?

 

The googling Ive done talks about context variables, but I havent been able to figure out how to use them in this context, any help appreciated.

 

Thanks

8 REPLIES 8
KickingApps
Level 8

Re: Insert variable into Data card field

@turnbe Try putting ScanAssetCode

in the Text for DataCardValue26:

image.png

KickingApps
Level 8

Re: Insert variable into Data card field

Did that work for you? If so, would appreciate it it you’d accept as solution for others to find. Or, if it didn’t, let me know and we can try something else. Thanks!
turnbe
Level: Powered On

Re: Insert variable into Data card field

Hi

 

"DataCardValue26" doesnt have a "text" property that can be set. Its currently set with "Default = Parent.default" and I cant overwrite it.

 

 

Thanks

turnbe
Level: Powered On

Re: Insert variable into Data card field

Hi

 

The suggestion didnt work, does anyone else know how to do this?

 

Thanks

KickingApps
Level 8

Re: Insert variable into Data card field

Any chance you can share the app or send me a screen shot to include the error.  I'd like to help you solve.

turnbe
Level: Powered On

Re: Insert variable into Data card field

Hi

 

Thanks for the reply. So I cant put "ScannedAssetCode" into the text property of DataCardValue26, because there is no Text property for it. See screenshot below.App1.JPG

 

And on the camera button I have the below, but that doesnt work either.

App2.JPG

 

Thanks

KickingApps
Level 8

Re: Insert variable into Data card field

Try changing deleting DataCardValue 26 control and replace it with a Label  from the Insert --> Text menu.

turnbe
Level: Powered On

Re: Insert variable into Data card field

Hi

 

Yes I can do that but how will the data in the new lavel push back up into the sharepoint list field when the new item is saved?

 

Thanks

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 325 members 5,395 guests
Please welcome our newest community members: