Tagged Questions
2
votes
1answer
31 views
How to get data from Sub Site in App?
I have created a web which is a sub web of the "Host Web"(In terms of App).
I want to get data from a list which is part of that sub web into my SharePoint hosted App.
How can I get it?
0
votes
1answer
9 views
Error occurred in deployment step 'Uninstall app for SharePoint': Only users who can View Pages can list Apps
I am Developing a Provider Hosted app for the SharePoint 2013. In that I am facing this error while deploying the App.
Error occurred in deployment step 'Uninstall app for SharePoint': Only users ...
0
votes
1answer
21 views
Error occured in deployment step 'install app for SharePoint': The System Account cannot perform this action. Deploying App - On-Premises Farm
Yes this question is the same as :
This question
How ever none of the proposed solutions work for me.
I've tried swapping the account in Central Admin (did not work)
I've created a new AD account, ...
1
vote
1answer
58 views
Default Sharepoint 2013 client-side people picker to current user
I'd like to be able to default the client side people picker for SharePoint 2013 to the current (or any) user.
I've read the "How to" MSDN document here:
...
0
votes
0answers
22 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 ...
1
vote
1answer
39 views
ODataContentTypeException : Content Type 'application/json;odata=verbose'
I'm trying to create items in a SharePoint lists through the SharePoint REST API in Javascript (with an AJAX call using jQuery), all that in a SharePoint2013-hosted App.
But I get this error when I ...
0
votes
0answers
26 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
...
2
votes
1answer
48 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 ...
0
votes
0answers
20 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 ...
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 ...
0
votes
0answers
23 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
1answer
27 views
Unable to get user profile images from AppWeb
When fetching user profile data using CSOM, we are able to get the PictureURL property. However, when we attempt to display it, we're given the generic 'Image Not Found' image.
Initial (brief) ...
0
votes
0answers
26 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 ...
1
vote
1answer
39 views
Can apps talk to each other?
I am reading a lot about apps, and I dont see the advantage if apps cant talk to each other.
In the normal sp 2010 farm solutions you create content types, lists definitions etc, and then you can ...
4
votes
1answer
119 views
Upgrading contentypes and lists in sharepoint 2013 apps
I am very familiar with the feature upgrade toolkit from Chris O Brien.
I also read that in Apps you can handle an Upgrade event or something, but yet, there are no examples about this.
The scenario ...
4
votes
2answers
76 views
Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?
I am new to SharePoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edition to create app and web parts for SharePoint 2013? Can ...
0
votes
1answer
62 views
Get current language via Client Object Model
I need to get the current display language of a web via Client Object Model (C#) from a provider-hosted App. The app runs inside a Client Web Part (IFrame). I am aware of this solution but think it is ...
0
votes
1answer
30 views
How can I create a List with predefined Id in SharePoint Apps?
I'm working on the Apps development for SharePoint 2013. I need a List for my app, so I can do it using visual studio. But I can't find any option to set up an Id for my List. Is it possible?
P.S. I ...
1
vote
0answers
67 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 ...
0
votes
0answers
7 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
29 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
2answers
90 views
SP2013 CSOM, am I missing something?
The CSOM samples from Microsoft.. the samples I find online.. blog posts and resources.. ALL seem to use CSOM from a C# app.
If the push is to write Apps and use a client-side model, why are there no ...
0
votes
1answer
65 views
Get Query string from inside app
I'd like to have access to sharepoint's query string from inside of my app. Since the app is hosted in an iframe, I tried just using window.top.location.search, but that gives me an error since the ...
0
votes
1answer
56 views
How to host SharePoint provider-hosted Apps using ASP.Net
I have created a SharePoint provider-hosted App from Visual Studio 2012 template. And now I want to move my Host Web to existing ASP.Net web site. What steps should I do to migrate VS template for ...
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
35 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 ...
1
vote
0answers
32 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
2answers
150 views
Callout Popup is not working in App Part
I have to display a popup as in SharePoint 2013 which is called Callout popup. for that I have to use callout.js file in my code.
I have tried it with Content Editor Web part and it is working fine ...
0
votes
1answer
20 views
SP2013 App icon not rendered, only App link is displayed + how we can set the sliding transparent hover text over App icon?
I am facing an App Icon related issue.
I am creating SharePoint Hosted App which I am deploying to SP 2013 Developer site.
By default any app will have the AppIcon set under Images folder. Also it is ...
1
vote
2answers
74 views
Sharepoint 2013 App upgrade issue
I met an annoying problem when I try to upgrade my new version app 1.0.0.1 to my SharePoint 2013 server.
The detail steps I did,
Create a development site in sp 2013.
Create a sharepoint-host app ...
1
vote
0answers
38 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 ...
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
2answers
297 views
how to install app in sharepoint 2013 Publishing site?
I am trying to create one App for sharepoint 2013 publishing site. I can not see Apps catalog from where I can upload an app to the publishing site.
On the other hand, if I see in developer site, I ...
0
votes
3answers
185 views
SharePoint-hosted app don't get my lists
I'm developing a SharePoint-hosted app for SharePoint 2013 (in Office365), but I've a problem accessing lists within a SharePoint-hosted app.
My code is well printing the lists, but it only show me ...
0
votes
1answer
98 views
SharePoint hosted App without configuring DNS
Hi I have a SharePoint Dev envrionment one single machine but I have no permissions to configure DNS, so DNS has not been configured and there is no app domain for apps. When I deploy my app from ...
1
vote
1answer
335 views
Using SharePoint 2013 TokenHelper class when there is no HttpContext.Current
SharePoint 2013 Apps in Visual Studio have a TokenHelper class that simplifies using OAuth to connect to a SharePoint 2013 ClientContext. I am using this class to remotely connect to a SharePoint ...
3
votes
2answers
938 views
SharePoint 2013 Call the REST API from SharePoint hosted app
I've successfully deployed a SharePoint hosted app to office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
0
votes
0answers
137 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
1answer
251 views
can not make autohosted app work
I have created a simple autohosted app, I chose a Office 365 Team Site when I created it in VS 2012. However it generates "The parameter 'token' cannot be a null or empty string" when I choose deploy ...
3
votes
1answer
47 views
How do I get the list of all apps installed in a SharePoint web application?
Is there a SharePoint API that would let me get a list of installed apps along with their hashes? I have some external web sites that are making REST calls to a SharePoint hosted app using cross ...
3
votes
0answers
50 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 ...
2
votes
3answers
427 views
Can't upload a non-text file to SharePoint App via REST API
I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item.
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<SharePoint:ScriptLink ...
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
1answer
382 views
Add new item to list in JavaScript
I have the following code in my SharePoint 2013 app, I'm getting no errors but the item is not being added, anyone spot anything eyes are square from looking!
function addListItem() {
this.web = ...
0
votes
1answer
87 views
Problems developing an App Part
I am developing an AppPart in Sharepoint 2013 and I am having problems when connecting to an external list. The following ways have been my attempts:
Accesing a external list with an app using the ...
2
votes
1answer
139 views
“500: Internal Server Error” when trying to add a simple text file as an attachment via SharePoint 2013 REST API
Using SharePoint 2013 REST API, I am trying to attach a simple text file to a list's item.
jQuery.ajax({
url: web.get_url() + ...
0
votes
1answer
157 views
Retrieve a list item based on People picker App
I have a list which contains an Employee column of a Type person or group. I have built a page which contains a people picker and nothing else.
When the user selects a user from the PeoplePicker, i ...
0
votes
0answers
36 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...
...
1
vote
2answers
214 views
Fire JS function when people picker completes
Is there a way to trigger a JS function when a People picker completes and finds a user? I'm developing a SharePoint 2013 app using client side development pattern.
Thanks for your suggestion Per, I ...
0
votes
1answer
74 views
deploy sample content in list from Visual studio includes people picker
I have the following default sample data in my list which deploay just fine.
<Row>
<Field Name="Holiday Balance (Days)">10</Field>
<Field Name="Holiday Balance ...


