Dmitry Kozlov
  • Member for 9 years, 3 months
  • Last seen more than a week ago
The remote server returned an error: (401) Unauthorized: While uploading file in document library using App Based Token Authentication
Accepted answer
7 votes

The issue is that the SaveBinaryDirect method does not support app-based authentication. You should use either SharePointOnlineCredentials for your ClientContext or upload files with ...

View answer
Externally Shared InfoPath Form SharePoint Online
5 votes

Right, you cannot share an InfoPath or PowerApp form with external users. As an alternative, I could suggest you taking a look at our Plumsail Forms. This solution is designed for creating ...

View answer
not able to revert back to the modern experience for Sharepoint list and libraries
3 votes

Try clearing the local storage and cookie in your browser. If it does not help, open the browser console (F12) and run the script: document.cookie = "splnu = 1; path=/" Then, refresh the list view.

View answer
How to modify SharePoint online new experience's new entry form?
3 votes

Recently, we've released a tool for designing fully-responsive SharePoint forms and publish them to modern pages - Plumsail Forms. Our forms are totally customizable - you can add your own JS- or ...

View answer
Redirecting at Adding Item Added Item
Accepted answer
3 votes

Answer to your problem is in the same article: http://www.sharepointkings.com/2008/05/httpcontext-in-eventhandler.html. Save HttpContext to the field in the constructor of your event handler class. ...

View answer
Configure App using CSOM c#
2 votes

If you're developing a custom command set for a list, after installing the SPFx package to the app catalog, you need to attach your command set to the target list with the code: var list = ...

View answer
SharePoint 2013 - Custom WebPartPage for List Form
Accepted answer
2 votes

You can open the form page (ASPX-file) in the SharePoint Designer and add as many web part zones as you need. Also, I'd recommend you truing Plumsail Forms Designer for creating a form with related ...

View answer
Add new list item using pnp/sp
Accepted answer
2 votes

The issue is that you're requesting a web and then use the retrieved object to get a list. Just use the original web create with the Web contructor: import { Web, ItemAddResult } from "@pnp/sp"; ...

View answer
How to add like button in SharePoint 2019 modern pages?
2 votes

You can design an application customizer and display a "Like" control on top or bottom of each page. Once a user clicks your custom button, call external API and save vote in your database.

View answer
Multiline Text Fields Append Sharepoint
Accepted answer
2 votes

You can bind a field customzer to the append-only field: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer Then, retrieve data from the ...

View answer
Get legacyPageContext in JS Console
Accepted answer
2 votes

This should work: window.spModuleLoader._bundledComponents["b6917cb1-93a0-4b97-a84d-7cf49975d4ec"].PageManager._instance.pageContext.legacyPageContext But I'd recommend adding an application ...

View answer
Responsive Sharepoint List forms
2 votes

I'd recommend you to try Plumsail Forms. This is tool for designing fully responsive forms for SharePoint Modern UI. It provides a lot of controls: tabs, accordions, data tables, list or library for ...

View answer
Has anyone seen a SharePoint site integrated with interactive floor plans?
2 votes

The article below describes how to configure a floor plan in SharePoint with the help of Plumsail Dashboard Designer: https://plumsail.com/blog/2016/11/floor-plan-with-dashboard-designer-for-...

View answer
SP 2010: hide/disable column in edit form
2 votes

You can try Forms Designer tool. It provides easy-to-use browser interface to design forms, hide or disable fields. With its rich javascript framework you can make more complex logic, e.g fill some ...

View answer
What is correct syntax for filtering a list on field values?
Accepted answer
2 votes

Try to create calculated field based on your two columns that returns true if one of your columns is a substring of another and false otherwise. Use FIND function: http://office.microsoft.com/en-us/...

View answer
Rating's not being saved
Accepted answer
2 votes

Go to User Profile Service Application in Central Administration. Click Manage User Permissions and check if all authenticated users has rights to Social Features.

View answer
how to open version history using SPSecurityTrimmedControl
2 votes

Paste into the following code your list id and item id: <a href="#" onclick="SP.UI.ModalDialog.showModalDialog( {url: '/_layouts/Versions.aspx?list={list guid}&ID={item id}&IsDlg=1'} ); ...

View answer
Edit multiple list items in one shot?
2 votes

XsltListViewWebPart supports inline editing: check the Allow Inline Editing checkbox on the Edit View page. Maybe it will help you.

View answer
How do we call Power Automate Flow using Javascript button click?
1 votes

You can design a flow that is triggered by HTTP-request. Just describe the schema of the request body and pass any parameters in the body of the post-request as demonstrated here: https://flow....

View answer
Sharepoint Online - Upload file not working with Sharepoint REST API
Accepted answer
1 votes

You shouldn't specify the complete URL of the file in here: .../files/add(url='{ fileFullPath }', overwrite=true)"; Just specify the filename within the folder. ex.: document.docx.

View answer
Multiple custom forms for one SharePoint List
1 votes

If somebody is still looking for a solution, I can recommend trying Plumsail Forms - it allows you to design modern responsive forms for SharePoint lists and libraries and also have multiple forms for ...

View answer
Download multiple files at a time from using HTTP Rest API Calls
1 votes

As far as I know there are no REST methods for retrieving multiple files at a time. But you can make requests in parallel if you know the files' URLs. And wait until all the requests are processed ...

View answer
Randomly Get Data from Sharepoint List then Automaticaly assign to every registered user
1 votes

You can design a Microsoft flow that sends a notification message to registered users with their IDs. Configure the flow to start automatically on adding new items to the SharePoint list.

View answer
Get Master page data-Jquery reference
1 votes

You can open the site collection in SharePoint Designer and check source of the current master page as described here: https://support.office.com/en-us/article/customize-a-master-page-to-brand-your-...

View answer
Adding a "Delete Row" Button to Infopath form on SharePoint Online asking for Admin Approval
1 votes

I'd recommend trying out Plumsail Forms solution for creating complex SharePoint forms. It's not free, but it's much cheaper than if you'd implement a form with data table by yourself with HTML and ...

View answer
Calculated column with multiple options depending on start date of event compared to today
Accepted answer
1 votes

Unfortunately, you cannot configure a calculated field as you described since calculated fields update their values on updating list items. Thus, the formula cannot include variables other than fields....

View answer
Combine 3 queries for different lists into one
1 votes

You're not able to combine those queries into a single CAML-query but you can query all those items in the same request, ex: List tasksList = context.Web.Lists.GetByTitle("Tasks"); List meetingList = ...

View answer
Using Sharepoint Designer to create custom forms for each content type in a list - Sharepoint 2016
1 votes

You can specify links to forms separately for each content type in SharePoint Designer. Just select a list, navigate to a content type in the lower-left corner and setup links to custom forms:

View answer
How can I use Yarn to download Sharepoint Framework (SPFx) dependencies, for offline use on a VM which is not connected to the internet?
1 votes

You can copy /node_modules from the root folder of your SPFx project from your laptop to the VM.

View answer
SPFX property pane changing on page refresh
1 votes

You just need to store generated labels in a separate property of the web part and restore them on refreshing or opening the panel.

View answer