My hub's name is "Home" yet location.hub.name shows "My New Hub". Everything I can find says it's named Home:
Any idea why it says My New Hub?
My hub's name is "Home" yet location.hub.name shows "My New Hub". Everything I can find says it's named Home:
Any idea why it says My New Hub?
Yep broken for me too as I get the same result. Maybe @bravenel or @chuck.schwer can verify if there is another way to get the hub name.
You can always query for it using this method via friendlyName attribute:
Try:
location.name
Andy
Is the location name and hub name synonymous? I only have one hub so I haven't really played much with it, but what if I have two hubs in the same location? They'd each have their own location.name still?
Yep
I have 8 hubs and location.name is different on each of them
Andy
Ok, I'll go with that solution. Just curios, does location.hub.name
return "My New Hub" for multiple hubs when you have more than one?
I have never tried.
Unfortunately, itβs 01.30am here right now and Iβm going to bed