Tag Info

Hot answers tagged

3

Package a WSP Right click your project in the right column. Then click "Publish". A dialog will open, where you will get to choose where to place the resulting .wsp file. After clicking "Publish" your project will be build and then packaged in the selected location. Make sure to have the Solution configuration set to Release when building for production. ...


3

You can, however it'll require adding code to the parent page and utilizing window.postMessage(). You will have to add an event listener on the parent page to listen for the message, and then open the dialog: window.addEventListener("message", receiveMessage, false); var receiveMessage = function(event) { if (event.origin !== "your app") return; ...


2

See http://blogs.msdn.com/b/kaevans/archive/2015/03/23/using-openid-connect-with-sharepoint-apps.aspx where I explain that the app is anonymous by default but a user cannot access content because of the way that TokenHelper checks first for a valid context token. If a context token is passed, you use the context token to obtain an access token. If that ...


2

You're creating a Provider Hosted app, e.i. you're creating an app where the functionality is running outside SharePoint. The two options for which Visual Studio has build-in template support are ASP.NET Web Form and ASP.NET MVC, so it ask you to chose one of these. Visual studio then creates a solution with two projects, one for the App and one for the ...


2

For SharePoint-Hosted apps you'll indeed need one domain per farm! Otherwise you cannot setup your DNS to direct traffic to the respective WFE servers in different farms. You could go for domains like mydomainapps1.com and mydomainapps2.com - they do not need to be descriptive. See Technet for details: ...


2

Did this ever work correctly or is it something that has never worked? I'll assume the later, which means there may be a mis-configuration or something missing from your farm. Ensure you have a App Management and Subscription Service deployed Ensure those services are started on the appropriate servers. Ensure both applications are added to the default ...


2

This is one of the SharePoint Online Limitation, but their are couple of workaround for it. As Amal mentioned, use the 2010 workflow. add the users as contact in Exchange. This has the following disadvantage, it takes +/- 3 days to show up in SharePoint. Once User in the contact list then you can send the email to that address. To send email to external ...


1

Ok, I figured it out. The app web is created in the OS (client) language when created from Access. It is created in the language of the host web when you add it through site contents-> add an app -> Access App. After you're added the access app you can edit it with Access.


1

Yes, you can run SharePoint 2013 apps in SharePoint Foundation 2013, but with some limitation, as Some apps may be written to leverage client side code that will only work in SharePoint Server. Those Apps won't work in Foundation. For example, an app that interacts with the User Profile Service wouldn't work in Foundation since the User Profile ...


1

TypeInitializationException is thrown when a static constructor throws an exception or when you try to access a class where the static constructor threw an exception. Look into it's InnerException property as that holds the details on the actual exception that is thrown.


1

You have a controller function somewhere correct? Although you can use ng-init to create some data on Angular's $scope object, it is easier to reason about inside a controller function, and you can take advantage of Angular's two way data-binding when new data comes in through your getProperties function. <!-- html --> <div ...


1

We have done this with multiple solutions without any problems. Create a new web application for the provider hosted app. Do additional configurations (https://msdn.microsoft.com/en-us/library/office/fp179901.aspx) and you are good to go.


1

Get-SPAppInstance cmdlet along with another cmdlets are supported in SharePoint On-Premises only, they are not supported in Office 365. The following script demonstrates how uninstall App in SharePoint Online: Prerequisites: SharePoint Online Client Components SDK [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") ...


1

I do things a little differently with my JSOM code. I have a generic function and use deferred variables. Here is a working example that I used CDNS for. You should be able to drop this into a page and it will show a fullcal(although not with some of the other functions you defined) <script ...


1

Yes, it will access everything under neath it.If an app is granted permission to one of the scopes, the permission applies to all children of the scope. For example, if an app is granted permission to a website, the app is also granted permission to each list that is contained in the website, and all list items that are in each list. Only way when ...


1

App Web - Site on which the App is deployed Host Web - Site on which the App is installed App web is in isolated domain but it is still inside the same site collection as host web. That is why your second request returned results. Now if you want to query cross domain data, we need to follow the syntax you have mentioned. Because this call will happen ...


1

As described in Configure an environment for apps for SharePoint (SharePoint 2013) your DNS should be set up to have a wildcard CNAME for *.ContosoApps.com, where ContosoApps.com is the domain configured for apps (which hopefully match the obfuscated part of your image).


1

The following example demonstrates how to add Content Search Web Part using SharePoint 2013/Online CSOM API Prerequisites: SharePoint Online Client Components SDK var pageUrl = "/Pages/SearchResults.aspx"; var webPartSchemaXml = @"<?xml version='1.0' encoding='utf-8'?> <webParts> <webPart ...


1

If you want to create a single page application (SPA) app usually you have to choose a client side framework. Here is very short review of common SPA frameworks: JavaScript SPA-Frameworks Technically Knockoutjs is not a SPA framework, but MVVM two way data binding technique for your UI, Durandal JS is a SPA frame work that is built on Knockout JS base. If ...


1

If I have understood your question correctly, Add the web part under edit page and also add the required js using the JS link. Now go to list settings -> Save list as template. The list will be now be saved as a template and it can be added under existing apps section.


1

Lars gives a great answer above, but keep in mind that if your developer (or you yourself) create a "Provider Hosted" app, and then later decide to add a list or page or whatever to your app manifest, you will automatically end up with a hybrid between "provider hosted" and "Sharepoint hosted", and you will in fact have both an "app web" and a "remote web". ...



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