New answers tagged

0

SharePoint groups are not supported for audience targeting in SharePoint online modern experience. Azure AD groups (including security groups and Microsoft 365 groups) are supported with the exception of AAD dynamic groups. Documentation: Target content to a specific audience on a SharePoint site Currently you can only use AD groups or Microsoft 365 ...


0

File.UniqueId was the property I was looking for.


1

To show the view to all users, we have to select the option "Create as Public View" on the View creation page. To create a view, Navigate to the List Settings Page and then scroll to the bottom of the page to view all views available for List. Show items created by the users Navigate to List Settings Page Scroll to the bottom of the page Click ...


0

Have you loaded all the js files(the order also matters) which are required to create and read the people picker values clienttemplates.js clientforms.js clientpeoplepicker.js autofill.js sp.js sp.runtime.js sp.core.js https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-the-client-side-people-picker-control-in-sharepoint-hosted-sharepoint-add-in ...


0

When you are trying to run the webpart on the SharePoint site workbench then close the window of the local workbench(https://localhost:4321/temp/workbench.html#/) and then check if the changes are reflecting or not. OR run "gulp serve --nobrowser" and then append ?debugManifestsFile=https%3A%2F%2Flocalhost%3A4321%2Ftemp%2Fmanifests.js&loadSPFX=...


0

To save the value in the "Person and Group" field, you have to pass the user ID. You can follow answer shared in https://stackoverflow.com/questions/24271440/the-proper-way-to-write-a-sharepoint-user-to-a-user-field-in-a-sharepoint-list also you can follow https://gist.github.com/rheid/18635032d8371c7825b3320eae57071f for correct format to use to ...


0

you have to use web.ensureUser(fieldValue.get_lookupValue()) to retrieve user email,user id, and other properties. https://stackoverflow.com/questions/49411602/retrieve-displayname-and-email-from-person-or-group-list-field-in-sharepoint


0

If you are using the Classic experience then you can add the content editor webpart on the list forms and can use the JavaScript/jQuery to hide the default cancel button and add new delete button. But if you are using modern experience then you can modify the list form in PowerApps.


0

No. SharePoint online modern experience does not support InfoPath customizations. If you want to use InfoPath, you have to switch back to classic experience. Modern options: Show or hide columns in a list or library form Configure the list form - using JSON Customize a SharePoint list or library form by using Power Apps


0

Creating a list using App option is old/classic experience way. While, Creating a list using List option is new/modern experience way. For your case, to create a custom list, you can use either one of the options & it should work for you without any problem. Additional: If you want to create a new list using modern experience list templates or From ...


1

I can use svg files using the Change the look on my test tenant. Is the option to select All files not available in the select file dialogue on your environment?


0

To filter library documents based on a column using highlighted content web part KQL/CAML query, the column has to be mapped to a managed property. You can take a reference to my answer in this thread: https://docs.microsoft.com/en-us/answers/questions/408476/how-to-filter-sharepoint-online-queries-kql-docume.html


0

Actually. Easy way. Just add a blank row, with some text stating what the user needs to do, and remove this from all views, except your Dynamic Filter view.


0

When you create custom permission level and select Add/Create item permission, view permission is selected by default and if you try to remove the view permission Add/Create item permission is also removed. So what you can do is once the user create the item, break the permission of the item with the help of workflow/power automate or code(if it is custom ...


0

One obvious solution would be to upgrade up to a point where either SPMT or Migration Manager could take over the migration process. I believe that the lower boundary for the above tools is that the Sharepoint Server is at least 10. So that would mean that you would have to upgrade from 2003 to moss 2007 and from there to sharepoint 2010. Another solution, ...


0

You can add below css in the starting of the webpart scss file(yourwebpartname.module.scss) :global { #workbenchPageContent, .CanvasComponent.LCS .CanvasZone { max-width: 100% !important; } }


0

Unfortunately, when I had faced the same problem, the only solution was to set specific permissions on each other item that existed within the folders. From my experience there is no easy solution in this situation, just because you shouldn't try to handle SharePoint like you would handle a file server. The best approach will be trying to split at the top ...


0

I got the same erroneous performance from OneDrive, a while back. It was only about the Users OneDrive, i hadnt synced the company's sharepoint folder. Since all of the data are in the cloud and the sync status was green, the steps that i performed were the below: cut off one drive sync, from one drive settings and quit the client. make a change on a test ...


0

If you are trying to do this in SharePoint online modern page. Where you have added a table in Text web part, there is no option to set the vertical alignment. Currently, you can only align it to left, center or right (horizontally). I even tried copy pasting the table from word document & excel. But when pasting it on SharePoint page, SharePoint ...


0

Based on my research, we could not enable "sync hubsite permissions to associated sites" feature through PowerShell. We recommend that you use this option which is in Sharepoint Online UI to enable this feature. For more information, please refer to this article.


0

Yes, it is possible with custom permission level. Copy existing contribute/edit permission level from site settings Adjust the permissions by unchecking unnecessary permissions Save custom permission level Break permissions inheritance on SharePoint list Grant permissions using custom permission level Similar threads: permission to create list items ...


0

When you are looking at the results you get back from Get-PnPListItem, if you do this: $listItems | ForEach-Object { $_ | Format-Table; } Then it will only show you id, Title and GUID. However, if you do this: $listItems | ForEach-Object { $_.FieldValues | Format-Table; } You will see that all of the requested field values are actually being returned. So ...


0

If you just want to show the data in text column in list view, you can use below JSON code: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "[$PeoplePickerColumn.title]" } Make sure you are using correct ...


2

You can use approaches like SP.Web.mapToIcon as Rob says (as a general rule, you should always listen to what Rob says!), but if you simply want to render a file icon, you can use the PnP React Reusable Controls; There is a FileTypeIcon control which does all the hard work for you. After you install the control in your SPFx project (using npm install @pnp/...


1

You can use the SP.Web.mapToIcon method to map a file name to an icon. To use it from SPFx, you would make a REST API call to /_api/web/maptoicon(filename, progid, size). An example call would be /_api/web/maptoicon(filename='filename.pdf', progid='', size='0'). Here are some additional resources that may help you. SP.Web.mapToIcon Method Getting the default ...


0

Power Automate Free, Trial, Community and Microsoft 365 plan licences are now subject to expiry after 90 days, whereas a dedicated per-flow or per-user licence isn't subject to these limits. See https://docs.microsoft.com/en-us/power-automate/limits-and-config#expiration-limits It looks like this is by design to help encourage you onto a paid plan for ...


0

---------------------------Update------------------------------- The result is the same as you when creating a new item, we recommend you get support from Microsoft. https://docs.microsoft.com/en-us/microsoft-365/business-video/get-help-support?view=o365-worldwide --------------------------------------------------------------------- I could not reproduce ...


1

You can update the page properties using Send an HTTP request to SharePoint action like: Method: POST Uri: _api/web/lists/getbytitle('Site Pages')/items(1) Headers: Accept: application/json;odata=verbose Content-Type: application/json;odata=verbose If-Match: * X-HTTP-Method: MERGE Body: { "__metadata": {"type":"SP.Data....


1

I tried to reproduce this issue on our SharePoint site & observed the same behavior for Date only columns. However, it is working as expected for Date and Time columns. I will suggest to create a Support ticket with Microsoft for this issue. Update: Manual input in date field is working for me on Standard release tenant. Facing this issue on Targeted ...


3

We have a Choice column type in SharePoint. Which can be used as a radio buttons: You can see the Display choices using: setting under More options.


1

You cannot apply filter query based on the ContainerDisplayName property. Also, ContainerDisplayName property does not provide the name of specific document library. It is: A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item. Source: ...


2

You can achieve this using Power Automate. (Reference: Get Days of the Month) Use the Recurrence trigger and set it to get executed every month. Below is the complete flow. Save the Start of the month in compose action. startOfMonth(utcNow()) Save the End of the month in the compose action. subtractFromTime(startOfMonth(addToTime(outputs('StartofTheMonth')...


1

We cannot filter on the property 'ContainerDisplayName'. I did a test in Graph explorer and got this error: "The property 'ContainerDisplayName' does not support filtering."


0

You can develop a SharePoint Framework web part for your requirements. Check below SPFx sample which will help you to get started. You can download it & use it as is or enhance the functionality as per your requirements: SPFx React Feedback web part


0

Try this easy way on a web browser: Login as SP site collection Admin. Use below url with required user email and site colelction url. https://yoursite.sharepoint.com/_api/web/SiteUsers/getByEmail('Employee.Email@domain.com')/Groups Hit enter. Search for 'd:Title' to get SP group names. Search for 'd:Id' to get SP group ID. To view the SP group membership, ...


0

I fixed this by going to Site Settings > Site and offline availability > changed "Indexing Site Content" from No to Yes, then triggered "Reindex site" from that page. Then I went to List Settings > Advanced Settings > "Reindex site" And ten minutes later, the list items were appearing in search results.


1

Microsoft Search has stages upon which it operates. If, for example, you are within a list and type something in the search bar, the Search Service will pop up results from the current List. If, you step out and navigate to the site collection level, the Search Service will pop up results from all the lists within the site collection. If, you step out a bit ...


0

Basically, as i understand your situation, what you are looking for is a provisioning service. This can be achieved with PnP Provisioning engine and Site Designs. Since the above are by themselves two huge topics within the sharepoint community, i would advise you reading throught here and here . I believe that a Site Script would do the job that you are ...


1

If you are trying to save the checkbox selections in multiple-selection choice field, you need to pass the data in below format: 'Status': { 'results':['Status 1', 'Status 2', 'Status 3'] } So, for your case, try using this: var item = { "__metadata": { "type": "SP.Data.(ListName)TestListItem" }, "Title": &...


1

Part of the problem is that you are already concatenating the values of the checkboxes into a string, and then you are trying to use the jQuery .val() function on that string, which you don't need to do. From your fiddle: var q6 = selectedValues.join(','); console.log(q6); // this outputs a string, so you can see that the selected values appear to be ...


1

Yes, Office 365 E1 is minimal enterprise plan sufficient for your use case. Office 365 E1 Plan supports using of SharePoint online as well as Yammer. Check below documentations for more information: Microsoft 365 and Office 365 plan options Compare Office 365 enterprise plans (E1/E3/E5)


0

I know this is a very old thread. But, this is now possible with the new List comments feature in SharePoint online. You can get a colleague’s attention to an list item by @mentioning them within list comments & they will receive an email notification. Check detailed information at: SharePoint Online/Microsoft Lists: @mention people in list comments


0

To narrow down your issue: 1.Does only one user have similar issues? 2.What are the permissions of this user? 3.Has this issue occurred in other libraries? 4.Can this issue be reproduced stably? Or does it only appear once?


0

I have found the solution. I am posting here, it may useful for others. I have login for the translator user account (eg: Owner Test). Then go to ViewAccount -> Settings & Privacy Then go to the Display language and change it to the relevant language (Chinese). All the SharePoint controls will change it to Chinese. Then go to the Navigation menu and ...


0

Follow below steps: Go to SharePoint list Click on Settings (Gear) icon --> Select List settings On list settings page, scroll down to Columns section Click on your choice column name. Copy & paste all choices on column settings page in Type each choice on a separate line: textbox Scroll to the bottom of column settings page --> Click OK to ...


0

You could use TEXT function like TEXT([SubmissionDate], "hh:mm") to accomplish this. See the formula that worked for me. Please update Column name in the formula with the one that is in your list =IF(OR(TEXT(SubmissionDate,"dddd")="Saturday",TEXT(SubmissionDate,"dddd")="Sunday"),"Submitted on a weekend&...


1

This is not possible using SharePoint online out of the box capabilities. You have to develop the Application customizer SPFx extension to add the links at the top of page. You can use page placeholders from Application Customizer. Below are some SPFx extension samples to get started with: Tenant Global NavBar Application Customizer Modern Team Sites (...


0

localhost:32000 is the url of the web application as well as url of root level site collection. In each webapplication, we have one root site collection which url is same as web application. if you want to create the site collection for next level, then you have to provide the path something like this "localhost:32000/sites/abc" read this ...


1

You can get the profile picture of user in JSON using: "elmType": "img", "attributes": { "src": "=@currentWeb + '/_layouts/15/userphoto.aspx?size=S&accountname=' + @currentField.email", "title": "@currentField.title" } ... You can use one of the below profile picture size in ...


0

Check the value of "location" in your config/serve.json file.


Top 50 recent answers are included