cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Dual Super User
Dual 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
Dual Super User
Dual 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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,201)