Tag Info

Hot answers tagged

2

The rest interface is not available to anon users by default. It can be enabled, but MS recommends against it. The preferred solution is to enable the search rest api for anonymous access, and retrieve all data that you need via that. A good article that explains the above in detail. Waldek's post that is a good explanation of how to enable the search api ...


2

An app part is one way to display information from an App for SharePoint (one of the so-called 'shapes' a SharePoint app can use). An App for SharePoint holds all of the logic, display, and (typically) data associated with a specific piece of functionality someone has built to leverage the SharePoint framework. Apps for SharePoint are created using some ...


2

You can download few of the existing FREE Twitter Web Parts Free Sharepoint Twitter Web Part Search for Twitter Feed Twitter Web Part


2

Twitter provides rich devloper API's. You can check that here and create your own. Else you can use the one twitter provides. Something like <a class="twitter-timeline" href="https://twitter.com/twitterdev" data-widget-id="YOUR-WIDGET-ID-HERE"> Tweets by @twitterdev </a> <script type="text/javascript"> window.twttr = (function (d, s, id) { ...


2

No, you cannot use app-only policy in SharePoint hosted app. For a SP hosted app it is always app+user context. Refer MSDN documentation. The NOTE in the documentation reads Apps that do not make OAuth authenticated calls (for example, apps that are only JavaScript running in the app web) cannot use the app-only policy


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

Scalability and increased storage requirements is very common. MS has recently announced OneDrive for Business will have unlimited storage for its users. Sounds like you already have a subscription to this so your users would qualify http://blogs.office.com/2014/10/27/onedrive-now-unlimited-storage-office-365-subscribers/ ...


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

Like with most things of this nature it's PowerShell to the rescue. Basically you can get the App instance, Import the updated package, then update the instance with the new package. $AppInstanceOnSite = Get-SPAppInstance -web "<URL>" | Where {$_.Title -eq "<AppName>"}; $NewAppFile = Import-SPAppPackage -Path <local path to .app file> ...


1

Managing multiple web application over SSL is not an easy talk for developers. Wildcard SSL - It allows developer to manage and secure unlimited number of sub-domains or apps (if App domain is a sub-domain) with single certificate. The other solution is Multi Domain SSL Multi Domain SSL will allow developer to manage and secure multiple domains/apps over ...


1

You cannot create a subsite inside an appweb, Microsoft has restricted it, If you will try to create a Subite in appweb using CSOM you will get an Exception message set by Microsoft that a subsite cannot be created inside appweb


1

If you're creating Apps for SharePoint you need to define an authorized remote endpoint in your AppManifest and then use the Web Proxy: http://msdn.microsoft.com/en-us/library/office/fp179895%28v=office.15%29.aspx Example using the JS Object Model Define http://services.odata.org/ as a remote endpoint in the AppManifest file of your App for SP project (or ...


1

Got it! You have to make your host Body field to interact with App's IFrame It's a matter of registering listeners on message on the Host Page so it can listen to the App's IFrame message. Note: In this case, I've registered listeners on both App and on the Blog Post. In [HOST]: I edited the New Post page and added the Script Editor webpart. Below is the ...


1

I could be mistaken, but I think your problem is makeProperUrl function. Based on your comments in your question I'm going to assume that the function returns the app web url from query string, and in most cases this will not end with a slash, so then your query would try to access .../MyPrettyLittleAppUrl_api/web... To fix this simply add a forward slash ...


1

As of now we cannot as there is no CSOM or Sharepoint online powershell commands for it.I am trying to a post with variables from the code using HttpWebRequest.


1

Well as for me you can always register the app for the first time on one of the tenants, use the registration data in Azure and in .app file and then, when installing the app on other tenants instead of clicking on generate button in appregnew.aspx, simply paste the client id and client secret you have generated when installing the app for the first time. ...


1

When a Term Store(Taxonomy) is created it has its own permission level. Check whether the user context which your are using has permission to the Taxonomy or not. See the picture I have attached.


1

First, you need to have a SharePoint app web in your provider hosted app project in order to make calls back into SharePoint using the Cross Domain Library (this is not included by default in a provider hosted app solution) Second, you'll need to load the following JS files from from the layouts directory of your SharePoint site (you can do this by ...


1

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


1

Import-SPAppPackage will import the App into the Site Collection. Install-SPApp will install an instance of the imported App into the specified Web. For SharePoint Server (on-prem) it is just a programmatic way to install Apps without utilising the App Catalog. These cmdlets are not the same (if even available) on SharePoint Online. You can also use ...


1

SharePoint hosted apps support JavaScript client object model and REST. Dot NET client object model is not supported in SharePoint hosted apps. However, Dot NET client object model is supported in cloud hosted apps.


1

You should be using Client Side Object Model while creating Apps for SharePoint. You can use MSDN as starting point to find out how to create those How to: Create a basic provider-hosted app for SharePoint How to: Create a basic SharePoint-hosted app How to: Create a cloud-hosted app that includes a custom SharePoint list and content type



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