If you want to get the Author login from the SharePoint object, for example, list item, you should use 'expand=Author' in the query. It's necessary, but not sufficient. There's one more option, which you must use.
(read more...)If you want to get the Author login from the SharePoint object, for example, list item, you should use 'expand=Author' in the query. It's necessary, but not sufficient. There's one more option, which you must use.
(read more...)I developed a service for SharePoint 2019 (on premise) and this service should move files from document library to an external storage. The client part is made with SPFX solution – command set. It added buttons to the interface of the document library.
(read more...)When I started to work with SPFX solutions for SharePoint, I couldn’t understand how to load external CSS files. I came up with one solution, but it was a crutch. I did it with embedding <styles> tag into JSX. It looked like this:
(read more...)While writing the script to create lists for my solution for SharePoint Online I had to rename Title field in a list. It's not so obviously as just to create a new field.
(read more...)I used EventCalendar component with resources and timeline view, the default interval is 1 month, I also add week numbers to the header. I wanted to fit the calendar to the page without horizontal scroll.
(read more...)The queries to get all the list items, get list items with specific field values, get list items by ContentType Name. The most of the time I spend with the last one.
(read more...)Many times I told myself not to work with SharePoint, but it's forever with me 🙂
My colleague asked to help him with a problem with modern lists. There some simple fields, without lookups. But there's an error in displaying items. I spent about an hour to determine the problem - created a copy of the list, removed all items, added items with only 1 filled field. It worked in classic view, but not in modern.
Once I tried to make the application to migrate a custom data source from SharePoint 2010 to SharePoint 2019 on-premise. To make it easier, I decided to make to separate solutions – the first one to export the data from SharePoint 2010 from the list to JSON and attachments to local folder(CSOM for SharePoint 2010 sucks) and the utility to import data to SharePoint 2019 via REST.
(read more...)The method to expand all the events in Calendar View on load using Content Editor WebPart. You should add this code. You should copy and paste it to html file, save this file to document library and set its path into the settings of CEWP.
(read more...)To retrieve a SharePoint version there's no need to go to Central Administration. You can easily see it if you enter the URL
http://mig1/_vti_pvt/service.cnf