User Profile
RobD365
Brass Contributor
Joined 6 years ago
User Widgets
Recent Discussions
Re: Issues with customRowAction
Unfortunately not, i've had a ticket logged with MS since April with no progress. Now that everyone is having the same issue, i'm unable to show it was actually working. I'm 100% convinced it's due to a rollout that on the surface only changed the (i) info icon in libraries to be '[<] Details' as initially it was only those with the new icon affected, those with the old were fine, now everyone has the new icon and is affected.53Views0likes0CommentsRe: Document Viewer Changes Users View (Recent SP Update)
Thank you ... this has helped me trouble shoot two of my issues - different symptoms, but the same icons in the tool bar for those who are affected. One of my issues : https://techcommunity.microsoft.com/discussions/sharepoint_general/issues-with-customrowaction/4401782 The other I hadn't posted, but basically library views that were using the 'Name (for use in forms)' field stopped linking to the documents, I had to switch to 'Name (linked to document)' I've added a reference to this post on my one to help people cross reference.234Views0likes0CommentsRe: Get the content of pervious file version
Unfortunately not so we ended up taking a different path. Once the user finishes editing, they submit it (e.g. v2.6) via a workflow for approval, once approved it's published as v3.0 within the library, and that version is converted to PDF, all in the one workflowIssues with customRowAction
We have a library with a handful of metadata fields, including Document Status (vStatus) : Managed Metadata, default value = In Progress To Be Checked (vToBeChecked) : Yes/No, default value = No Checked (vChecked): Yes/No, default value = No 'To Be Checked' is used to filter a view that only shows items that need checking, it's not visible on the view itself - if Yes, then the document is visible for checking. When 'Checked' is toggled to Yes, a custom row action is triggered that sets 'Document Status' to Final, and sets 'To Be Checked' to No. This has been working for the last 3 years, now one user has started receiving an error that 'One or more fields have an error', the error points to the 'Document Status' field as having the problem. If I remove the line that updates the Status, everything else works as expected. I've re-created the above fields on a new site and am able to replicate the error The Site Owner account, using Edge or Chrome, normal or incognito/private receives the error SC Admin using Edge private mode it works One normal site Member has the error, another doesn't Code for 'vChecked' field { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "display": "flex", "width": "100%", "height": "100%", "align-items": "center" }, "children": [ { "elmType": "div", "style": { "display": "flex", "width": "60px", "height": "30px", "border-radius": "15px", "align-items": "center", "flex-direction": "row", "justify-content": "=if(@currentField , 'flex-end' , 'flex-start')", "cursor": "pointer" }, "customRowAction": { "action": "setValue", "actionInput": { "vChecked": "=if(@currentField , '0' , '1' )", "vToBeChecked": 0, "vStatus": "=if(@currentField,if([$vStatus] == 'Final','Final|{{ GUID }}','In Progress|{{ GUID }}'),'Final|{{ GUID }}')" } }, "attributes": { "class": "=if(@currentField , 'ms-bgColor-themePrimary' , 'ms-bgColor-neutralTertiaryAlt')" }, "children": [ { "elmType": "div", "style": { "width": "18px", "height": "18px", "margin-left": "6px", "margin-right": "6px", "border-radius": "50%" }, "attributes": { "class": "ms-bgColor-white" } } ] } ] } Code for 'vStatus' field { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "@currentField", "style": { "background-color": "=if(@currentField == 'Final', '#cfe7d8', if(@currentField == 'In Progress', '#fff4cc', if(@currentField == 'Internal Only', '#ccd6ec', '' )))" } } Code for 'vToBeChecked' field { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "display": "flex", "width": "100%", "height": "100%", "align-items": "center" }, "children": [ { "elmType": "div", "style": { "display": "flex", "width": "60px", "height": "30px", "border-radius": "15px", "align-items": "center", "flex-direction": "row", "justify-content": "=if(@currentField , 'flex-end' , 'flex-start')", "cursor": "pointer" }, "customRowAction": { "action": "setValue", "actionInput": { "vToBeChecked": "=if(@currentField,'0','1')", "vChecked": 0 } }, "attributes": { "class": "=if(@currentField , 'ms-bgColor-themePrimary' , 'ms-bgColor-neutralTertiaryAlt')" }, "children": [ { "elmType": "div", "style": { "width": "18px", "height": "18px", "margin-left": "6px", "margin-right": "6px", "border-radius": "50%" }, "attributes": { "class": "ms-bgColor-white" } } ] } ] } Any ideas would be appreciated. - R262Views0likes4CommentsSearch & intelligence locations
Hi All, I've started adding locations to our Search & intelligence, we have some sites that are on corners, the pin however is on the opposite corner to our building. Is it possible to set the actual lat/long, or should i try to work out the buildings street number instead. Cheers Rob913Views1like0CommentsSome Qs on M365 custom themes
Hi All, I've set up 3 Custom themes on our tenancy (and retained the default unchanged), however the documentation doesn't match what I'm seeing, and was after some clarification. 1) According to this (https://support.microsoft.com/en-us/office/automatically-sending-news-post-digests-with-branding-b930b579-0de5-4c67-86f0-de64b87c45e3?ui=en-US&rs=en-US&ad=US), security groups can't be used to target the themes, however that's exactly what I'm using. 2) When creating a theme, I can "choose up up to five Microsoft 365 groups" to see the custom theme - I've selected 6 security groups for one of them. 3) I was under the impression that these themes would also be used for the automated news digest email, however during testing they weren't applied to the emails. Any clarification would be appreciated. Cheers Rob530Views0likes0CommentsRemove "Skype Chat" from Delve profile
Hi All, I had an interesting enquiry from my CIO. When looking at his (or any other) profile in Delve, amongst the contact details is an option to "Skype chat". Is it possible to remove it, or replace it with Teams? One note is that if you don't have Skype installed, you may be prompted to select an app (Teams) so, the functionality is there to use Teams, but it presents as Skype. Thanks Rob1.6KViews0likes2CommentsRe: Setting permissions via PnPSiteTemplate
Some progress ... I've managed to get the "Associated groups" created by replacing the `groupsitetitle` variable with `groupsitename`, so now looking at /sites/ParentSite/SubSite/_layouts/15/user.aspx, I see the groups specific to the sub site, and not the groups from the parent, however clicking the Settings Cog, and looking at permissions there it shows the site collection members - if i manually create a sub site, it shows the members specific to the sub-site.1.7KViews0likes0CommentsSetting permissions via PnPSiteTemplate
Hi All, I'm trying to create a site template for use on sub-webs via Get-PnPSiteTemplate / Invoke-PnPSiteTemplate which will configure create site-specific groups, and set permissions on one of the libraries it creates. Looking at the XML generated from Get-PnPSiteTemplate, I can see <pnp:Security AssociatedOwnerGroup="{groupsitetitle} Owners" AssociatedMemberGroup="{groupsitetitle} Members" AssociatedVisitorGroup="{groupsitetitle} Visitors">, nested in there are pnp:SiteGroup line items for the site collection level groups, and {groupsitename} Owners/Members/Visitors as well as a {groupsitename} Custom group. When I Invoke-PnPSiteTemplate, the libraries and home page are generated correctly, however the groups are missing - the only permissions are those inherited from the site collection. Any help would be appreciated. Cheers Rob1.8KViews0likes1CommentGet the content of pervious file version
Hi All, I'm trying to get the content of the last Major version of a document (so it can be published to another site as a PDF). So if the document is at version 3.6, I need the content of 3.0 to publish. I'm able to work out the current Major version by looking at the actual version and splitting on the decimal. If the decimal portion is 0, the current file is published. I then use a "Send HTTP request to SharePoint" with _api/web/getfilebyserverrelativeurl('/sites/SrcSite/@{items('Apply_to_each')?['{FullPath}']}')/versions as the URI The results are then filtered to get the version I'm after. I've seen posts else where that use the resulting _vti_history/17/SrcSite/File name.docx Uri within a "Get file content using path", however that just returns a 404 error. Any ideas on if/how this might be doable?Re: Windows sandbox wrong language
MrWombat, Interesting, I hadn’t tried leaving it open to see if it switches to english. It makes sense that it switches back to Chinese next time you open a sandbox. I’ve got a couple other machines I’ll check, one is Win11. Hopefully this is a known bug and is fixed up in the next patch Tuesday14KViews0likes0Comments- 15KViews0likes1Comment
Windows sandbox wrong language
Hi All, I opened windows sandbox for the first time in months, and noticed it had the "news and interests" widget. The only installed languages are English (same for the host PC), yet the news widget is in Chinese. Any ideas on how to fix the language, and (preferably) actually disable the widget? Cheers Rob16KViews2likes17Comments
Recent Blog Articles
No content to show