Hello,
- I'm building a telemetry "drop-in" that collects Username/email/lat/long/etc.
- This drop-in is in the form of a Gallery.
- The Gallery's items are created using what I call, Mehdi's Method of creating a collection.
Here is the OnVisible code:
Set(
telemetry,
Table(
{header: "User Info"},
{item: User().FullName},
{item: Office365Users.UserProfile(User().Email).MailNickname},
{item: Office365Users.UserProfile(User().Email).JobTitle},
{item: Office365Users.UserProfile(User().Email).Mail},
{header: "User Location Info"},
{item: varLat},
{item: varLong},
{item: varAlt},
{header: "User Manager"},
{item: Office365Users.Manager(User().Email).DisplayName},
{item: Office365Users.Manager(User().Email).Mail}
)
)Then the Text Property of the single label in the telemetry Gallery reads:
If(
IsBlank(ThisItem.header),
ThisItem.item,
ThisItem.header
)
The var's Lat/Long/Alt are all instantiated OnStart using Set(varLat, Location.Latitude), etc.
For some reason, vars Lat/Long/Alt are giving me the error: "Cannot use this record. It may contain colliding fields of incompatible types."
While this is an amazing error so profess ( 🙂 ), what does it mean?
Thank you