You are able to brand the My Site host itself (where Newsfeed is) with SharePoint Designer. However, each SkyDrive site (My Content site) is a separate site collection. You would need to manually apply your branding to each one individually. Not ideal, but Office 365 and SharePoint Online don't give you any other options. If you have SPO-D (SharePoint ...
There is a maximum 256 character limit in SharePoint for REST URLs - reference:
However URL parameters are not included in the length-restriction, so can be used to get round this limit. Here is an example of using URL parameters to bypass this limit:
Regarding SharePoint 2013 the SkyDrive (now OneDrive) term is used around the original MySite and some specific content. Microsoft did a really bad job explaining all the buss around OneDrive (old SkyDrive). If we talk about business we are talking about "OneDrive for Business" (old "SkyDrive Pro"):
Terminology and concepts for OneDrive for Business
As Hardik states 5,000 items is the maximum number of items you can sync on a team site document library. This is a limitation of the sync tool.
Typical workarounds involve splitting out your files and folders in to separate document libraries, almost treating a document library like a root level folder. This will help to keep the numbers of files and ...
You could map a drive to the SharePoint site, then the entirety of the site becomes available in Windows Explorer in a single connection. You also then don't have the entirety of your SharePoint site eating up local hard drive space. You also don't have the file limit restrictions (and selective sync until the new client is released).
I am in a similar ...
Yes, the Links in the QuickLaunch are static, but...
You can make a link to a static Redirect Page (or Custom APSX Page), where you extract the link to OneDrive and redirect to it with window.location=
They will see a blank page.. or make a nice redirect text (just in case somewhting goes wrong in your script)
To check what's the URL of the personal site of a user. Follow below steps
Login to SharePoint admin center
Go to User profiles > Manage User Profiles > Search for your user
Go to edit profile page. Check what's in Personal Site.
If you want to delete user's personal site then use following command
Connect-SPOService -Url https://contoso-admin.sharepoint....
You cannot create Workflow for Onedrive but if you want workflow like functionality then you can try Microsoft Flow. There are various triggers/events which you can define for initiating your Flow (seen in screenshot below)
you can start creating flow by logging in to https://flow.microsoft.com/
to learn basics you can visit https://flow.microsoft.com/en-...
This error occurs since requested properties have not been loaded. You have to explicitly specify them in ClientRuntimeContext.Load method.
Since you are getting ListItemAllFields property, you have to specify like this:
context.Load(listItem, i => i.File,i => i.File.ListItemAllFields);
In order to retrieve File object with all List Item ...
There are now throttling limits for Office 365 REST APIs. See https://msdn.microsoft.com/en-us/library/office/dn889829.aspx
Throttling can be triggered if you exceed 1 request per second continuously. You will receive a HTTP status code 429 ("Too many requests") if this happens. For your average app you are unlikely to trigger throttling. But for intensive ...
You can add a permission level on the top level site of a site collection. You can find this by going to Site Settings -> Site Permissions -> Permission Levels (in Permissions tab) -> Add a Permission Level. From here you can recreate a Contribute group.
Here's an article that has the default permissions for each level as well if you want to ...
SP.UserCollection object contains the SP.UserCollection.getByEmail Method to get the user with the specified email address. The following example demonstrates how to get SP.User Id property:
Alternatively you could utilize the following query:
After the first query that creates Folder object you could perform the second REST request:
to retrieve the associated List Item with a Folder.
Using listItem.BreakRoleInheritance(false, false); to break inheritance for Folder1 is correct, if you want to have unique permissions set from this level on. But if you want Folder2 to inherit from Folder1 and Folder3 from Folder2 (which basically means both inherit from Folder1) you CANNOT use BreakRoleInheritance. This will break inheritance of ...
OneDrive for Business is supposed to run in the Cloud of Office 365, and you really can’t configure OneDrive and sites links without a subscription. When you navigate to “Configure OneDrive and Sites links” <CentralAdminURL>/_admin/cloudconfiguration.aspx, the first information you get is sign up for Office 365. Without it you can’t use OneDrive for ...
Note: There are limitations related to syncing libraries to your computer with OneDrive for Business:
You can sync up to 20,000 items in your OneDrive for Business library, including folders and files.
You can sync up to 5,000 items in other SharePoint libraries, including folders and files.
In any library, you can download files up to 2 GB.
You can use the next code:
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', CopyFile);
var oUrl = _spPageContextInfo.webAbsoluteUrl +"/_api/web/getfilebyserverrelativeurl('/Library/acento.txt')/copyto(strnewurl='/Lybrary_2/acento.txt',boverwrite=true)";
In one of the most recent updates to the SharePoint Online Management shell, https://www.microsoft.com/en-us/download/details.aspx?id=35588, they introduced a new commandlet called Request-SPOPersonalSite. You simply supply a list of no more than 200 users, and it will preprovision their OneDrives.
Once a person's license is removed, after 30 days (configurable) their OneDrive will be deleted from the environment. If the user has a manager listed, they will receive an email informing them about this. They will have an opportunity to browse the user's OneDrive and pull any important information.
OneDrive is for personal business files. You may share ...
The users are likely members of an AD, from where they get the permissions despite excluding them individually from the Office tools. Have a look at your AD on one of the users part of your description.
Alternatively, on SP, you can check what permissions each user has on a site using the Check Permissions -tool, which should lead to conclusions about the ...
The 25TB is the technical limit for SharePoint Online site collections.
The 1TB you are referring to is what space you are given by default in a SharePoint Online subscription.
If you wish to add additional space to the 1TB you need to purchase more storage which is available on the on the Site Collections page inside SharePoint admin or on the ...
Better later then never, apparently you should not convert byte array into string via Encoding:
string strData = System.Text.Encoding.UTF8.GetString(data);
and then convert it back:
byte bytes = System.Text.Encoding.ASCII.GetBytes(parameters);
In fact that's the reason why uploaded picture is getting corrupted. See Jon Skeet answer:
You should ...
Comparing OD4B to Box is not apples-to-apples.
If i have columns in the library, and those columns have default values, then I expect the updated metadata to be in the files once they are added to SharePoint.
Just more haters being haters.
The observed behavior is called Property demotion and is well ...
Use File.OpenBinaryDirect method to downloads the specified file from a SharePoint site.
The following example demonstrates how to download file from a Library by providing its item Id.
/// Download file from a Library
/// <param name="context">CSOM context</param>
/// <param name="...
if this helps anyone, this code returns the values I needed.
List listFields = context.Web.Lists.GetByTitle("Financial Notes");
// this is how you can get the item(file), you can also use CAML query
context.Load(item = listFields.GetItemById(...
Unfortunately ListItem resource in SharePoint 2013 REST interface does not expose ParentUniqueId property.
But you could use the following query to return ParentUniqueId property for ListItem:
/_api/Web/Lists/getByTitle('<list title>')/items(<item id>)/FieldValuesAsText?$select=ParentUniqueId
Lists and list items REST API ...
I was using the following code to add a file to a folder
url: http://site url/_api/web/GetFolderByServerRelativeUrl('/FolderName')/Files/add(url='a.txt',overwrite=true)
body: "Contents of file"
Authorization: "Bearer " + accessToken
X-RequestDigest: form digest value
content-length:length of post body
if you have a quite a deep ...
I ran into this same thing and was able to get this to work by replacing the commented out lines with the others.
# Add-Type -Path ([System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client").location)
# Add-Type -Path ([System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.runtime").location)