To update the Created Field for SharePoint list item you can start the script like this. The most important here is the 'fullcontrol' permissions and '-UpdateType UpdateOverwriteVersion' parameter in the request.
(more...)To update the Created Field for SharePoint list item you can start the script like this. The most important here is the 'fullcontrol' permissions and '-UpdateType UpdateOverwriteVersion' parameter in the request.
(more...)For the development of a Ract component I used MUI Autocomplete. I got the array of objects from SharePoint list and used this data as a parameter for options. Actually, you can use any source.
But I had a lot of warnings in console.
MUI: The value provided to Autocomplete is invalid.
None of the options match with {"Id":0,"Title":"","ProjectDescription":"","AvailableObjects":[]}.
You can use the isOptionEqualToValue prop to customize the equality test.
With the code below you can copy and set specific permissions to a directory within Net app.
(more...)For a process I had to update the Author field in SharePoint online list item. This time I decided to use PnP.Core instead of PnP.Framework. Was it worth it? I don't really know, but the method is not the most difficult part of the task.
(more...)When you use Azure SQL Database, then you should understand, that it has something different from on-prem version. And you will find it only when you start to work with it.
(more...)You can use AWK or grep
awk '/error/' logfilename.txt
or grep
grep 'pattern' logfilename.txt
(more...)Here I will write down the steps for creating projects for SPFX solutions. The prerequisites - Node, Yo and spfx-fast-serve are already installed.
(more...)Accidentally I found out, that Notepad++ allows to move multiple lines up and down without Copy-Cut / Insert? Use Ctrl + Shift + (arrow up | arrow down).
(more...)An application that was developed by me as a service with Net Core 8 didn’t want to start working as a Windows service. The application was created in Visual studio 2022 with a “Worker service” template. If you just start the app, it works. But I had problems to start it as a Windows Service.
(more...)