This tag is use for SharePoint 2013 apps Development
2
votes
1answer
47 views
Accessing another site collection from a SP2013 app
I have a SharePoint 2013 SharePoint Hosted app, and I've got some code that works swimmingly well when it's pointed to the host site collection. Part of the requirement is to have it point to a user ...
2
votes
1answer
51 views
Where to put my custom.xsl for my List View's XslLink?
I'm in the process of creating my first App for SharePoint 2013 and after following this tutorial (using Visual Studio 2012), I now wish to create a custom XSLT file and apply it to my ...
1
vote
1answer
40 views
SharePoint 2013 - “Package failed” error while creating the web parts in vs 2010
I am using SharePoint 2013 server and vs 2010. My SharePoint server present in different server and vs 2010 is another PC. I have created test web part using vs 2010 and build successfully. When I ...
1
vote
1answer
82 views
Local debugging provider-hosted apps
Environment:
SharePoint Server 2013 farm installed on my dev machine, configured for using apps
VS 2012 Update2 + Office Tools
When I start debugging any example (say, basic provider-hosted app ...
1
vote
1answer
406 views
Creating calendar view from list programmatically using Elements Module in Sharepoint 2013 apps
The following code is displaying my list...the baseview selected is the Calendar view i want but its displaying as a list. How to let SP know this should be displayed as a Calendar?
<View ...
3
votes
0answers
53 views
The remote event receiver callout failed
I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error
The remote event receiver callout failed
The HTTP request is ...
3
votes
0answers
133 views
Previous versions of ListItem with CSOM
When using Client-Side Object Model for SharePoint 2013, how can I access previous versions of List Item?
2
votes
0answers
14 views
Create an “app connection”
I writing an article about how to do something like web part connection with the app model of SharePoint 2013.
Have you an architecture model to do that?
Does a standard exist to do that?
My ideas ...
2
votes
0answers
16 views
Apps not available for user pages
our company just started using sharepoint 2013 (in office 365). We are trying to get an app to show up in the user personal pages. In this case it is about the app 'promoted links'.
When we login ...
1
vote
0answers
12 views
How to Get aggregated reports at web application level in sharepoint 2013
As we have different reports at sit and site collection level like audit and search related. How I can get reports at web application level. What if I need number of hits at site collection level and ...
1
vote
0answers
9 views
Design Package import SharePoint 2013 using App Installed event CSOM
In SP2013, I am trying to import and export the design package from one site to other site using AppInstalled event using CSOM.
I am not able to get the context of source site to import the design ...
1
vote
0answers
28 views
SharePoint 2013: Download non-text files using REST or JavaScript object model
I have been scratching my head the all thought day figuring out a way to download non-text files like images from host SharePoint web into a App web (SharePoint hosted app).
The code below allows me ...
1
vote
0answers
14 views
Search - will it index apps, iframes, for example for People Search?
Just to check. With the app model, does the indexer/crawler correctly index client-side generated data as well as looking in iframes?
The recommended way forward from MS seems to be to use those two ...
1
vote
0answers
40 views
Render a SharePoint 2013 list view on a remote web page
I'm developing a SharePoint 2013 provider hosted app.
It has a remote web and an aspx page [REMOTE WEB ASPX PAGE].
I would like to display a view of a list from the host web on the [REMOTE WEB ASPX ...
1
vote
0answers
73 views
How to get a client context for App in provider-hosted Apps?
I use a provider hosted Apps, so need to work with an App Web and Lists.
Could anybody provide a code snippet to get ClientContext() of the App?
Can I do something like this?
Uri appWeb = new ...
1
vote
0answers
69 views
How to create custom property which will not be lost after post back of custom control?
I have a custom control that inherits from PeopleEditor in my WebPart. In the custom control I have a custom property:
public string MyProperty
{
get
{
...
1
vote
0answers
73 views
SharePoint 2013 Auto-hosted App intermittent error — “There was a problem registering the app principal”
I am trying to handle the App events and I am getting one weird intermittent error related to app principal.
When I try to deploy the Auto-Hosted App from visual studio, Sometime I am getting the ...
1
vote
0answers
33 views
Using the SocialFeedManager object in remote event receiver
I'm trying to create a remote event receiver that will update the social feed of a user when ever he adds an item to a list on SharePoint Online. I've initiated the client context object using the ...
1
vote
0answers
40 views
How to access to a database deployed with an autohosted app?
I'm deploying an Autohosted App for SharePoint 2013 (Online).
In the web project of my autohosted app, there is a database which is thus deployed on the remote web (on windows azure) when my ...
1
vote
0answers
86 views
Securing SharePoint Autohosted Apps
I am creating an autohosted SharePoint app.
There are tons of really good articles out there that explains how to get started.
Unfortunately, I haven't find any article/tutorial yet which explains ...
1
vote
0answers
163 views
How to get current user in high-trust apps
I want to get current user in high-trust apps at sharepoint 2013 on-premises environment.
But each returned user are the same, how can i get the correct current user?
Here is my code:
public ...
1
vote
0answers
69 views
Unable to access the SP2013 App from IE but able to access from chrome
I've started working on SP2013 App development. When I'm deploying the app from VS2012, the App is successfully getting deployed. But after Trusting the app, it is showing "Internet cannot display the ...
0
votes
0answers
7 views
SharePoint 2013 AppPart “JavaScript runtime error: 'Type' is undefined in the sp.runtime.js”
I'm just starting with SharePoint 2013 dev. I've created a VM on my computer, it's running Windows Server 2013 and SharePoint 2013 Foundation.
I'm trying to create a App with a App part in it. On VS ...
0
votes
0answers
14 views
how to create workflow for provider hosted apps in visual studio ot sharepoint designer?
I want to create a Provider Hosted app. In that I will manipulate SharePoint list items.
I am adding items to a SharePoint List and for that I want to create a List Workflow to auto-generate the ...
0
votes
0answers
7 views
SharePoint 2013 OAuth Context Token not validating after publish
I have built an Auto-hosted App for SharePoint and during development it works really well.
I was able to send the SPAppToken to my PHP application, decode the context token, construct the ...
0
votes
0answers
12 views
Unable to find Namespace for SPWeb, SPUser or SPControl, Provider-Hosted App
Using a Provider Hosted Application for SharePoint 2013, I am unable to ue the following lines in my C# code to get the current user
SPWeb web = SPControl.GetContextWeb(this.Context);
SPUser sUser = ...
0
votes
0answers
16 views
How to restrict current logged in user from being displayed in SharePoint 2013 Client people picker from client side?
Hi i have implemented the client people picker using the javascript and the code give on
http://msdn.microsoft.com/en-us/library/jj713593.aspx
what im looking to do is to validate this field so ...
0
votes
0answers
15 views
Is it possible to use the AppModel to customize the SharePoint login page?
Is it possible to use the AppModel to customize the SharePoint login page?
I want to ensure that the user is actually logged into the SharePoint site, not just logged into an App that has its own ...
0
votes
0answers
24 views
Unable to explore SP2013 (O365) apis
Having just upgraded to SP2013 on O365 (Enterprise) I am keen to take advantage of the various REST endpoints to perform various CRUD operations.
However, I seem unable to drill down into the various ...
0
votes
0answers
29 views
Getting App install parameters?
How do I get the parameters set when installing the App to SharePoint 2013?
So, when the user has to give the app permissions (at install) to a certain list, how do I get the chosen list?
Thanks
...
0
votes
0answers
21 views
Custom secondary navigation control for SP2013 (O365)
I need to implement a list of sub-sites and pages for the current site. OOB controls don't seem to do the trick (unless we missed something), there's taxonomy APIs for querying structure but I ...
0
votes
0answers
25 views
Invalid tokens given by SP2013 to non-SP hosted apps? Invalid JWT token. The token is not yet valid
When creating an autohosted app (running locally for debugging), I get this:
Invalid JWT token. The token is not yet valid. Current time is 16/04/2013 21:47:25 and the token is Valid from 16/04/2013 ...
0
votes
0answers
28 views
How to set Navigational properties through App event receiver in SP2013
I am trying to set the navigational properties in SP2013 autohosted app. I am doing this at App installed receiver. I have written below code for that, which is failing with error message:
- The ...
0
votes
0answers
21 views
Sharepoint 2010 Unable to Load Namespaces from Microsoft.office.Server.Search Assembly
I am having a PreCompiled Web Service in .Net 3.5 and Sharepoint 2010.
I installed SharePoint 2010 in Windows Server 2008.
I added the Assembly reference in .config file like this
<add ...
0
votes
0answers
8 views
A problem with a website's security certificate for Apps
How can I fix a problem with my certificate for SharePoint Apps?
I receive an error "Mismatched Address" for every app that I deploy.
The url looks like ...
0
votes
0answers
37 views
Search is not working after migrating Moss 2007 to Sharepoint 2010
I have done a migration from Moss 2007 to Sharepoint 2010. After upgrading the Sharepoint site search does not works.
Note: Sharepoint 2010 is installed in windows server 2008 R2 machince.
0
votes
0answers
29 views
Get Property Value from Standard App Part Sections
I know that I can define custom App Part Properties through the Elements.xml óf the App Web Part.
<Property Name="ListName" DefaultValue="Movies" Type="string" WebDisplayName="List Name:" ...
0
votes
0answers
54 views
Custom grid to edit items, SharePoint 2013
I've got a list that contains information about a project.
This list has information about: "Start date", "End date", and "Members".
I then have a list that will contain information about how many ...
0
votes
0answers
31 views
What is a good Mobile Access Approach for SharePoint 2013?
Sharepoint Enablement on Mobile Devices is one problem area which is encountered often. How can we enable the following SharePoint features on different devices.
Portal ( ConteporaryView,....)
...
0
votes
0answers
33 views
Too many automatic redirections in SharePoint provider-hosted App
I have an exception with the message "Too many automatic redirections were attempted." in my SharePoint provider-hosted App. This exception has been occurred in the following code:
using (var ...
0
votes
0answers
38 views
SharePoint Hosted App - SP.WebRequestInfo
I wanted to invoke a Simple WCF Service that is hosted in my local using SP.WebRequestInfo class in my SharePoint Hosted app. I was able to get it working without an parameter but as soon as I add ...
0
votes
0answers
19 views
Simple method of displaying an editable list to a user using non-standard views
The title might seem a bit misleading, but the question is basically this:
We have a requirement to display a simple list of Do's and Don'ts to visitors on multiple pages. The specification is asking ...
0
votes
0answers
16 views
SP 2013 - App handling events
I have developed a Sharepoint-Hosted App in SP 2013.
I am trying to write the App related events which handles the below events:
• Handle App Installed
• Handle App Uninstalling
• Handle App ...
0
votes
0answers
40 views
Can I use the People Picker in a MVC 4 provider-hosted app?
I'm building a custom app that exists almost entirely outside of sharepoint, but I'd like to be able to use the people picker. Is that possible? I'm seeing some rumblings that sharepoint controls ...
0
votes
0answers
47 views
The 'Scope' attribute is invalid - The value 'Site' is invalid according to its datatype
After setting the value Site to the attribute Scope of a Feature on a Sharepoint 2013 application I started receiving the following error, deploying to Sharepoint Online:
Error occurred in deployment ...
0
votes
0answers
71 views
migrating 2010 .wsp to 2013 via sharepoint app?
I'm trying to create SharePoint 365 application for analytic purpose. the solution needed to register to every loaded page on the SharePoint sites. I have an already working solution that does it on ...
0
votes
0answers
142 views
current user is always is administrator on a SharePoint App
I have tried following solution to check the current user's permissions on the current host web in a SharePoint hosted app, however the user is always administrator.
function sharePointReady() {
...
0
votes
0answers
64 views
App tokens - and url with # hashtag
I have an app that i want to call like this:
~appWebUrl/Pages/index.html#?{StandardTokens}
As you can see, i have an # hashtag in my url.
Now the problem:
The {StandardTokens} do no get added to my ...
0
votes
0answers
37 views
Get Firstname and Surname from people picker results
I've managed to get my people picker up and running and bringing back all the selected user info using GetAllUserInfo(), however i want to pick out certain items within all that user info...namely...
...
0
votes
0answers
116 views
Remove check boxes from programmatically added webpart in SharePoint 2013 app
I'm adding a webpart programitcally through the elements xml document as follows:
<Module Name="DefaultHomePage" Url="Pages" Path="Pages">
<File Path="Home.aspx" Url="Home.aspx" ...


