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

Model Driven Apps - Text Field to Lookup/Record Field

Hello,

 

I want to create a record in which I have a text entry field that will turn into a record or a lookup field after I save. This is for a user-friendly app in which users can type in a product ID into a product record, and then the product ID would become a record without having to navigate away from the page to create a product ID. I want to do this so that I can have a link to click back and forth between the Product and the Product ID.

 

Is this possible with MS Flow or business process flows?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Model Driven Apps - Text Field to Lookup/Record Field

Hi @dmann622 ,

Do you want to use a text to update lookup field?

You could try this formula:

Patch(entityname,item,{fieldname:LookUp(relatedentity,ProductID=Text...)})

You could use Lookup function to find the related record based on your text.

Here's a blog about how to update complex data type of CDS for your reference:

https://powerapps.microsoft.com/cs-cz/blog/option-sets-and-many-to-many-relationships-for-canvas-app...

 

 

Best regards, 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
dmann622
Level: Powered On

Re: Model Driven Apps - Text Field to Lookup/Record Field

Hello, thank you for the response.

 

Is there a way to use the formula you provided in a model driven app? I am not using canvas apps. Each created lookup field from text will be unique so i will never use the same product ID or lookup and select a product ID.

 

An inputted text will populate a lookup field and then the lookup field will be saved under a lookup entity. 

Helpful resources

Announcements
thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (5,422)