Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8068

This tag is used for SharePoint apps (also known as SharePoint Add-ins) development.

1 vote

Set Advanced permissions for list programatically in add-in

Try it as below: var customList = web.GetListByTitle("Documenten"); // Change the advanced settings //1— All users have Read access to all items. //2— Users have Read access only to items that they …
Gautam Sheth's user avatar
1 vote

how to create document set in library with one/some property(s)?

In the code mentioned above, i didn't see the doc lib name,hence have added it in below code. Can you try and check using below code: function createDocumentSet() { var docLibraryName = 'Docum …
Gautam Sheth's user avatar
2 votes
Accepted

JSOM or REST to display list items according to permissions

Yes , you are correct. The REST or JSOM calls to get list data function according to logged in user's permission. If you are admin, you will see all items, but if you are normal user, you will see onl …
Gautam Sheth's user avatar
0 votes
Accepted

App / Add-in questions

Once it's installed by owners, it is available to all users and they can use it. Yes, you can do CRUD operations using CSOM. Yes, you can create list from sharepoint hosted app. Reference - Create …
Gautam Sheth's user avatar
0 votes

How to add SharePoint Chrome Control to provider-hosted add-in based on MVC 5?

It should work in MVC 5 as well. Its quite similar to what we do in Web Forms implementation. Just some minor differences. Instead of the aspx page, we will modify the layout html. Open the Views > …
Gautam Sheth's user avatar
2 votes
Accepted

How to add .sppkg or .app file to App catalog using CSOM

We can use the ALM APIs with CSOM for this. Ensure that you have the latest PnP Core version or atleast a version above November 2017. After that, you can upload it as below: 1) Using File path s …
Gautam Sheth's user avatar
5 votes

How can I get logs of the corresponding correlation id in SharePoint Online?

Unfortunately, there is no way to get those logs yourself. Previously, some powershell/csom commandlets used to work, but looks like MS has disabled them now. The only way is to contact MS support. …
Gautam Sheth's user avatar
1 vote

Add JavaScript to every page of particular site-collection in SharePoint Online

Note, MS has disabled UCA on the modern lists and libraries view, so the below code wont work there. But on classic pages, it will work and load the javascript file on all pages of subsites of a site …
Gautam Sheth's user avatar
0 votes
Accepted

The term 'New-SPWebApplicationAppDomain' is not recognized as the name of a cmdlet

1) Add below code: Add-PSSnapin Microsoft.Sharepoint.Powershell 2) If that doesnt work, open SharePoint Management shell in admin mode.
Gautam Sheth's user avatar
1 vote
Accepted

Module.Loader function breaks webpart

Update - Saw you git code and scratched my head for couple of days, this is how i was able to load it from CDN In your webpart code, you need to add below line: import { SPComponentLoader } from '@m …
Gautam Sheth's user avatar
1 vote
Accepted

Get user properties of current user in SharePoint Online (hosted app)

You are not passing the correct user information. You need to pass the actual user login name. Also, you need to wait for the SP.UserProfile.js to be loaded before you execute your getMyProperties fun …
Gautam Sheth's user avatar
1 vote
Accepted

SharePoint Online Addin Development-Could not fetch a certain key value from the Web Propert...

To add values to property bag, try the below code: Web web = context.Site.RootWeb; //change as per your web object context.Load(web, w=>web.AllProperties); context.ExecuteQuery(); var allProperti …
Gautam Sheth's user avatar
0 votes

How do I create a service in SharePoint Online like we used to do with timer jobs in on-prem...

As Trevor mentioned in the answer, the option lies outside of SharePoint. Besides Azure Webjobs and Windows Scheduler, you can also checkout Azure functions. It is a compute resource , fashionably re …
Gautam Sheth's user avatar
1 vote

Deploy Provider Hosted App

I too have faced this issue once. How I resolved it: Remove the app from all site collections Remove the app from the second stage recycle bin Remove the app from the app catalog site Change the ver …
Gautam Sheth's user avatar
2 votes
Accepted

Approving app by tenant admin does nothing and “Invalid ID for a SharePoint App”

There are some changes to the approval step. After your first step, go to the App catalog > App Requests list as below: Now click on the App in the app request lists. Since, you are tenant admin …
Gautam Sheth's user avatar

15 30 50 per page