New answers tagged sharepoint-online
0
votes
PnP Modern Search (version 3), hover functionally is not working on live persona card
We had the same issue but it started working magically this morning. :).
must have been something with the Microsoft API call that was throwing it off. Didn't have to change anything to fix it.
0
votes
Aspx page not opening in SharePoint online Modern Team site
Just to help out others who might see this:
You can simply drag & drop files/folders into the Site Pages section in SharePoint Designer 2013. At least that's what worked for me (after finding out ...
0
votes
Sharepoint Rest API: Create Folder Columns and set values for items
Found how pasting here if someone faces the same issue.
_api/web/GetFolderById(guid'<UniqueId>')}')/Properties
using the property vti_x005f_listid:
_api/web/lists(guid'<list_id>')/Fields
...
1
vote
Extend logs for SharePoint on-premsies and Online more than 90 days
Microsoft uses the Unified Logging System (ULS) in the SharePoint
Online environment. Sometimes we receive requests to share these ULS
logs with customers for troubleshooting and debugging scenarios.
...
0
votes
Error Posting to Person or Group Field
Person or Group fields are special fields in SharePoint. You cannot just pass the text (user display name or email address) to set the person or group field like single line of text field.
To set ...
0
votes
SharePoint online column update
This is the expected behavior in SharePoint while using JSON Formatting as JSON formatting only customizes the "display" of the list column and does not store/modify the actual value of ...
2
votes
Accepted
The security validation for this page is invalid and might be corrupted. X-RequestDigest
So, when you're making a request to /_api/contextinfo to get around not being able to get the request digest from
$('#__REQUESTDIGEST').val()
you have to wait for the response, and then use the ...
1
vote
SPFx app after updating node version app not working
Node.js version 16.x is not yet supported for SPFx development.
Node.js version to use is depend on the version of SPFx generator you are using.
For example: If you are using SPFx v1.14, you can use ...
0
votes
Accepted
Option to change the Navigation is not available under Change the look pane on Team site
Finally!!!!!!
If the SharePoint Server Publishing Infrastructure is enabled then the Site Navigation option is not available.
Disabled the above feature and then I can see the Navigation option under ...
0
votes
Links in Site Pages Library: Get using Rest API
Thanks for your answers! I managed to get the shortcut link using the same API
const url =
subPageUrl +
"/_api/web/lists/getbytitle('Site%20Pages')/items?$select=Properties/...
0
votes
RenderListDataAsStream Rest API not returning Field in ViewFields
In your code, you need to reference the field like this:
const x = item["serverurl.progid"]
instead of:
const x = item.serverurl.progid
0
votes
Thumbs.db are automatically deleted
Are your users using the OneDrive sync client? If so, Windows is probably creating the thumbs.db locally in the synced folders and the OneDrive Sync client is uploading them to SharePoint. If the ...
0
votes
PowerShell to compare arrays of objects with different property names
Without having seen your code this might be what you are looking for.
#Array with users to check against
$users = @("userOne@domain.com","userTwo@domain.com")
#$users = Get-PnPUser
...
0
votes
Delete all items in Recycle Bin using javascript
if your open to rest than use the following api
site collection level (second stage bin):
/_api/site/RecycleBin/deleteAll()
web level (first stage bin):
/_api/web/RecycleBin/deleteAll()
its a ...
0
votes
SharePoint Online Calculated Column
You could use the following calculated formula:
=DATEDIF(TODAY(),[expired date],"d")
As a result, it will get the left days:
If the answer is helpful, please click "√" on the ...
0
votes
How to include folders in document libraries when provisioning from a template
The Provisioning system handles the list and the pieces of the list (views, content types, fields etc.) but doesn't seem to be able to include content. Folders would be content.
I would suggest ...
2
votes
Links in Site Pages Library: Get using Rest API
You can use below endpoint to get the actual web page URL you provided while creating a link page:
<siteUrl>/_api/SP.Utilities.ShortcutLink.GetShortcutLink(@a1)?@a1='https://tenant.sharepoint....
0
votes
Search Results Web Part does not display correct thumbnail
I use PictureURL in JavaScript apps and in Display Templates. It would give you the full sized image instead of the thumbnail.
1
vote
Accepted
Set value of column based on value of choice column - SP Modern List
You are looking for cascading lists where the choice in one choice column changes the selection in a different column.
Using a combination of a lists, JSON column formatting and Power Apps forms ...
0
votes
Force open SharePoint URL instead of download
From what I understand, when accessing the version history for a document, SharePoint is not actually storing an intact file, it stores differential pieces in a content database. When you request a ...
0
votes
Search Results Web Part does not display correct thumbnail
Found a possible fix. Replace {{getPreviewSrc item}} with {{PictureThumbnailURL}}
1
vote
Set value of column based on value of choice column - SP Modern List
A good solution would be to have another list to store your projects and project managers. Then in your target list, you would create a lookup column to your project list (project name column) and ...
2
votes
SharePoint online column formatting JSON - replace @currentfield
Use below JSON for you column:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"...
0
votes
Change sharePoint URL link
google is your friend: https://docs.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name
There is no simple quick answer: read through the documentation and decide if that's for you.
1
vote
SharePoint Online Lists - Conditional Formatting to hide columns in form - not working
I can see you missed few parentheses in your formula. Try using this formula:
=if([$Type] == 'Property', 'false', if ([$Numbers] >= 2, 'true', 'false'))
Note: The column is represented by ...
0
votes
Republishing a Content Type
1.You should click update sites and list option.
2.After applying it to libraries or lists if further changes are made to the enterprise content type and republished, the latest changes will be ...
1
vote
Adding a days to date column
You can do it using "Get files(Properties only)" by selecting the order of date column as desc and Top count as 1. You can pass the company name as well in filter query.
and to get the ...
0
votes
Track who completed the videos on SharePoint Online
I'm not sure exactly how SP Online presents videos, but if you can get a reference to the video element as an HTMLMediaElement, there is a pretty good API you can use to hook into events such as ended ...
0
votes
SharePoint Online : copy from existing list : issue with Column names
The standard columns names are by design, they will not be affected by the language settings. The language settings could only change the language in the command bar. However, the column names are ...
0
votes
hashtag tagging document in SharePoint Online
Here're steps to tag documents:
1.Create terms in the Term store management.
2.In the terms usage settings -> Enable Available for Tagging.
3.Create a managed metadata column -> Use the newly ...
0
votes
Accepted
Using nested IF and IF(AND) statements to display different info in calculated columns
Use below formula:
=IF(ISBLANK([Organisation]), IF(ISBLANK([Creator]), "Unknown", [Creator]), IF(ISBLANK([Creator]), [Organisation], [Creator]&" - "&[Organisation]))
...
0
votes
Change Default Locale Settings for Site Collection in SharePoint Online
8 years later and Microsoft still haven't addressed proper locale support in SharePoint. Even with a site's locale set, it has hardcoded MM/DD/YYYY all over the place: document library restore ...
1
vote
Accepted
hashtag tagging document in SharePoint Online
Hashtags has been retired but still visible. Enterprise keywords is the preferred way.
https://support.microsoft.com/en-us/office/add-an-enterprise-keywords-column-to-a-list-or-library-314ce556-e4bf-...
0
votes
Import Excel template in an existing customzed list
There was a native two-way sync between Excel and SharePoint lists, but it was removed by Microsoft more than 10 years ago.
We have developed a small piece of software that restores that behavior ...
2
votes
Can we migrate around 250 TB of files from file shares to SharePoint online
Single Site Collections can only be up to 25TB. In addition, 250TB of storage likely exceeds your tenant quota unless you have a significant number of licensed users -- you can purchase more storage ...
0
votes
Using SharePoint Site Template Powershell - Home Page Layout/Web Parts not working - SharePoint Online - Modern Pages
It sounds as though what you need to use is a PnP provisioning template, which allows you to define the content and structure of pages as well.
Introducing the PnP provisioning engine
0
votes
how to refere to image as URLs in outlook mails
When Outlook attempts to the load the image via the URL, it's likely being met with a 403 HTTP error and therefore not displaying.
It's not guaranteed that the user has authenticated with SharePoint ...
1
vote
Accepted
Can we change the background color of a modern list view
Unfortunately, there is No SharePoint OOTB way to change the complete background color of list view. But you can change the background color of item rows/tiles using JSON Formatting.
Sample JSON:
{
...
1
vote
Accepted
Connect-SPOService ... Error "The underlying connection was closed: An unexpected error occurred on a send"
You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) enabled SharePoint site using below command:
Connect-SPOService -Url https://contoso-admin.sharepoint....
1
vote
Accepted
Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system
You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) SharePoint Site.
Connect-SPOService -Url https://contoso-admin.sharepoint.com
Follow below ...
0
votes
Accepted
What is the REST URI that does the same as the CAML Query shown here
Try changing and in the filter to lower case.
.../Items?$filter=(substringof('laptop',ItemDescription)) and (ItemRef ne '0000000000')
0
votes
Conditional formatting with JSON with time in a date colunm
Because Date and Time are stored together, you have to get a little creative with what you compare. Here's a way to do it by looking at the locale time string. This assumes the locale time string ends ...
2
votes
Hide copy link option in context menu
We could use SharePoint Json formatting to hide some command bar buttons.
Supported buttons:
'new'
'newFolder'
'newWordDocument'
'newExcelWorkbook'
'newPowerPointPresentation'
'newOneNoteNotebook'
'...
1
vote
Accepted
Hide copy link option in context menu
You cannot hide "Copy link" option from context menu (under ... ellipses menu) in SharePoint online modern experience using OOTB capabilities.
You have to create SPFx extension (Application ...
0
votes
Accepted
Format hyperlink column
For your requirements, you can use JSON column formatting in SharePoint.
Apply below JSON for "Word Online" and "Word Desktop" columns:
{
"$schema": "https://...
1
vote
Accepted
Building a react application with Microsoft graph and SharePoint
You can follow below Microsoft official documentations to use Microsoft Graph in react based SharePoint framework (SPFx) web parts:
Use the MSGraphClient to connect to Microsoft Graph
Consume the ...
1
vote
Chronological grouping of dates formatted as MMM YYYY in Sharepoint
When you use a calculated column to format a date the field becomes text and is then sorted alphabetically. What you want is to keep the field as a Date so that it is sortable (and filterable) in the ...
0
votes
Chronological grouping of dates formatted as MMM YYYY in Sharepoint
This is an expected behavior in SharePoint as you are formatting date column as a "Text" using calculated column.
And then you are grouping list view based on text column in ascending order (...
1
vote
Inside modern communicaton site, who can edit the menu items? can controbutors do so?
I just tried this on my communication site. User with "Contribute" permissions cannot edit navigation menu items in SharePoint online modern experience.
Proof:
User Permissions:
User cannot ...
0
votes
PnPPowershell work with user columns
Maybe you could try CSOM. My test is to display the data of an Item, which can display the email address. Of course, you can also display all the Items in a column by looping. The following is my code,...
Top 50 recent answers are included
Related Tags
sharepoint-online × 19545office-365 × 1767
list × 1303
sharepoint-designer × 1205
javascript × 1033
modern-experience × 1017
sharepoint-enterprise × 997
spfx × 875
powershell × 853
document-library × 818
csom × 809
sharepoint-rest-api × 763
sharepoint-addin × 750
development × 658
sharepoint-server × 633
workflow × 607
rest × 594
spfx-webparts × 577
permissions × 568
2013 × 550
pnp-powershell × 507
web-part × 495
power-automate × 463
flow × 426
search × 399