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

Issue Loading Information Using LookUp

I have a form where I am loading data from a SharePoint list (load form saved progress). I am creating variables using the stored data in the SharePoint list and assigning the variables as default values in the fields. This is working well for comboboxes:

Set(TemplateSoldTo, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SoldTo)]); 

 

However, when I am trying to load into dateboxes or textboxes I get issues that look like the following:

ACTBabCV9quYh1

The code looks the same:

Set(TemplateShipPO, [LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO)]);
Set(TemplateSurgeryDate1, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1)]);

I am using 'Date/Time' set to only store date datatype for the Date field and 'Multiple Lines of Text' for the text field in the SharePoint list.

I am not sure how to get this to work; any help would be appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

KDesai6
Level: Powered On

Re: Issue Loading Information Using LookUp

@yashag2255 Thank you for your response, that fixed it!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 396 members 2,966 guests
Please welcome our newest community members: