Hello all, I have an email address column that uses the formatting below to convert it to a live email
{ "$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json", "debugMode": true, "elmType": "div", "children": [{ "elmType":"a", "txtContent":"@currentField", "attributes":{ "href":{ "operator":"+", "operands":[ "mailto:", "@currentField" ] } } }] }\
in the grid view there is a failure message when there is no email, in a standard view it's empty
When I try to add the filter query; email ne null to my filter I get different results, when I place it at the end it's ignored when I place it at the beginning it removes 3 of the 11 nulls.
substringof('Director',Title) or substringof('Secretary',Title) or substringof('General',Title) or substringof('State',Title) or substringof('Officer',Title) or substringof('Commissioner',Title) or substringof('Chairperson',Title) or substringof('Chancellor',Title) or substringof('Controller',Title) or substringof('Chief',Title) or substringof('Lieutenant Governor',Title) or substringof('President',Title) or substringof('Superintendent',Title) or substringof('Undersecretary',Title) or substringof('Acting',Title) and field_E_x0020_MAIL_x0020_ADDRESS ne null
thanks for any help, the nulls may not even be a problem since the variable is being used in the cc line of an email
Solved! Go to Solution.
substringof('Director',Title)and field_E_x0020_MAIL_x0020_ADDRESS ne null or substringof('Secretary',Title) and field_E_x0020_MAIL_x0020_ADDRESS ne null or substringof('General',Title)and field_E_x0020_MAIL_x0020_ADDRESS ne null
Thw working filter query
The answer came to me while posting this, it was very simple. I needed to add the "and field_E_x0020_MAIL_x0020_ADDRESS ne null" to each one of the OR's. Maybe not the most elegant solution but it works.
Hi @Rixmcx ,
Glad to see you solved the issue.
You could mark your own reply as a solution.
Best Regards,
Wearsky
substringof('Director',Title)and field_E_x0020_MAIL_x0020_ADDRESS ne null or substringof('Secretary',Title) and field_E_x0020_MAIL_x0020_ADDRESS ne null or substringof('General',Title)and field_E_x0020_MAIL_x0020_ADDRESS ne null
Thw working filter query
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
63 | |
27 | |
22 | |
15 | |
15 |
User | Count |
---|---|
123 | |
46 | |
43 | |
35 | |
31 |