New answers tagged

0

This is not possible using SharePoint out of the box capabilities of lookup columns. If you are using modern experience, you have to customize the list forms using Power Apps. Documentation: Customize a SharePoint list or library form by using Power Apps


0

This worked just fine for me in SP2016 (the field already had some values selected and they were overwritten): $valuesArr = New-Object Microsoft.SharePoint.SPFieldMultiChoiceValue; $valuesArr.Add("Choice Value 1"); $valuesArr.Add("Choice Value 3"); $item["SomeSPInternalFieldName"] = $valuesArr; $item.SystemUpdate($false)


0

For your requirements, you have to use the JSON View formatting in SharePoint. Use below JSON: { "$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json", "additionalRowClass": "=if([$Status] == 'Complete', 'sp-field-severity--good', if([$Status] == 'Ongoing', 'sp-field-severity--low',...


0

You will need a different approach than SharePoint. This might be a direction to investigate, using PowerShell: https://shellgeek.com/powershell-get-computerinfo BTW: The output of course could very well be written to a SharePoint List


0

Unfortunately not. You would need an agent (application) on the computer that pushed this information to the SharePoint list. The browser does not have these details as it would be a potential security risks. I would suggest another tool, i.e. InTune, ServiceNow, or some other tool that specializes in computer asset management.


0

I was also having this issue when trying to create a list from an excel sheet generated from an MS Form. One of my questions had a hard return in it. When I deleted that from the cell in excel (so it was just text), I was able to import the excel & create the list.


0

Microsoft has recently added a new option to Show/Hide "see all" link in list/library web part property pane settings. Check below article for detailed steps to Hide "See all" link of list/document web part in modern page: Show/Hide See All link from SharePoint list/library web parts


1

You can customize the modern experience list forms using Power Apps only. However, you can show or hide columns in a list or form using conditional formula. Check this documentation: Show or hide columns in a list or library form Additional: You can customize the list forms using JSON formatting up to some extent. Check this documentation: Configure the ...


0

For example, you could use below formula in the calculated column. =if(And([region/country]="Canada",[role]="ccc"),1971,if(And([region/country]="China",[role]="bbb"),1972,if(And([region/country]="America",[role]="aaa"),1973,1974))) Result:


0

You don't need to embed the calendar view using embed web part anymore as SharePoint online out of the box List web part now supports showing modern calendar list view. Check detailed steps to add Modern Calendar view to a SharePoint Online page using List web part at: Add Modern Calendar to a SharePoint Online page using List web part This feature is ...


0

You can use If function in such cases which has syntax like: IF(logical_test, value_if_true, value_if_false) So, for your condition, it will be like: =IF(AND([REGION/COUNTRY] = "CANADA", [Role] = "CCC"), "1971", "") Similarly, you can add multiple nested IF conditions like: =IF(AND([REGION/COUNTRY] = "CANADA&...


1

We can add the style, given below to Content Editor Web Part to achieve the hiding of the add link. But this will still leave "or" in the page. If we need remove "or". We need to use javascript to cover the html code. <style> #idHomePageNewItem { display:none; } </style>


1

You can add a column on list/library form by adding column in content type. If "Project Manager" field is new (so you will not loose any data), you can re-create the column & while re-creating column, select "Yes" to "Add to all content types". Else if column is already created & there is data in column (added somehow ...


0

You can use column JSON formatting for this requirement. Use below JSON code in the "Format this column" option for your date column: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "@currentField", ...


0

This is not possible using SharePoint out of the box view settings. Grouped list views will only show the count/number of list items available for corresponding group. Additional: "Totals" option in view settings also does not support percentage.


0

Per my knowledge, there is no OOTB way to achieve this.


0

Authenticate to Office 365: Sign in to the SharePoint Online site by using your Office 365 work or school account credentials, and make sure that you select the Stay signed in option as seen in the following screen shot: Check the status of the WebClient service: To keep the connection after you restart the computer, make sure that the WebClient service is ...


0

This doesn't work anymore. You need to do [$_ModerationStatus.displayValue] or @currentField.displayValue. See GitHub


1

Try using below formula for your calculated column: =IF([Date_Of_Return] > DATE(2021,11,1), "SMP", "JI") Where DATE(2021,11,1) is in format: DATE(yyyy,mm,dd) Note: Sometimes comma(,) does not work in formula (I am not sure but it is based on something language or regional settings on your site). So in that case use semicolon(;) ...


0

You can move SharePoint lists from one tenant to another using the Move-Lists tool: https://github.com/Zerg00s/Move-Lists Full disclosure - it's my pet project. It uses SharePoint PnP PowerShell under the hood. Open PowerShell and run Set-ExecutionPolicy Unrestricted -Scope CurrentUser Download the latest release Unzip on disk. Run Move-Lists.bat file. ...


0

Here is what I recommend: Navigate to your Project document library Make sure each of your projectname folders have Project and projectleader fields populated. Even SharePoint folders can have custom fields associated with them. Create a new view in the Project document library. In the new view, select only columns you need. For example, Project and project ...


0

Nothing out-of-the-box like this. But you can still pull your list every 20-30 seconds. Just use a filter to get the latest items with modified date > previous poll. Most of the time, there will be 0 items returned, so these queries should not be very expensive.


1

You have to use the internal name of your columns in payload (var item) instead of display names. Check below URL to find out the internal name of SharePoint column: Find the internal name of SharePoint column Documentation: Working with lists and list items with REST


0

Did you enable Custom Script setting in SharePoint admin center? Classic SharePoint admin center > settings > Custom Script This change may take some time to reflect.


2

Follow below approach: Add one more column in list say "Is Email Sent?" (Choice column with Yes & No options or simply Yes/No column) >> Set default value to No >> Hide column from list forms. In Power Automate, add Condition action to check if this column is set to "No" >> In If Yes/true block, send an email and ...


0

For first condition, use column level validation on "Date of Booster" field. Use formula: =[Date of Booster] > DATE(2021,9,1) For second condition, use list level validation. Use formula: =IF([Is resident in Hospice?], IF(ISBLANK([Date Admission at Hospice]), false, IF([Date Admission at Hospice] > DATE(2021,9,1), true, false)), true) ...


0

You can achieve your needs by creating Microsoft Flow (Power Automate). You can do this by triggering this Flow when the list item changes. You can go to the Microsoft Power Automate Community to get more ​professional help


1

this is an old post, however I have recently discovered another cause of this issue. When you have a library with a lookup column to another list or library that is set to "enforce relationship", this also can cause the issue of altered count: when you delete a file in the library, SharePoint is not any more able to subtract this from the total ...


0

this is an old post, however I have recently discovered another cause of this issue. When you have a library with a lookup column to another list or library that is set to "enforce relationship", this also can cause the issue of altered count: when you delete a file in the library, SharePoint is not any more able to subtract this from the total ...


3

Calculated columns are going to recalculate every time the item is updated (they aren't fixed values). When an item changes, whatever value is in the calculated field will be reevaluated. This means using calculated columns for historical tracking doesn't work (at least not the way you want it to). You'll need to set the values of the columns explicitly (...


1

There's a limitation on OOTB export to excel file function. You could use following PowerShell to export list to excel file. #Parameters $SiteURL = "https://crescent.sharepoint.com/sites/projects" $ListName = "Projects" $SelectedFields = @("ProjectName","Project_x0020_Manager", "StartDate") $CSVPath = "C:...


0

SharePoint does not do this kind of thing. There are several different interfaces to edit a list content, but none of them have an intellisense pop up to facilitate entering similar values. However, if the column is a Person or Group column, the default behaviour is that you start typing the name and select from the suggestions that will show up below the ...


1

You are using wrong elmType in your JSON. To create links, you have to use the a elemType. For example (with static link): { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "flex-wrap": "wrap", "...


1

The way I would tackle this is by customising the SharePoint list form with PowerApps. In the form, you can build logic that queries the list, filtered by the Date and current user and counts the resulting rows. If the result is 0, set a flag variable to "True" and let everything continue. If the count is greater than 0, show a text box that says &...


0

If styling is important, then there is no need to start from scratch with "Export to Excel" each time you want a current version of the data in Excel. When you export a list view to Excel, what happens is that a .qry file is generated, downloaded, and opened in Excel. You can style this Excel file manually as desired and then let people use that ...


0

You are using Get files (properties only) action which retrieves all files in mentioned library/folder. Then you are applying loop on all results/files >> This is the reason flow is creating multiple items for each file in folder/library. If you are trying to get the properties of newly uploaded file, you should directly use "List rows present in ...


0

It is not possible to customize SharePoint out of the box export to excel functionality in SharePoint online. So, you cannot add any styling to the excel sheet while downloading it. Additional: You might need to develop custom solution for this using SharePoint framework list view command set. Something similar to this sample: SPFx Export Selected Items to ...


0

You can create a Calculated column named "Score" and use the below Formula: =IF([Rating]="low","0-39",IF([Rating]="medium","40-75","76-100")) Note:[Rating] is a Choice column


1

SharePoint online does not provide any out of the box way to specify a default/auto populated value for Person column type. If user is not going to modify the field after auto-populate, you can consider using Created By/Modified By field for your requirements. The Created By field is auto populated with the current user when adding a new item while Modified ...


0

We can create an Event Receiver to monitor sharepoint list item created,added and deleted by following link: https://www.c-sharpcorner.com/UploadFile/5b1f04/create-a-custom-list-level-event-receiver-for-item-added-in/


0

You can do this by using a slightly different set of classes. Instead of the sp-css-backgroundColor-* classes you can use the ms-bgColor-* Fluent UI classes. The colors aren't exactly the same, but they do offer --hover equivalents. To "disable" the hover effect, you just need to apply both the ms-bgColor-* and ms-bgColor-*--hover classes using the ...


1

Follow this approach: Make "Control ID" and "Impacted Business" as optional columns & all other columns as required from list settings. Use below formula in list validation settings from List settings >> Validation settings. =IF(NOT([Issue Status] = "DRAFT"), IF(OR(ISBLANK([Control ID]), ISBLANK([Impacted Business]))...


0

I don't think it is possible to remove SharePoint out of the box hover effect using SharePoint JSON formatting capabilities while using additionalRowClass row formatting. Unless you add any class (pre-loaded on page) in JSON which has CSS properties like: background-color: initial


0

You could filter items of one list according to selected item of another list. Edit page -> Edit web prat -> Connections -> Get Filter Values From -> Set connection settings -> When you select items in the 1 list, items with same title will display in the A list.


Top 50 recent answers are included