Submitted by leader on Thu, 06/05/2025 - 11:54
This code takes a Sharepoint list containing over 4000 items and allows the app user to search the list by legal name (Title) or PreferredName.
It sorts ascending and will show most of the sharepoint list items when the gallery is first loaded or if the app users resets the search text box.
However, it will search/filter the entire sharepoint list.
Submitted by leader on Mon, 06/02/2025 - 11:09
Reference: Blue= Null Field
Coalesce(ThisItem.NewLocation.Value, ThisItem.CeremonyLocation.Value)
Submitted by leader on Wed, 05/28/2025 - 10:29
Add the SharePoint List field to your edit form and put this in it's DEFAULT property.
Coalesce(
ThisItem.UpdatedBy,
User().FullName
)
Then set the Visible property to: false

Submitted by leader on Mon, 05/26/2025 - 19:00
I need the filter to filter the datasource by status color and show me all records by default but only of the the Yellow color.
If (
//This is for all and all
DDLocations.Selected.Value = "All" And DDTimes.Selected.Value = "All", Filter('2025SummerGradCeremony',StatusColor.Value = "Yellow"),
//This is for all locations and selected times
DDLocations.Selected.Value = "All" And DDTimes.Selected.Value <> "All",
Submitted by leader on Fri, 05/23/2025 - 02:31
Submitted by leader on Wed, 05/14/2025 - 13:51
Change background color of Item base on values and conditions:
Gallery Property: TemplateFill
The DAX:
If(ThisItem.'U_STU_AcademicStats.DIPLOMA_EARNED'= "Yes" && ThisItem.'Graduation Location' <> "-", Color.LightGreen, ThisItem.'U_STU_AcademicStats.DIPLOMA_EARNED' = "No", Color.LightCoral)
Submitted by leader on Tue, 05/13/2025 - 11:46
Add this to the "X" property of you element.
(Parent.Width / 2) - (Self.Width / 2)
Saved a ton of time! Thanks to Micheal Alex!
Submitted by leader on Mon, 05/05/2025 - 22:32
I am always trying to find these. Easy reference.
Search Operators
Submitted by melinda on Sun, 05/04/2025 - 02:10
I could not find a simple way to do this or at least I couldn't find any instruction in twig docs.
if is_front == false Did not work.
The below twig did, mind your home page may no be Node 1 like mine is. So change "1" if you need to.
{% if node.id == 1 %}
{% else%}
<div class= "pageheaders"><img src="/images/headerbeach.jpg"/></div>
{% endif %}
OR
{% if node.id != 1 %}
<div class= "pageheaders"><img src="/images/headerbeach.jpg"/></div>
{% else%}
Submitted by melinda on Mon, 04/28/2025 - 01:40
This can be use in a twig template for a view teaser.
<h4 class="title"><a href="{{ url }}" rel="bookmark">{{ node.label }}</a> </h4>
{{ url }} will create a link to the node associated with the view.
Pages