Tag Info

Hot answers tagged

3

The error: The user does not exist or is not unique most probably occurs since user could not be found. The list of methods that could be utilized for removing a user from group: SP.UserCollection.remove SP.UserCollection.removeById SP.UserCollection.removeByLoginName The following examples demonstrate how to remove User from Group using ...


3

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 ...


3

How to retrieve List Url in SharePoint Online using PowerShell CSOM Function Get-SPOCredentials([string]$UserName,[string]$Password) { $SecurePassword = $Password | ConvertTo-SecureString -AsPlainText -Force return New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($UserName, $SecurePassword) } $context = New-Object ...


3

When you use URL _api/web/lists/getbytitle('TestList')/items(1)?$select=FolderUrl You will get two properties d:Description d:Url So you don't need to expand <m:properties><d:FolderUrl m:type="SP.FieldUrlValue"><d:Description>Google ...


2

that's weird, you should have no problem with group by that type of fields as I show in the picture below As you can see Im filtering by a custom field called friends. Could you tell me how you created the field?, Could you upload an image of the field, like this:


2

Like this: Add-SPOUser -Site https://contoso.sharepoint.com -LoginName melissa.kerr@contoso.com -Group "Team Site Members" Ref: Add-SPOUser


2

The app needs to be given Manage Permissions on the Host Web in order to create a list in it. The context of the host web is retrieved by passing context of the app web and host url to SP.AppContextSite. Here is a code sample to create a list in Host Web. function createlist() { // Create an announcement SharePoint list with the name that the user ...


2

A valid admin site in Office 365 is always https://tenant-admin.sharepoint.com Tenant is the .onmicrosoft.com name that you choose when registering for a subscription. Tenant Account Setup Whether you choose a vanity domain, change the name of your public website, the admin url always remains: https://tenant-admin.sharepoint.com


2

The plugin allows you to have a better experience with Microsoft SharePoint Typical file path: C:\Program Files\microsoft office 15\root\office15\npspwrap.dll Mozilla plugins Microsoft SharePoint Plug-in for Firefox Google Chrome plugins Stored per user in the directory 'Google\Chrome\User Data\Default\Preferences' Name: 'NPSPWRAP.DLL' ...


2

After the first query that creates Folder object you could perform the second REST request: http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/listItemAllFields to retrieve the associated List Item with a Folder. The following JavaScript example demonstrates that approach: function ...


2

After trying out different options available online, I was able to achieve it by JavaScript <!--SPM:<SharePoint:ScriptLink ID="ConfigurationScriptLink" Name="~sitecollection/SiteAssets/js/Configurations.js" runat="server"/>--> CSS <!--SPM:<SharePoint:CssRegistration ID="CSSCustom" Name="&lt;% ...


2

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: /_api/web/SiteUsers/getByEmail('username@contoso.onmicrosoft.com')/Id Alternatively you could utilize the following query: ...


2

sorry, did not understand your question and noticed your code, you want to pick up items filtering EventDate and EndDate? What is the value of fromTime.setTime() and toTime.setHours(17)? trying to answer your question: the format example: date to filter between 2014-12-02T08:00:00Z and 2014-12-02T17:00:00Z ...


2

In the master page file, add the following line just before closing the <head> tag. <SharePoint:CssRegistration ID="CssRegistration" Name="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" After="corev15.css" runat="server" /> </head>


2

Yes you can add custom document templates to Document Library in SharePoint Online. See this link on how to add custom document template.


2

In order to develop SharePoint solutions (farm or sandboxed), you must have SharePoint server installed. You can develop SharePoint apps without SharePoint Server, but you may need the Office Developer Tools, depending on your version of Visual Studio (the latest version of 2013 may have them installed already). Office 365 does not support solutions that ...


2

Keep me signed in uses cookies to keep a user signed in...so this is only an issue for users who share their computer with other users. In situations where users are sharing computers it should already be standard policy to log out of any sensitive apps and accounts that shouldn't be accessible to other users... I don't see any real security flaw here. ...


1

You can't quite impersonate over REST API since the code runs client-side and any user could capture the request and use it maliciously to impersonate the user for other operations. If you have a High-Trust (Provider Hosted) App SharePoint trusts who your signed token claims the user is, but even then, you shouldn't use it client side. You might try using ...


1

Go to your site collection > site settings page and activate the following Site Features (in this order) Search Server Web Parts and Templates SharePoint Server Publishing Infrastructure Go to a blog post and edit the page. Add the Content Editor Web Part and edit it's source toi iFrame your content. Paste your iFramed Facebook Source code ...


1

Another option In O365 if you are using OWA you can create calendars directly in the interface and share the calendar. Go to the Calendar interface and create a new calendar with the "+" icon In the upper right hand corner - select Share Add the users or groups you will share with and they will get an email. The email will contain a link to the ...


1

One way of accomplishing half of your question is to make a Calendar in a SharePoint site that everyone in your organization has access to. Assuming someone can view the calendar app in said SharePoint site, the "Connect to Outlook" button in the Calendar tab of the Calendar app will sync the calendar with Outlook 2013. I didn't have any luck getting the ...


1

You should be able to hide the elements with javascript or jQuery like so: function hideProperty(){ var x = document.getElementById('Label'); var d = document.getElementById('Label').parentNode.parentNode; if (x.value != ''){ d.style.display = 'none'; } else{ d.style.display = ''; } }


1

The following example demonstrates how to distinguish a "regular" users in Web.SiteUsers: public static IEnumerable<User> LoadUsers(ClientContext context) { var users = context.LoadQuery(context.Web.SiteUsers.Where(u => u.PrincipalType == PrincipalType.User && u.UserId.NameIdIssuer == "urn:federation:microsoftonline")); ...


1

Yes. You can create a document library. And then break the permission inherited from its Parent. Now you have full control on the library and choose who can view/edit documents.


1

Open the site in SharePoint designer Edit the current master page and add following before </head> <SharePoint:CssRegistration ID="CssRegistration1" name="<% $SPUrl:~SiteCollection/SiteAssets/suitebar.css %>" Save and publish the master page


1

I came across this scenario a little while back. If i'm not mistaken, I think you will need to 'create' an App Web as a proxy for your REST calls. You also need to alter the AppManifest.xml to add the following entry: <Internal AllowedRemoteHostUrl="~remoteAppUrl"/> in place of <RemoteWebApplication ClientId="*" /> However, this will also ...


1

I believe the groups under O365 Admin center are Azure AD groups. You can use them for audience targeting and to assign permissions in SharePoint. Exchange distribution lists are merely mailing lists. They are used only in Exchange; they cannot be used to assign permissions in SharePoint. Given the purpose of distribution groups, an email is necessary. ...


1

You can edit the Search Results Web Part. Then from the web part properties, click on Change Query. Now in the popup modal window, click on "Advanced Mode". In Query text, you can use {SearchBoxQuery}*


1

This services is not available in the SharePoint Online. currently they are offering this on-prem only. For complete list of features available on O365 please check this. http://technet.microsoft.com/en-us/library/5e1ee081-cab8-4c1b-9783-21c38ddcb8b0#bkmk_tableo365


1

Inside the while loop you can use $('#CalendarListDrop').append("<option>" + listName.get_Title() + "</option>");



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