Tag Info

Hot answers tagged

12

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


12

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


12

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


9

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


6

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


5

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


5

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


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

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


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

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


4

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


4

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


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

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


4

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


4

I'm going to assume here it's a SharePoint hosted app, so authentication is all centered around SharePoint. Provider hosted app may have additional authentication requirements and you would need to refer to vendors documentation on use. SharePoint hosted app - is a sub-site of the site where it is deployed. By default this will inherit the permissions set ...


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

I think this might help: http://weblogs.asp.net/wkriebel/archive/2005/08/22/LinkToExportToSpreadsheet.aspx Tested on SP2010 To replicate the funtionallity of "Export to Excel" (obtain the iqf file), all that needs to be done is replacing the place holders with your environment information in the following link: ...


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


3

You don't need to get the object of the newly created item again as ghNewItem since it is already loaded as ghItem . You need another executeQueryAsync call at the end function saveDraftGHrecord() { ghList = web.get_lists().getByTitle('Listname'); var itemCreateInfo = new SP.ListItemCreationInformation(); ghItem = ghList.addItem(itemCreateInfo); ...


3

Our company contacted Microsoft, and this is by design. For security reasons you cannot set the permissions of an app by client side code


3

App Part A component of an app for SharePoint that can be embedded on a site page to expose the functionality of the app.With app parts, you can show your app user experience (UX) right in the host web. An app part displays your app content using an IFrame. End users can customize the experience using the custom properties that you can provide for your app ...


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

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



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