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

Canvas App Cannot pass Appointment GUID

I am working on a canvas app I need to embed into a web page.  The intent is for the web page to load it in a frame.  We want the canvas app to show a single appointment by passing the GUID to it.  I have been able to do this on the account entity and the phone call entity (as a test), but when I try to do it with the appointment entity, it does not show the "appointment" id . 

Example of what works for me on account and phone call 

LookUp(Accounts,Account=GUID("30fce0d3-e325-eb11-a432-000e3a8b54db"))

LookUp('Phone Calls','Phone Call'=GUID("21beabdf-46b4-ec31-563f-000e3a9bc3aa"))

 

So I thought this would work (but alas, it does not)

Lookup(Appointments,Appointment = GUID("e4fdd865-bbc3-ec22-a9b6-0022362b5e81"))

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @bumblingcoder ,

 

The point is that the 'U' of the function 'LookUp' is not capitalized. Function names are case sensitive

 

vbofengmsft_0-1651626809632.png

 

Best Regards,

Bof

 

View solution in original post

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @bumblingcoder ,

 

I've made a test but did not encountered the problem you mentioned. Please check if the GUID is correct.

vbofengmsft_0-1651555412273.png

 

 

Best Regards,

Bof

 

 

Thanks for replying. The error I was getting was it did not like "Appointment".  I fired up a new form in a new app and typed it all out and it worked.  I went back into the app with the issue and copy/pasted out of my temporary app and it worked.  Very odd.  I snapped a screen of before and after and as you can see, the formula looks the same.  Note I did not need to have .Appointment on the end.

2022-05-03_7-29-33.jpg

Hi @bumblingcoder ,

 

The point is that the 'U' of the function 'LookUp' is not capitalized. Function names are case sensitive

 

vbofengmsft_0-1651626809632.png

 

Best Regards,

Bof

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,778)