3

First, regarding your second question: you should ask that as a separate question, because it is a separate question. Now, regarding your main question: At a guess I'd say what's probably happening is that both modals are getting rendered, and the "Who We Are" one is always getting rendered on top, so you are always seeing the "1" from ...


2

Yes, you can download the package and upload it/install it to a different tenant.


2

First, considering each of those long, complicated <td> sections is the same, I would pull all of that out and make it its own component where you pass in the individual post and the rowspan (could be 1 or 2) as props: NewsTableCell.tsx import * as React from 'react'; import { Icon } from 'office-ui-fabric-react/lib/Icon'; import styles from './...


1

That's how we retrieve files and folders in sharepoint with rest. Retrieve all of the files in a folder: /_api/web/GetFolderByServerRelativeUrl('/Folder Name')/Files Retrieve a file with URL: /_api/web/GetFileByServerRelativeUrl('/Folder Name/{file_name}) For folders and files with Sharepoint REST API, please refer to this documentation: https://docs....


1

Your options are limited when it comes to modifying search experiences. However, if you want to build enhance search experiences, PnP modern search webparts is a good start, code base is maintained by community.


1

You can get the page title using simple JavaScript like: let pageTitle: string = document.title; Then you can use it in REST endpoint like: let pageTitle: string = document.title; let url = `${this.props.context.pageContext.web.absoluteUrl}/_api/lists/getbytitle('CompanyNews')/items?$filter=Title eq '${pageTitle}'`; If above method of getting page title is ...


1

From SPFx 1.13 release notes To configure the browser launch correctly, update the initialPage property within the ./config/serve.json to point to your SharePoint Online tenant. For example: https://contoso.sharepoint.com/_layouts/15/workbench.aspx. Not performing this configuration task will result in an error the first time gulp serve runs.


1

Before running gulp serve command, first make sure you successfully select a node version. When you run nvm list, make sure you have (Currently using 64-bit executable) next to the correct node version. If you don't see it, then your nvm use didn't work. 14.15.0 12.13.0 10.24.0 10.23.0 * 8.16.2 (Currently using 64-bit executable) 6.10....


1

This is a computability issue. SharePoint Framework (SPFx) 1.7.1 requires the following node.js LTS 8.x npm v5, v6 yeoman yo@3.1.1. (for creating new projects only) This is what you have. It won't work node.js v14.17.0 npm: v6 (guessing here) yeoman yo@4.3.0. (for creating new projects only) You can fix this issue by following these steps Uninstall node....


1

Allowing scripting opens the doors to potentially malicious activities, so yes, it is not all that safe. I doubt than any script is able to get another user's password. The authentication has already happened when the SharePoint page is loaded, and no modern system will simple disclose a password. You could deploy the script editor web part only to the ...


1

You can use the webpart's context to determine if the page you're on is the homepage for the web using: if(this.context.pageContext.legacyPageContext.isWebWelcomePage as boolean) { // Do the stuff } else { // Render a warning saying this is only for the homepage }


1

You are right about SharePoint out of the box quick links web part does not support this functionality. You can build similar web part using SPFx for sure. You can use Dialog control in Fluent UI to show pop-up & text/buttons on pop-up. Additional: Here are few samples to show the capabilities of SPFx development: Custom Links Links Web Part


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 ...


1

The mobile SharePoint App does not support rendering custom Power App forms. It's not a bug and it's been working like this for the last 7 years. There is also no plan to introduce this feature to the SharePoint app. The workaround would be to build an SPFx web part. SPFx webparts do render by the SharePoint app.


Only top voted, non community-wiki answers of a minimum length are eligible