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.

learn more… | top users | synonyms

0
votes
0answers
3 views

App upgrade process gets stuck

Im trying to update an existing Sharepoint-hosted App to a new version. I uploaded the new app-file to the app catalog and then clicked Update on my App information. The text "We're updating your ...
0
votes
1answer
19 views

List and list item permission and security in Sharepoint hosted App

Having created a SharePoint Hosted App which allows users to add records to a list i noticed that the list is accessible via the URL if the user knows the name of the list. If you access the list in ...
0
votes
1answer
41 views

Sharepoint Hosted Permission (SP 2013)

I am developing a test REST app currently, the app is sharepoint hosted and is being developed and deployed to the SP site without Sharepoint installed on my Machine. The app is meant to take in a ...
0
votes
2answers
34 views

403 Forbidden when sharepoint hosted app tries to access OData service

So I've been developing my sharepoint hosted app using my developer account. This has been working great so far. Now before deploying my app I've been doing some tests, one of them is running them as ...
0
votes
1answer
23 views

Sharepoint Hosted App, Javascript and Permissions

I've deployed a sharepoint hosted app with custom javascript. When I access my devsite with administrator I can use my app. When accessing with another user the js-files aren't loaded in my apppart. ...
2
votes
1answer
55 views

X-RequestDigest in Modal Dialog (without masterpage)

I'm trying to post a REST query to SP.Utilities.Utility.Sendmail so I can send a mail from my sharepoint hosted app. For this I have the following function: function sendEmail(from, to, body, ...
0
votes
1answer
32 views

Add file to host web in SharePoint hosted app. Is it possible with Manage permissions?

