Tag Info

Hot answers tagged

3

Not one hundred percent sure, but I would say Yes you should. Most information tells you that, like using GetSubwebsForCurrentUser. The only difference is that you are calling the method from SPContext, but since you are calling a method in the context web I'm quite sure that new web objects will be created for your enumerator! To be completely sure you ...


2

Use AppCatalog class for this. Proof of concept below: class StackExchangeProof { static void Main(string[] args) { var login = "admin@yourdomain.onmicrosoft.com"; var password = "YourHardP@ssw0rd"; var url = "https://yourdomain.sharepoint.com"; var creds = new SharePointOnlineCredentials(login, ...


2

Try to use: ClaimClientContext.GetAuthenticatedContext, instead of new ClientContext http://community.office365.com/en-us/f/154/t/47576.aspx http://msdn.microsoft.com/en-us/library/hh147177.aspx


2

There is an upper limit on list items in SharePoint Online but it is much higher than 20,000 items. Here is a 21,100 item list I created earlier on SharePoint Online: I haven't proven it, but I believe the upper limits for items in lists in SharePoint Online are the same as for SharePoint 2013 described here (30,000,000 items) You may be getting confused ...


1

There are really only two ways that you can overcome this and only one of them is controllable by you. The bad answer is that each visitor can change a setting in their browser to allow mixed content. That's just not a practical solution. I'd argue it's just bad all the way around. You will need to use a proxy to get the data for you. You could use the ...


1

I have not yet had time to explore the full functionality but my understanding is PowerBI add: Larger workbook sizes for online viewing Ability to connect to data sources on-premise A new "PowerBI" site template is available. The biggest take away is probably the ability to utilize on premise data sources. I'd be curious to to see if anyone that is ...


1

Create Site Columns and Site COntent type for the list item that goes in each sub site. In the root site, use a Content Search Web part to show all items in the site collection that have that content type. Search will automatically security-trimmed the items, so each user will only see the item(s) for which they have permission.


1

In root site create a List which will store the Project information(lets call it "Project Information").Create a Library which will store the project documents(lets call it "Project Documents").Since Project Information list will have only 1 item per project you can do 2 approaches to display this data to only project members. Item level permission- Create ...


1

In SharePoint Online(o365) you cannot send email through Sandboxed Code .The best way to send email will be to use SharePoint Designer workflows "Send Email" action. [Update]: Looking to your scenario , ie notify the Contribute permission user whenever user with read permission logs in. You can create a dummy hidden list, break inheritance of that list and ...


1

No, auto-hosted apps are only available on Office 365, since Azure auto-hosting is only available to apps deployed to SharePoint Online. You need to use a provider-hosted or SharePoint-hosted app model to be able to use it on-premise. More about the hosting alternatives here: http://msdn.microsoft.com/en-us/library/office/fp179887.aspx#Autohosted


1

On your success callback 'onGetUserNameSuccess', did you want to auto click the button? If so, replace $("#Button1").val("CLick"); with $("#Button1").click(); Since, your #lblUpdate is a paragraph, you may want to update it as: function lblupd() { $("#lblupdate").html(nm + " " + surname); } Also, use e.preventDefault(); inside your click event ...


1

On premises you can use this: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceivertype.aspx In Office 365 You can in theory create an app that will handle the administration of those groups for you. However you'd have to hide the original permission management page (master page changes).


1

Switching between SharePoint Online (Plan 1) with Yammer and Office 365 Enterprise E3 made no difference. Copied formatted text from Word 2013 was pasted in a new Enterprise Wiki page. Every formatting pasts correct with formatting information. Header 1 in Word is Header 1 in the Enterprise Wiki page, bold is bold, italic is italic and so on. Everything ...


1

Unfortunately due to the 'home-realm discovery' set of challenges, there's no way Office 365 can know where your users come from in order to be able to transparently redirect them to your ADFS server for their logon token. This is because they cannot guarantee that the intention is to specifically logon with only the organisational account bound to the ...


1

SPO does not have Farm Admins (at least not for tenant users). There is a Global Admin, however, that gives a user access to a nerfed version of Central Admin. To determine you are a Global Admin, you can look at the Suite Bar, and if you can see these Admin links, you are a Global Admin.


1

I am afraid you are out of luck. there is no api to check if user belongs to a group in AD in sharepoint. But sharepoint does have a notion of Audiences Sadly, i dont think there is no REST api for audiences either. Via code here. From here The behavior is by design. SharePoint will not unwind AD groups for audience feature to work as this will cause ...


1

The major problem in saving web templates in an on premise environment is that not all features are available in Office 365 and vice versa. If you save a site as a template all the feature ID from an on premise SharePoint Installation will be stored in the WSP. In addition this also causes trouble if you like to move templates across farms. The problem is ...


1

Not sure if web templates are actually supported in office 365 or not, but there is a work around your problem, use SharePoint designer or browser to make changes to a web, then save it as a template, this will give you a .wsp file. Import this wsp file in visual studio 2012, only select the web templates and it's modules, make changes to it and re-deploy ...


1

You will need to find a translation service that you can access via REST such as Google's or Bing's translation APIs if they support your languages. The problem is you really should write a proxy service and host it so that it can be accessed via your app. This will prevent someone from using your API developer key. You could use SharePoint 2013's proxy if ...


1

If you create a .spcolor file with the palette you want, and upload that into the Theme Gallery (access this via Site Settings, or use a module to upload it if you're in a feature - either way reember to put it into the 15 folder) you can apply a color palette file to a site by calling Web.ApplyTheme: ...


1

I cannot test the code, but I think you can set the theme by using a feature receiver. Inside the FeatureActivated method put: // Get the SPColor file var colorPaletteFile = web.ServerRelativeUrl + "/_catalogs/theme/15/Palette015.spcolor"; // Get the SPFont file. var fontSchemeFile = web.ServerRelativeUrl + ...



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