We changed our privacy policy. Read more.

New answers tagged

0

I'm not using CDN. I was getting: Failed to load URL...The file was not found in the server. Your deployment steps fixed this issue for me. I'll be adding clean --ship & build --ship every deployment going forward, thanks!


1

Because your flow is running on a schedule, it is not directly associated with a SharePoint List and therefore does not have context/awareness. Hence: no dynamic content available. If you add a Query List Action you will be able to get items from that List and process as needed. Here's a post with a similar Question/Answer: https://powerusers.microsoft.com/...


0

Site templates are available in SharePoint online modern experience as well. You can create custom site templates using Site designs (site templates) and site script capability in SharePoint online. Follow below links for more information: Site templates are coming to SharePoint Online SharePoint site template and site script overview Site design JSON ...


1

Your options are limited because spfx code is browser-based. The "correct" answer is to use Azure App Insights, or some other instrumentation provider like Google analytics. They're easy to set up and require nothing else to build. Your alternative would be to publish an API and log to that over HTTP. You can use any storage mechanism you wish, but ...


0

You can switch to Advanced mode to check all JSON of Gallery view formatting Please following steps: 1.On the Gallery view, click "Format current view" 2.On the Format view windows, click "Edit card" 3.On the Card Designer windows, click "Advanced mode" 4.You can change the value of "height" and "width"


0

We cannot through OOTB way to change the font family for the modern/new experience in SharePoint online. You need to use SharePoint Framework extension application customizer and inject your custom css. You need to use specific CSS selectors to target the sections of the page that you want to change. This article below shows how to inject an custom css, ...


0