I wonder is it possible to add a file from a SharePoint hosted App to host web without setting Full permission for the Web? function uploadFile(data) { var url = appUrl + ...
0
votes
0answers
62 views

Sharepoint-hosted app - Missing workflow history fields

When running a workflow for a SharePoint-hosted app, the workflow history items are written without any data in the List ID or Primary Item ID columns. I'm trying to link the workflow history list ...
4
votes
2answers
282 views

Get a users Name from their ID

As part of my Sharepoint hosted App i am using a list which contains a Person or Group. I am getting the ID of the person by using the following. var ApproverID = ...
1
vote
3answers
280 views

There is no trusted URLs configured for the app deployment on Client side People Picker

I've built and been using a Sharepoint hosted app which uses a Client side people picker which all worked correctly until today. No when using them I get the following error. There is no trusted ...
0
votes
0answers
15 views

Replicate the User availability Status using client code code

Having completed another Sharepoint hosted 2013 app i'm looking at ways to improve it and I've been looking for some example code around the User availability Status which you see in OTB lists ...
2
votes
0answers
35 views

User-hidden credentials for SharePoint-hosted / Auto-hosted App

I am experienced with developing SharePoint 2007 and 2010 solutions, and am working to get into SharePoint 2013 development. The requirement from our customer is that the App can only be deployed as ...
0
votes
1answer
88 views

Error in SharePoint hosted app: Add permission level to the list programmatically

I am trying to add permission to the list which I have created in my app. I am trying to give current user some permission to add update delete items from my list. I have used one article from MSDN ...
0
votes
1answer
34 views

Users with read rights are not able to insert data in my SharePoint hosted app's List

I have SharePoint hosted app. In that I have created an List and I am managing data of that list using a form which I have created in my app page. When I am inserting data with the user who has full ...
0
votes
1answer
30 views

Updating an Sharepoint 2013 app (sharepoint hosted)

I have developed an app and I'm trying to get my head round what happens in the update process. My app contains several lists some of which the user can update. If they then update their app with my ...
0
votes
0answers
28 views

Workflow creates another task on item update rather than update task

I have developed an SP2013 app which uses a workflow to assign task based on my main list. The task creation is working when i add the item. When I update that item it would seem another task is ...
1
vote
1answer
619 views

Get Related Item ID from a workflow task list

using JSOM i am displaying a list of a workflow task...in order to allow my users to approve the task i need to get the ID of the related item. I'm guessing this is going to be in the Related Item ...
1
vote
1answer
123 views

Apply theme to subsite from SharePoint hosted app + javascript

I have to make a SharePoint-hosted-app for creating subsites and applying a theme on created subsites programmatically. my app is installed on root site (site collection) and I want to change ...
0
votes
2answers
345 views

Display JSON results from REST API

I have the following code function execCrossDomainRequest() { var executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + "/_api/Web/GetUserById(9)", ...
0
votes
0answers
56 views

Save people picker info to list (client side)

I'm building a office 365 app so its all client side and I've implemented the people picker DIV method as discussed here, my people picker is part of a form which submits to a list but I'm not sure ...
1
vote
1answer
190 views

Intermitant - The property or field 'EffectiveBasePermissions' has not been initialized

Get getting this error on my SP2013 SharePoint Hosted app...randomly...I can just refresh the page and the error resolves itself. Anyone had this? Using developer tools the error seems to be ...
3
votes
2answers
122 views

Retrieve list items created by user based on login credentials

I'm developing a SP2013 office 365 app using the Sharepoint hosted option so working with JS. I'm allowing users to create new records in a list and also displaying that list of records that are ...
0
votes
0answers
78 views

Getting FileNotFoundException in sharepoint apps

i have created one Sharepoint hosted app using visual studio 2012, it build and published successfully. then i deploy .app file into developer site. .app file deployed successfully in my developer ...
0
votes
0answers
27 views

Can I add SP 2010 Workflows to lists in my SP 2013 App?

I have a Sharepoint-hosted app deployed to a site collection containing a custom list (contained within the app web). I open the app web list in my browser and from the ribbon I choose to create a ...
0
votes
1answer
55 views

Client Web Part for SharePoint Hosted App

G'day there, Just wondering if someone could advise on this for me? I have a simple sharepoint hosted app and all it is doing is performing simple CRUD operations on a list in the app. I want to ...
0
votes
2answers
79 views

Debug code in Napa ( Office 365 Online)

I have written a code to add an item in list in Office 365 using Napa. I have used client object model in the code. But the item doesnt get added in the list. Is there any way to debug the code in ...
0
votes
1answer
38 views

SharePoint hosted app, edit JS on the server

For me, one of the handy things about developing JS only apps is you can deploy the file to SP, get sneaky, open the js file from the file system and edit away, hitting save and refreshing the page. ...
0
votes
0answers
70 views

Sharepoint Hosted App with Custom List Forms

I'm developing a SharePoint Hosted App that deploys a custom list. I am trying to figure out what the best way to create custom New, Display and Edit Forms for that list are. Is there a way to create ...
0
votes
1answer
127 views

Sharepoint-hosted app: Access site columns belonging to host site

I have a sharepoint-hosted app containing a custom list. On the host site collection where I am deploying this app, there are several custom site columns. In my app, I want to access these site ...
0
votes
1answer
398 views

SPO - /_vti_bin/lists.asmx returns Error 500

I am currently developing a news scroller/ticker in SharePoint Online (Office 365) and am using the follow script to access a list: var emptyResults = "<li>No current ...
0
votes
1answer
265 views

How to utilize audience targeting with javascript?

Im creating a SharePoint-hosted app (restricted to use client side code only), and I want to retrieve documents from a library. Each document have a Target audience field. I want to, in javascript: ...
0
votes
1answer
66 views

SPFile.MoveTo in App?

What would be the easiest way in a SharePoint hosted app to move a list item to a different folder inside the same list? Something similar to server-side SPFile.MoveTo (which preserves ID -> workflows ...
2
votes
1answer
33 views

SharePoint 2013 hosted app custom pricing plan

Can you publish a free SharePoint hosted app to Marketplace that will offer some basic functionality and offer users to purchase a plan or a subscription kind of like if they want more functionality?
2
votes
1answer
947 views

Using custom WCF in SharePoint hosted App

I have been trying since a few days to call a custom made WCF service from a SharePoint Hosted App. I have read all over the information available on forums and I couldn't find a working solution. ...
0
votes
0answers
41 views

How do I insert a List that is defined in a SharePoint 2013 App into the hosting site?

I have a SharePoint 2013 app that is hosted on the Office 365 platform. In the app we have several lists defined. When I go to insert a web part for one of the lists defined in the app the lists are ...
0
votes
1answer
68 views

SharePoint Online takes hour to install the sharepoint hosted app

I am trying to write SharePoint hosted app and connecting to microsoft online Sharepoint portal (dev site). It takes more than an hour to install the app on the sharepoint after I press F5 in Visual ...
1
vote
1answer
83 views

sharepoint hosted app pages authorization

I have multiple pages in a SharePoint 2013 hosted app. I need to restrict access to some of the pages to certain group. what is the best practice to do this?
0
votes
1answer
96 views

Error using resource files in Sharepoint-Hosted app

I have set a couple of supported locales in my Sharepoint-Hosted app, and now I have a folder caled "Resources (Host Web)" in my app directory. These host files contain a key/value pair ...
0
votes
1answer
834 views

SharePoint Hosted App - Error when calling load on ClientContext for other sitecollection

im using JSOM. When calling the following code var ctx = SP.ClientContext.get_current(); var appContextSite = new SP.AppContextSite(ctx, hostweburl); var site = appContextSite.get_site(); ...
0
votes
1answer
357 views

Can a sharepoint hosted app get access to data in another site collection?

Can a sharepoint hosted app get access to data in another site collection? I'm getting a windows login dialog when accessing data in another site collection (other than the host webs site ...
0
votes
0answers
98 views

Upload Documents to document library with metadata columns from a sharepoint hosted app

I have a Sharepoint hosted page which is able to upload document to the document library. I have used this article to upload documents ...
6
votes
4answers
3k 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 ...