User Profile
NicolasKheirallah
MVP
Joined 5 years ago
User Widgets
Recent Discussions
Re: Multiple Site Pages libraries to have different permissions when creating modern site pages
Yes, this is best practice, you see the blue highlighted text? That is the source of the news, so if you post in HR site it will say HR site there as it's aggregated to the news webpart32Views0likes0CommentsRe: Multiple Site Pages libraries to have different permissions when creating modern site pages
Use seperate communication sites, as these will be tagged (the blue highlighted): This is best practice and easier for the users to understand. Use this as a reference: https://learn.microsoft.com/en-us/sharepoint/guided-walkthrough-set-up-news-with-hub-site45Views0likes4CommentsRe: Invite guests to Viva Engage Community
Viva Engage Doesn't support that due to it using something called native mode: https://learn.microsoft.com/en-us/viva/engage/overview-native-mode You options would be, creating an account on your tenant with a subdomain (Consultant.Company or External.company) and explaing to them why you need to do this way. Or that those users use their business email.758Views0likes0CommentsRe: 100,000 Item Permission Limit & Versions
No, as in SharePoint, when Microsoft refers to items in the list view threshold or permission inheritance limitations, they mean the number of actual list items or documents, not the number of versions of those items. But it that being said, I really stronly recommend not having that many items in a library117Views1like0CommentsRe: How to Get the Correct Client ID for Graph API Authentication in SPFx Without Forcing Login?
Have you declared what permissions you need in Package-solution.json? Follow this guide on how to use Graph API: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial If you need more detailed help, explain abit more what you want to do138Views0likes0CommentsRe: Clarity tracking consent - how to
You will need to build a sitewide extension for this. There's no finish solution for this but something you will need to develop from scratch. As Clarity isn't GDPR compliant from intranet use within Europe, it's not really recommended to use95Views0likes0CommentsRe: Conditional Formatting using JSON
Fixed it for you :) { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "@currentField", "style": { "background-color": "=if(isBlank([$Emp_x0020_Returns_x0020_OF306]) || isBlank([$LP_x0020_Sends_x0020_OF306]), 'LightCoral', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) <= 10, 'LightGreen', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) >= 11 && (Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) <= 20, 'LightYellow', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) > 20, 'LightCoral', '')))))", "color": "black", "padding": "5px", "border-radius": "5px" } }62Views0likes0CommentsRe: Site template: How to make a Content Type a default one?
So the main issue is setting default content type isn't supported by Site script so you need to do it via trigger a flow and using HTTP apply it 😊 I wrote a blogpost exactly about this a month ago, you should be able to flow it and modify it to your needs!: https://yourmodernworkplace.com/blog/Setting-default-Content-type-Using-Flow107Views0likes0CommentsRe: JSON Conditioning with multiple IF statements
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "attributes": { "class": "=if([$CertificationDate] >= @now - 31536000000, 'sp-field-severity--good', if([$CertificationDate] >= @now - 5184000000, 'sp-field-severity--warning', 'sp-field-severity--severeWarning'))" }, "children": [ { "elmType": "span", "style": { "display": "inline-block", "padding": "0 4px" }, "attributes": { "iconName": "=if([$CertificationDate] >= @now - 31536000000, 'CheckMark', if([$CertificationDate] >= @now - 5184000000, 'Warning', 'ErrorBadge'))" } }, { "elmType": "span", "txtContent": "=[$CertificationDate]" } ] } Fixed it for you ! :)174Views0likes0CommentsRe: How to stop SharePoint list custom column formatting affecting form display?
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "@currentField", "style": { "background-color": "=if(isBlank([$Emp_x0020_Returns_x0020_OF306]) || isBlank([$LP_x0020_Sends_x0020_OF306]), 'LightCoral', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) <= 10, 'LightGreen', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) >= 11 && (Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) <= 20, 'LightYellow', if((Number([$Emp_x0020_Returns_x0020_OF306]) - Number([$LP_x0020_Sends_x0020_OF306])) / (1000 * 60 * 60 * 24) > 20, 'LightCoral', '')))))", "color": "black", "padding": "5px", "border-radius": "5px" } } try this:80Views0likes3Comments
Groups
Viva MVPs Private User Group
This private user group is exclusively for Viva MVPs to discuss confidential information and collaborate with the Viva product teamRecent Blog Articles
No content to show