Hi all,
in the SharePoint list, I have two Tower: Tower A & Tower B in the LocName field
I also have two screen for each tower with different floor plans
How do I display the icon corresponding to each tower on the layout? (that means if LocName is Tower A it will show only the desk coordinates of Tower A)
Thank you very much.
I'm using the colMap for the items property, I have tried to put your code in the field but it doesn't work
Items -> MainGallery/ WaypointIcon
Hi @kinghnvn ,
The information you provide is not enough for a complete solution. Maybe you could try to provide more details?
Maybe you could try:
In what control do you need to display the records in this SP list, put this formula in the items property of this control.
Best Regards,
Bof
I really don't know how to use the code, could you please explain more detail?
I have two screens below
My sharepoint list:
Hi @kinghnvn ,
First , the expression is wrong. Cause you need to use ';' to split two formulas .
Secondly, put the App.ActiveScreen.Name in OnStart is useless , cause App.ActiveScreen.Name only return current screen's name. If current screen is screen1, it will return screen1. If current screen is screen2, it will return screen2.
Best Regards,
Bof
Hi Sir,
I'm trying to use the code as below, is that correct?
Hi @kinghnvn ,
You could use App.ActiveScreen.Name to get the current screen's name. On your side , you could filter the table by this formula:
Filter(SPList,Substitute(LocName," ","")=Last(Split(App.ActiveScreen.Name,"-")).Result)
Best Regards,
Bof
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional