Showing posts with label APP in SharePoint. Show all posts
Showing posts with label APP in SharePoint. Show all posts

Thursday, January 7, 2021

07 Jan

Getting ALL users from SharePoint online tenant and set userprofile property via Powershell

Getting all user profiles within SharePoint tenant using SharePoint Online CSOM APIretrieve all the users in tenant (Get-MsolUser cmdlet)iterate users and utilize SharePoint User Profiles CSOM API to retrieve user profilefunction Get-SPOContext([string]$Url,[string]$UserName,[string]$Password){   $context = New-Object...
07 Jan

Change permissions of a SharePoint list using JavaScript?

Break role inheritance for a List object and grant Full Control permissions for a current user var listTitle = 'Documents';var spCtx = SP.ClientContext.get_current();var list = spCtx.get_web().get_lists().getByTitle(listTitle);   spCtx.load(list,'HasUniqueRoleAssignments'); spCtx.executeQueryAsync( ...

Thursday, November 3, 2016

03 Nov

SharePoint App giving credentials popup

up vote4down vote Click on Start -> Run and type regedit. Locate the key 3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa Right click on this key and choose New > DWord Value Name this one "DisableLoopbackCheck" Double-click then on it and type the value “1” Reboot your server. (Mostly...

Thursday, October 20, 2016

20 Oct

The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

db_owner permissions to the account  For this Open the DataBase,  expand Security -> Logins -> right click on the account and go to properties.   properties window, click on User Mappings from the left side.  Then you can select the database and select the permission as db_owner...

Monday, June 20, 2016

20 Jun

Content editor webpart overrides Sharepoint CSS

 CSS, Selectors and its rules for CSS Specificity and you will be able to master any CSS problem. In your scenario you can wrap your content in a DIV unique  selectors ID <div id='myCEWP'>   <H1>Hello World!</H1> </div> And then apply your CSS only to that one H1 in the DIV : <style>  ...