Hot answers tagged sharepoint-apps
6
I would recommend these links
Setup the development environment in SharePoint 2013 : http://msdn.microsoft.com/en-us/library/ee554869.aspx
Develop in SharePoint 2013 : http://msdn.microsoft.com/en-us/library/jj163085.aspx
How to create a basic SharePoint hosted App : http://msdn.microsoft.com/en-us/library/fp142379.aspx
First Time Configuration For Apps : ...
6
In an app:
all the SharePoint artifacts you create (lists, pages, files) are located in a special sub site only for that app.
all the code runs outside the SharePoint servers, can be client site, other servers or Azure
for the code to access items in the original site/site collection, the app have to specify that in it's manifest and the installing user ...
4
Microsoft tries to make SharePoint understandable for all users.
So SharePoint is simplified into three concepts:
People, All the social stuff and permissions
Themes, The look and feel, branding
Apps, Everything else
The apps you create don't get the same integration into the "Host Web" as list/document libraries, but that's in fact to keep things ...
3
Well you can do it ,but you will need to write all your code, and create the structure for the webparts yourself.
If you use Professional or Ultimate you will have access to the SharePoint templates that will greatly improve your developing experience when for example creating apps.
If you want to use Express you would need to reference the ...
3
Set the Permissions on User Profiles = Read as mentioned in Rob's Answer and then the following code should work. We don't need to use request executor as we are not making a cross domain call here.
$.ajax({
url:"http://<app web url>/_api/SP.UserProfiles.PeopleManager/GetMyProperties",
headers:{ Accept:"application/json;odata=verbose" },
...
3
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 ...
2
In terms of where and how your app is ultimately deployed, there is actually no difference between pressing F5 in Visual Studio and installing the app from the App Catalog.
When you press F5 in your Visual Studio App for SharePoint project, Visual Studio will open your browser to one of the following URLs:
http://[host web URL]/_layouts/15/viewlsts.aspx ...
2
As rjcup3 said you can run the apps in Sharepoint foundation 2013.
and also please check on how to configure the app domain for SharePoint server 2013.
and how to develop the app in SharePoint server 2013 RTM.
2
The message could come from the fact that you are doing a "High-Trust" SharePoint App, which requires also configuring Certificates. I would suggest you really folow to the letter these 2 posts, and also try to create a simple SharePoint Hosted, to make sure it works.
http://msdn.microsoft.com/en-us/library/fp179923.aspx
...
2
Yes You can develop and purchase or download apps for SharePoint Foundation 2013.
There is a service application named as App Management Service which lets you install apps from the Internal Catalog or the Public SharePoint Store.
Here's the very detailed list of features for SharePoint Foundation 2013 and SharePoint Server 2013.
2
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" ...
2
I was able to add a file with SP.RequestExecutor
<%-- _lcid="1033" _version="15.0.4128" _dal="1" --%>
<%-- _LocalBinding --%>
<%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" ...
2
Actually, you would need to create what is either a Provider hoster (e.g. handle hosting for your ASP.NET Web Site) or "Auto-hosted" SharePoint App (automatically deployed to Azure - new or existing Web).
The major difference is that SharePoint hosted, practically means having the HOST Web, surfacing information from an automatically created sub-site in ...
2
You can get a subscription of SharePoint Online and deploy and debug your applications directly in the cloud. See here for more details:
http://msdn.microsoft.com/library/office/apps/fp179924(v=office.15)
Also, you can directly deploy your SharePoint Hosted App to the Office 365 Developer Site from Visual Studio 2012.
2
Yes it is possible. (based on readings, I never done it myself)
You will need to create WCF web services and then use them as external content in your BCS to create an external list in your SharePoint environment (which I assume is SP 2010).
Or you can utilize StreamAccessor as explained in article below,
Accessing BLOB Data from External Systems Using ...
2
There are different types of apps and where they are stored is based on there type.
Check this figure out,
Source - 1
If an app contains SharePoint components, those components are stored
in a subweb of the site that is automatically created when you install
the app. Apps have their own, isolated URLs, which are separate from
the URL for the ...
2
No they can not "talk" to other apps. Every app instance lives in a seperate app web and does not have access to any other app webs.
Multiple instances of the same app though, can share data if they are deployed from the Central Administration to multiple webs, but that means that all the instances shares the same lists and other SharePoint artifacts.
...
2
If the app i SharePoint hosted, witch it has to be for you to be able to use SharePoint artifacts like lists, I guess the only thing you would need to do is to check that the App Catalog Site Collection is in scope for the search. (Though since Sharepoint will think of the App Catalog Site Collection as a subdomain there could really be some trouble here)
...
2
Does it help if you set the ContentType parameter of your post like:
$.ajax({
url: _spPageContextInfo.webServerRelativeUrl +
"/_api/web/lists/getByTitle('Eleves')/items",
type: "POST",
contentType : "application/json;odata=verbose",
data: JSON.stringify(
{
...
1
You need to retract or uninstall app, Simply stopping debugging won't going to retract or uninstall the app automatically.
If you tried to retract and uninstall app and got error then,
You need to change the ProductID in the appmanifest.xml file to
something else. This will deploy another app with the same name.
I guess this is a known issue and ...
1
The simple answer would have been:
1. SharePoint Hosted App - a subweb of the site that is automatically created when you install the app (the ugly URL using wildcard Site Collections)
2. Auto-Hosted Apps - in Azure Webs
3. Provider-Hosted - depends on the Provider setup - usually on other servers outside SharePoint.
Re-deploying the App would actually ...
1
dont listen to Luis, well most of it ;) ,
wspbuilder is brill for 2003 and 2007! for 2010 make sure you have the correct version!
you need WSPBuilder Extensions 2010 BETA 1.4 which is at the bottom!
http://wspbuilder.codeplex.com/releases/view/30858
also, your using 2013 which is different to 2010 but you could give it ago! things have changed from 2010 ...
1
DROP WSPBuilder, not a good thing, you need to do the webparts with visual studio, thats it. It will create all the files for you, also you have to create a Feature that deploys the webpart.
WSPBuilder is WAY OOOOOOOOOLD!, Avoid it
Last Update was on May 9th 2009
https://wspbuilder.codeplex.com/
The descriptions says:
A SharePoint Solution Package (WSP) ...
1
It isn't possible if the list is in the app package because the ID is
generated during publishing.
So, the only way is to first get the list by title and then get the ID of this list.
Otherwise, I don't think you can get the ID without first getting the list by title because the ID is generated when your app containing the list is published.
1
step by step guide:
In this walkthrough we will demonstrate how to integrate DB2 database
with Microsoft SharePoint 2010 through ODBC and display DB2 data on
SharePoint 2010 page. In order to do that we will describe how to
create a new external content type by means of BCS Meta Man.
1.Prerequisites:
1.Microsoft SharePoint Server 2010
...
1
Confirm these points before running CAML query,
-> Are you calling GetListByName function after loading SP.js? If not use this statement to call your function after SP.js was loaded.
ExecuteOrDelayUntilScriptLoaded(yourfunction, "SP.js");
-> Are you passing username as full name?
For eg: If username is Arun Balaji, you should pass whole name as it is. ...
1
You should be able to use client side PeoplePicker (see here) that will give data of the selected user. You can use that data to query for the items on the People list.
As Client Side PeoplePicker won't return user ID; you need to do additional query to hidden User Information List to get the site collection specific user ID, see here. You should be able ...
1
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
1
Yes, it should be possible provided that you followed all the steps to configure the "App Development " environment, see Mirjam's tips about configuring it http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx, and additionally you would need a site collection using the Developer site template to be able to ...
1
What kinds of things would you be looking to do in a feature receiver for a SharePoint-hosted app? The app installation process handles deploying all the necessary resources (such as HTML/CSS/JS assets, site column/content type definitions, etc.) to the app web.
In terms of event receivers, you can create "Remote Event Receivers" in apps for ...
Only top voted, non community-wiki answers of a minimum length are eligible





