Tag Info

Hot answers tagged

6

The simple process of setting item level permission is not available for SharePoint 2013 workflows. The only way I was able to do was through REST api called under Appstep. There are 2 calls made: BreakRoleInheritance AddRoleAssignment This blog by Yuri Leontyev​ ​ over at spssite.pro can be a good start. Excerpt: BreakRoleInheritance​ ...


5

You need to add $context.ExecuteQuery() at the end. Without it operations won't be executed on the server.


3

Yes It shares this quality as SharePoint online also has lookup column threshold of 8. https://community.office365.com/en-us/f/148/t/11914


3

Only through AZURE OR an APP or ADD-IN can you access content in SP using the REST api (and ADAL) Most links in the other answer are about making REST calls within the same domain. I have a similar open question: Is Visual Studio required to built a Front End to write (REST) data into a SharePoint Online list


2

You can preserve the last modified date by activating versioning on your list. Go to list settings -> Version Settings -> Create a version each time you edit an item in this list. After that when you select or edit/view an item you always have the option "Version History" where you can view all changes made to this list items when and the person who did ...


2

You can use "Enforce Unique Values" in the field. Go to the List -> List Settings -> click on the Field you want to change, and select Enforce Unique Values - Yes.


2

I just checked the O365 catalog, alle Enterprise plans include SharePoint. The following O365 plans include SharePoint according to the O365 catalog: Enterprise E1, E3, E4 Business Essentials, Business Premium, Business If you just want SharePoint, you can also subscribe to SharePoint Online Plan 1 or 2. The URL for the catalog: ...


1

When trying to administer SharePoint Online (O365) via PowerShell through a proxy server the Connect-SPOService cmdlet connections fail. Perform these commands and retry Connect-SPOService $cred = [System.Net.CredentialCache]::DefaultCredentials [System.Net.WebRequest]::DefaultWebProxy.Credentials = $cred


1

There is no way to set the High Importance flag in an email with SharePoint Designer. If you are able to develop Visual Studio solutions, one solution could be for you to develop a custom web service that sends the email. In this web service you could set the High Importance flag before sending the email. Once this web service is developed and deployed, you ...


1

Try adding the type="text/javascript" in the <script> tag references, like this: <script type="text/javascript" src="http://yoursite/sites/yourlibrary/jquery.min.js"></script> <script type="text/javascript" src="http://yoursite/sites/yourlibrary/StickyHeaders_v2.9BETA.js"></script> Also see these posts: sharepoint 2013 / ...


1

I don't think there is a way to query Search via app-only permissions. As a workaround you could use stored credentials and execute the Search using that context. But you need to understand that Search relies on a proper user context to function properly. Unless your security implementation is really simplistic you are likely to see issues where users see ...


1

You can try using Sticky Headers for SharePoint 2013. I would experiment with using it on just one page, list, or library to start with, and then if you like it, you can decide whether or not not to use it for your whole site. Below is how to do that. Download Script Files To use the Sticky Headers, first you need to download the StickyHeaders_v2.9BETA.js ...


1

I found this property for the Navigation class: public bool UseShared { get; set; } Setting it true should inherit the navigation. So this should work: $web.Navigation.UseShared = $true; However, it seems it applies to all navigation, top nav and quick launch.


1

Using out of the box workflow actions you can't do it because of security limitations. As solution I would like to suggest to have a look at a Plumsail Workflow Actions Pack. It is extended set of workflow actions for SharePoint Designer which also contains a set of workflow actions for permission management. I'm one of developers of the product and I'm ...


1

Custom Actions are not allowed in Tenant-scoped Apps and will not work. Read the section "Limitations of Tenant-Scoped Add-ins". https://msdn.microsoft.com/en-us/library/office/FP179896.aspx


1

I'm not sure if this option is available in SPO, but this is how I do it on-prem. Within Site Settings, go to 'Content and Structure'. Navigate into the document library you'd like to work with, and then select all documents within it. Click 'Actions' and 'Check In'.


1

Although disabled through the UI since SP2010 you can still Group By ContentType. Full explanation at: http://joelblogs.co.uk/2011/10/29/restoring-group-by-content-type-to-sharepoint-2010-list-views/ There are 2 Methods described; Joel uses a Feature, I prefer adding the code to EditView.aspx page with TamperMonkey/GreaseMonkey (no equivalent for IE), ...


1

The only thing you can change is the public SharePoint site, you cannot change anything else.


1

We've found the issue. It was because _spPageContextInfo.webAbsoluteUrl brings back sampleSite-<random-string>.sharepoint.com instead of sampleSite.sharepoint.com We had to get the correct URL by grabbing the query string parameter SPHostUrl function getQueryStringParameter(urlParameterKey) { var params = ...


1

I would try to ensure that all needed SP js files are loaded before calling function: doJSON("/_api/social.following/my/followed%28types=15%29", renderSuccess, renderFail); I have the same code as yours working perfectly. The only difference is that I load the following files on demand first: spSODAction(["sp.js", "sp.runtime.js", "sp.userprofiles.js", ...



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