Tag Info

Hot answers tagged

11

Fun stuff, I was checking this site since I stopped answering SO SharePoint questions for a few years now and this was the first thing in the list, a very interesting oversight during the "host web Feature" option for CustomActions. What a detailed investigation! Luckily I have a solution for you. WEB STANDARDS TO THE RESCUE CHO CHOO With Microsoft ...


10

Yes, there are fundamental differences between SharePoint-hosted and cloud-hosted apps. A SharePoint-hosted app may provision basic resources into its app web such as HTML/CSS/JS files, site column/content type/list definitions, etc. Under no circumstances can server-side code run within a SharePoint-hosted app. You can run server-side code in a ...


8

You need to setup the app domain this is a good tut but very lengthy http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx also this: In order to install an App from the App Store you must setup an isolated App Domain, this is because Apps from the store deploy to their own app domain and run under a ...


8

In addition to traditional web parts still being supported (in either full-trust or sandboxed solutions) as Simon mentions, you can develop new app parts in an app for SharePoint 2013. An app part is like a web part, and in fact is also made available to users in a host web's web part gallery. Users add app parts to pages the same way they would add web ...


5

If you plan to provision the page using a Module, I'd recommend configuring the web part inside of the Module, rather than in the aspx file itself. This will allow you to select whichever view you would want: <File Path="mypage.aspx" Url="mypage.aspx" Type="GhostableInLibrary"> <View List="Lists/Personnel Holiday Entitlement" BaseViewID="4" ...


5

SharePoint facilitates several services such like user profile, secure token, business connectivity and etc.. which are supported at farm level. An application is a web application where it also lies in the same level as services. There you can add site collection, sites and add content. Then the services come and help those applications to function by ...


4

Lists in the app web are good for storing instance-specific app configuration data since a single app may have many instantiations across a farm. Also, apps will always have full control over their app web so they are guaranteed to be able to read from, write to, and delete list items on a list in the app web. If a list were in the host web and the app ...


4

Before you can deploy a SharePoint hosted app to your SharePoint Preview development environment you have to configure an isolated app domain. like this : http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx http://msdn.microsoft.com/en-us/library/fp179923%28v=office.15%29 Hops it helps!!


4

Why not use the jQuery live method? http://api.jquery.com/live/ It will pick up the controls when they become available.


4

check proper app permissions is given. <AppPermissionRequests> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" /> </AppPermissionRequests> as well if you are using SharePoint Hosted app, try the following example. http://code.msdn.microsoft.com/office/SharePoint-2013-Use-list-cb3e4e14 ...


4

When you upload the app to app catalog site, there you get the option to provide description. Short Description and Description.


4

Service applications are different SharePoint features which you can configure and share among different web applications. There are lot of built-in service applications which you can configure and benefit from. Applications - if you are referring to custom applications, are the one you can develop using Browser, SharePoint Designer or Visual Studio to ...


3

I achieved this goal by adding the following to my App.js: //Build absolute path to the layouts root with the spHostUrl var layoutsRoot = strHostUrl + '/_layouts/15/'; //Create a Link element for the defaultcss.ashx resource var linkElement = document.createElement('link'); linkElement.setAttribute('rel', 'stylesheet'); linkElement.setAttribute('href', ...


3

You're mostly correct on both counts. You need a load balancing solution of some sort to distribute traffic between SharePoint web servers that are hosting content web applications accessed by end users. Windows Network Load Balancing (NLB) is one option you can use to provide that, but there are other options as well. NLB is a software-based load balancer, ...


3

You actually need to generate a SP.ClientContext for the app web and a SP.AppContextSite for the host web. To get a reference to a list in the host web, try the following: // Get the ClientContext for the app web clientContext = new SP.ClientContext.get_current(); // Use the host web URL to get a parent context - this allows us to get data from the parent ...


3

Just disable Loopback Check - solved the problem for me. Here's some PowerShell to do this: New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword Source Keep in mind, that Loopback Check is essentially a security feature. Disabling it in a productive environment should only be considered ...


3

I do agree that APP model is the new buzzword in the SharePoint world, and it is shifting the way we used to think everything as a feature till date. App model does offers some great flexibility to manage the solutions for admins (distribution and deployments) but yet to have a better example for app development. So far what i could see is developing ...


3

We're working on a corporate Intranet and I've just in the last few weeks attempted my first application. After you've decided to roll out with Office 365 or on-prem I think the first question to ask yourself is "Am I manipulating SharePoint itself?" Simply put, with Office 365 the flowchart ends with "make an app". You see a lot of app examples of things ...


3

You need to deploy your apps using App Catalog for your web application. Then your app will be available on subsites too. To configure your app catalog refer: http://office.microsoft.com/en-in/sharepoint-help/use-the-app-catalog-to-make-custom-business-apps-available-for-your-sharepoint-online-environment-HA102772362.aspx


3

Get Users from People Picker In the MSDN article you already probably know: http://msdn.microsoft.com/en-us/library/jj713593%28v=office.15%29.aspx In this article you have the function: // Query the picker for user information. function getUserInfo() { // Get the people picker object from the page. var peoplePicker = ...


3

SP.Web.siteUsers property gets the collection of all users that belong to the site collection: var value = SP.Web.get_siteUsers () How to get User client Object by email function getUser(userName,Success,Error) { var context = new SP.ClientContext.get_current(); var web = context.get_web(); var user = web.get_siteUsers().getByEmail(userName); ...


2

If you have solution of that app then just retract that app. It will remove whole app from your site. or follow this link : http://technet.microsoft.com/en-us/library/fp161233.aspx


2

If your SP app has a remote web in the solution, you can store the image in you remote app and use the token ~remoteAppUrl to correctly resolve the URL to that image. For some reason MS wired up ~remoteAppUrl correctly but did not do the same for ~appWebUrl. Hopefully they will fix that in the future.


2

I didn't really expect anyone to "chase this down" for me, so I spent some time doing a lot of digging on my own. The short answer (as of January 2013) is "no" - there doesn't appear to be any way to leverage tokens like ~appWebUrl in the Image32by32 and Image16by16 attributes. The way that the image attributes are processed is inherently different than the ...


2

SharePoint 2013 still supports Web Parts.


2

SharePoint 2013 Introduced App Model Because of Software Market tends And Manage Solution without disturbing other tenants Especially in Online or Cloud scenarios. To meet this goal Microsoft Provide Great App Model for Developer to Build Apps on top of the SharePoint 2013. But mostly developer is used to develop their solution for Cloud by ...


2

If you want to change it pro-grammatically check this link out. Where they getting the webpart and then setting it's view. create or get XsltListViewWebPart You can change default view in the definition of your list too. Here's a similar question on SE that explains how to change list's default view in Schema.xml


2

Thanks to the other answers I have solved the problem. The default css file is automatically linked when using the App, but using Keith Tuomi's code to define the css file is a good idea to ensure linkage. I went through the css file and found the appropriate class called ms-ContentAccent1-bgColor which gives the color. I am going to test if this works ...


2

Combining my experience with that of my colleagues, my advice would be to spend some time learning the App Model but to avoid really investing in it until version 2. There's currently a serious lack of documentation and real world guidance and, unfortunately, a lot of issues being reported.


2

Not possible. Source Limitations of tenant-scoped apps The following kinds of apps cannot be batch-installed: Apps that contain a custom action for the ribbon. (Custom actions that are deployed as menu items are allowed.) Apps that contain an app part.



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