For anyone that is interested, I will be using hub navigation AND global navigation. I had an issue whereby my 'OOTB home site' did not give me the option to configure 'Global Navigation' via the site settings. This seemed like it would limit my options with navigation, so I thought I could not configure the 'left bar navigation'. (A powershell command ...


0

Use following expression: variables('arrayIndustries')?[2].Trend My simple test for your reference: Result:


0

This is by design, if you want to refer the column in JSON formatting, you have to show that column in list view. If you remove the column from list view, JSON formatting will not work in this case. Documentation: Use column formatting to customize SharePoint


0

When the column you want to hide is also used in the JSON formatting, then JSON formatting will be invalid. It's by default. As a workaround, I suggest you create two views. One is for JSON formatting, one is for end users filter.


0

The Style Resource Readers group contains a Windows security group named NT Authority/Authenticated Users. This means that all authenticated users can display SharePoint master pages and styles for the pages on your site. Limited Access is a special system permission which SharePoint provides by default. So the Style Resource Readers group out of the box ...


1

Deploying at tenant level is not a good idea when you have multiple site collections. Suppose you have develop site collection as: HR IT Facilities and each site collection has apps that are not relevant to other collection, deploying everything at tenant level will end up huge list of apps and it would be difficult for tenant administrator if for some ...


1

Try using below PnP PowerShell code. It works for normal document library. I was not able to test it for document library reaching threshold limit (I don't have enough documents on test environment). Connect-PnPOnline -Url https://<tenant>.sharepoint.com/sites/<siteName> -UseWebLogin Set-PnPField -List "Documents" -Identity "...


1

I just tried this on my office 365 tenant. First deployed SPFx package to site collection app catalog Then deployed same SPFx package to tenant level app catalog Then edited a site page & tried adding web part on page Findings: I can see only one SPFx web part If site collection app catalog is enabled & same package is deployed at both levels, I ...


0

You can get following properties from the people field in JSON formatting (with example values): { "id": "122", "title": "Kalya Tucker", "email": "kaylat@contoso.com", "sip": "kaylat@contoso.com", "picture": "https://contoso.sharepoint.com/...


0

Short answer to your question is No. There is no SharePoint out of the box settings for changing font-family on modern experience. You can apply custom styles and colors using SharePoint site theming capabilities but you cannot change the font-family using it. As you already know, you can inject/apply custom CSS using SPFx application customizer & ...


0

After searching and searching I have found my answer. You just have to add =@currentWeb: "src": "=@currentWeb + '/_layouts/15/userphoto.aspx?size=S&accountname=' + [$personIterator.email]", "title": "[$personIterator.title]" Greetings, P.


0

Yes, you can build a URL dynamically using an expression. I don't have your full format, but a simple link format below will show what I mean by an expression: { "elmType": "a", "txtContent": "@currentField", "attributes": { "href": "=[$SiteURL] + '/libraryname/allitems.aspx'", ...


0

You can only adjust the gallery view if you provide the formatter value to determine what the card content should be. Adjusting your format from above you can see things in action like this: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/tile-formatting.schema.json", "height": "250", "width&...


1

As soon as I read the title of this post I thought, "I bet he's using absolute positioning". Absolute positioning detaches the elements from normal page flow. So yeah other elements will render over the top of it. Also it looks like you've set theImage and theText to render in the exact same location.


0

You need to: Go to Site Settings Click on the Site collection features link and Enable the Limited access user permission lockdown mode feature


1

You need to set up a home site in SharePoint Online to enable and customize the global navigation in SharePoint app bar. Once you set up a home site, you can see the global navigation settings on home site like: Follow below blogs for more information related to SharePoint app bar, home site & enabling/customizing global navigation in app bar: Set up a ...


0

SolutionA: Download the entire folder directly SolutionB: Under the folder, select the "Toggle selection for all items" checkbox to select all items/files. SolutionC: In IE browser, switch the library page to classic mode. Under the folder, select the "Select and deselect all items" checkbox and click on "Open with Explorer".


0

Try using this code: let seeAllTag: any = document.querySelector(`[aria-label="See all"]`); if(seeAllTag) { seeAllTag.style.visibility = "hidden"; //seeAllTag.style.display = "none"; } OR; let seeAllTag: any = document.querySelectorAll(`[aria-label="See all"]`); if(seeAllTag.length) { seeAllTag[0].style....


0

In OnfileChange method , this validation works if (netFiles[i].name.split('.').pop().toLowerCase() != 'pdf') { isOtherFile=true; } } if(isOtherFile){ alert("Please select only pdf files.") return; } ```


1

I have tried this code <div class="${ styles.row }"> <div class="${ styles.column }"> <Label ><h3><b>Please upload PDF files only</b></h3></Label> <br/> <input type="file" accept=".pdf" name="file-1[]&...


1

Use ShareGate to make a copy of the list again and deselect the "Customized list forms" in your configurations section of the copy options screen. This will create a duplicate list with the default SharePoint forms. You could then customize the form using content types or a third-party product like Nintex. You could also try enabling custom scripts ...


0

If you are able to develop your excel file on a desktop app version of excel, you should be able to use the get data, from file, from SharePoint folder. The first few clicks after creating that connection show a table of your entire file directory. Power bi guides are more common than excel guide, but they both use the same power query infrastructure. https:/...


0

Office file cache need to be cleaned, so I deleted content in the following folder: C:\Users...\AppData\Local\Microsoft\Office\15.0\OfficeFileCache After deleting it worked.


0

If you are trying to add only text/links to documents/files, you can use Text web part in SharePoint online using which you can add bullet points, headings, links, tables, etc. on site page. Reference: Add text, tables, and images to your page with the Text web part If you want to upload the actual files & develop a customizable dashboard, you have to ...


0

The short answer to your question is No. If you are creating a classic Discussion Board app in SharePoint, it will not send any invitation/email to site users.


0

This might be related to the template the site was created from. I can't see FORMS FOR EXCEL in my communications sites but I can in my team sites. I don't want to mess with the features but I know you can turn on missing features in a communication site to make it run like a teams site (but this has consequences).


1

I just tried the same steps as given below & it works for me: Create a calculated column with formula (with return type as Single line of text). =IF(MONTH(NOW()) = MONTH([DateField]), "Yes", "No") Where DateField is my date column. Edited existing view with below filters: Original list (All items): Output - Filter list view: ...


1

I am able to fetch the Publish Start Date using OData__PublishStartDate. Try using below, it should work for you: /_api/web/Lists/getbytitle('Site Pages')/Items?$select=Title,OData__PublishStartDate Output: Sample XML response received when I called above endpoint directly in browser tab: <content type="application/xml"> <m:properties&...


1

Try using configuration settings like below: Uri: _api/lists/getbytitle('FlowLibrary')/fields Where FlowLibrary display name of document library Headers: accept: application/json;odata=verbose content-type: application/json;odata=verbose Body: { '__metadata': {'type':'SP.FieldText'}, 'FieldTypeKind': 2, 'Title': 'field title', 'StaticName': 'field ...


0

You can create MS Flow to copy the news post to your destination site. You can trigger the flow on item creation.


1

When you change the version number of package & deploy in app catalog, you have to update the app you added from site contents on each site. See, similar thread: Can I bulk upgrade deployed SPFx web parts? My suggestion is to use Tenant-scoped solution deployment if you want to add the web parts on multiple SharePoint sites. Follow this Microsoft ...


0

The JSON code provided by user79408 is feasible "indexOf" can serve us as a nice workaround to get the length of a string. E.g:indexOf([$columnname]) Because you choose to use the Number column to fill in phone number. And, every 3 digits in the Number column will add a " , " as a separator by default. Therefore we recommend using indexOf(...


0

In the Condition action, please select "Task Status Value" instead of "Task Status".


3

In SharePoint online modern experience, you can add image on list form using JSON by applying formatting to header section like: { "elmType": "img", "style": { "width": "100%", "max-width": "100%", "float": "left" }, "...


1

I'm certainly no expert but this code seems to meet your needs. I've only really focused on the "txtContent" field so you can largely ignore the rest. In plain English, it is counting the length of the string. If it's 10 characters long, it displays it as (xxx) yyy-zzzz, if it is 7 characters, it displays it as xxx-yyyy. If it is neither, it ...


0

To get dates difference for Weekdays only use the following formula =IF(ISERROR(DATEDIF(InductionCallDate,TodayDt,"d")), ((DATEDIF(TodayDt,InductionCallDate,"d"))+1-INT(DATEDIF(TodayDt,InductionCallDate,"d")/7)*2-IF((WEEKDAY(InductionCallDate)-WEEKDAY(TodayDt))<0,2,0)-IF(OR(AND(WEEKDAY(InductionCallDate)=7,WEEKDAY(TodayDt)=7),...


1

Create a remote event receiver using SPRemoteEventType.ListAdded and implement your logic there. This is a web-scoped feature so you'd have to deploy this to every site you want to track. This is the only way I'm aware of to do this.


2

Instead of creating a date & time column with Today's date as default value, create a calculated column directly using below formula: =DATEDIF([Start Date], TODAY(), "Y") Output: Documentation: Calculated Field Formulas Useful thread: How to use Today and Me in Calculated column Note: Sometimes comma(,) does not work in formula (I am not ...


0

Ok, I'll try to help you the best I can. According to you comments, you are trying to make a certain Sharepoint user follow or unfollow a Sharepoint site/page/list/something. Unless that user is known and an administrator (member of administrator group who has at least read access permissions on whatever you are trying to follow) whose username and password ...


0

Did you encounter this error when you were editing page? If possible, please attach detailed error information or screenshots. Solution 1: Restore an earlier version In one case, we figured the latest, saved but not published, version of the page was somehow corrupted. The page looked like it was working but editing it just doesn’t work. Restoring an ...


1

Your formula seems incorrect. If you notice the difference in dates 9/1/2021 - 9/21/2021 = -20 but your screenshot is showing -19. Try using this formula below =IF(InductionCallDate>TodayDt,DATEDIF(TodayDt,InductionCallDate,"d"),CONCATENATE("-",DATEDIF(InductionCallDate,TodayDt,"d")))


0

This is the limitation of Apply to each action for "low" Performance profiles. Source: Concurrency, looping, and debatching limits


0

You need to open the file from SharePoint instead of the local file.


1

You can load & use FontAwesome CSS in your SPFx web part like this: public constructor() { super(); SPComponentLoader.loadCss("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"); } this.domElement.innerHTML = `<div class="${styles.errorMessage}"><i class="fa fa-times-circle" aria-...


Top 50 recent answers are included