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

1
vote
0answers
10 views

How can i add css reference to app parts which is rendered in iframe from the master page

I have been trying to apply the CSS to Office365 App parts, the reference of the CSS is included in the header section of master page(which must not be tenant specific). I tried several codes. One of ...
0
votes
1answer
49 views

HTTP 401 'Unauthorized' In SharePoint Hosted app

Can we use Cisco based Custom web service in SharePoint-hosted app on Office 365? My requirement is get items from Cisco based Custom web service and display items in SharePoint Environment (Office ...
1
vote
1answer
23 views

Read subsite list items through Sharepoint HostedApp

In SharePoint Hosted-App, I want to read specific list items from all subsites. I can get into subsites, but when I tried to read specific list items, I couldn't. My code: context = new ...
3
votes
2answers
76 views

Access Subsite list from root site using sharepoint hosted app

I've a SharePoint Hosted App and its deployed to Root site. Using that App, I need to read items of specific list from all sub sites of that root site. My current Code: var hostsuburl = "Subsite URL ...
1
vote
0answers
42 views

How to create context by using URL from list items?

I've a project main site and some sub sites of it. In the Main site I've list which contains URL of all sub sites. I need to create office app to retrieve the list items from all sub sites, do some ...
0
votes
1answer
20 views

App does not load in elements when deployed

I have a strange issue regarding SharePoint apps. I have installed my own Win Server 2013 R2, SQl for dev and SharePoint 2013 SP1 January 2016 CU. I am able to create and run custom solutions ...
0
votes
2answers
40 views

Why is SharePoint hosted App creating a wsp

New to Add-ins i am creating a SharePoint Hosted App in Visual Studio 2015. When i try to publish my app it creates the following structure in the Debug folder looks like this: DEBUG app.publish ...
0
votes
0answers
7 views

Create initial actions on App-Installation (SharePoint hosted)?

I want to offer a SP2013-AddIn that should do some action upon installation like creating SharePoint-Lists, displaying a wizard (where default configuration settings can be entered) and so on. Is ...
1
vote
0answers
17 views

Create custom site template with JSOM?

I understand that I can create subsites on the hostweb of O365 using JSOM and use custom site templates for that. One (out of many) examples for that can be found at Code Project Now my question is: ...
3
votes
2answers
53 views

Performance will be better using CSOM or REST API to retrieve data from 4 lists simultaneously.?

I am developing Sharepoint hosted app, and there is a situation where i need to get the data from 4 lists simultaneously, then use it later on. I am able to do it using CSOM. But performance wise what ...
0
votes
1answer
42 views

Sharepoint Hosted App - Get list Item using SPService call gives access denied why

I have created a SharePoint hosted App for Office 365 and am trying to get list items using SPService call but it is not working. There is an Access denied of Forbidden 404 error, why?
1
vote
1answer
36 views

Assembly does not support app authentication - Reputation.js

I'm trying to use the Reputation.js setLike method in a sharepoint hosted app/add-in which in theory is possible with the following snippet: var ctx = new SP.ClientContext(webAppUrl); ...
0
votes
0answers
21 views

Show dropdown for Client Web Part property

Is it possible to show a drop down list of values in a Client Web Part property (SharePoint hosted App for SPOnline)? I want to read values from somewhere else in site (say items from a list) and want ...
2
votes
0answers
35 views

Is cross-site lookup possible with a provider-hosted app?

I have following problem. I got two projects, one sharepoint-hosted app and another provider hosted app. Both contain a couple of lists. So far so good. Now I need the data from the sharepoint-hosted ...
2
votes
0answers
25 views

Filter Drop-down values based on logged user

I should create a drop down box to display hosted-app part, based on the selected value from drop down box. Also I need to filter the drop down values based on logged user. And this need to be done ...
0
votes
0answers
11 views

Each time app deployed, has the same ID

Everytime I am hitting F5 in visual studio community to deploy a hosted app, I am getting the same App ID: 3fc9cdc6e06366, so when am creating lists and library, then stop debugging and click F5 ...
4
votes
1answer
44 views

Office 365 addin not working on IE7, working on chrome, firefox and IE8

I have a hosted addin that we developed internally. it works on chrome, firefox and IE8+, but for some reasons, the infrastructure made the default rendering for IE to be 7. Is it a limitation in ...
0
votes
0answers
34 views

SPOnline: Adding related items from new List Form

Consider two lists: ListA and ListB with ListB having a lookup to ListA. So multiple items of ListB could be related to items of ListA. Using custom JavaScript (via an App) on the ListA item forms, I ...
1
vote
2answers
49 views

How to programmatically retrieve item version history from SharePoint hosted App?

I want to fetch Note Type field version history from SharePoint Hosted App page. I have tried GetVertinCollection() method /_vti_bin/lists.asmx but unable to fetch item field version history from ...
0
votes
1answer
387 views

Compare two int columns in a Sharepoint list

I´m doing a course catalog app for SharePoint. And I have a list called Courses. In that list I have two columns called: Seats and FreeSeats. When you make a new course the boss decide how many can ...
1
vote
2answers
50 views

Is it possible to retrieve lists with specific template?

Is it possible to retrieve lists with template "Custom List" and display it in a jqxListBox or div?
4
votes
0answers
84 views

Bundle SharePoint JavaScript files inside SharePoint hosted app

We have a SharePoint hosted app. This app require some scripts from SharePoint; MicrosoftAjax.js, init.js, sp.runtime.js, sp.js, sp.taxonomy.js and sp.workflowservices.js. We load all these from ...
0
votes
1answer
24 views

Getting the time difference format on the created column in a list

When extracting items in a custom list is it possible to extract the created column as the time difference format from the time uploaded such as this format '18 hours ago' etc., and if not therefore ...
0
votes
0answers
49 views

Quick launch in Sharepoint-hosted app

My Sharepoint-hosted app is using the oslo master page (~masterurl/oslo.master). My question is the following: is it possible the use the quick launch menu in a Sharepoint-hosted app in the same way ...
1
vote
0answers
22 views

In SharePoint App, What permission will be needed to bind taxonomy termstore to column of list?

I have SharePoint hosted app which creates list with Taxonomy Field. I want to bind term store to that column. I tried by editing that column and try to set "Term Set Settings", but that setting ...
0
votes
0answers
9 views

Can anonymous user access host site lists in SharePoint hosted app?

I am testing if my app works for anonymous user in SharePoint On-Premises. I followed this page to apply the settings. But there is an error when anonymous user visits the app (an App Part): There ...
1
vote
0answers
35 views

Page in SharePoint hosted app prompting for authentication from ClientWebPart

I have a problem with an .aspx page that I have deployed into the app web of a SharePoint hosted app. I have a SharePoint site hosted at http://contoso.com for example and have configured my dev ...
5
votes
0answers
93 views

SharePoint hosted app - valid app package always NO

While publishing a SharePoint hosted app file to the App catalog site it always shows Valid App Package: No And App Version is always 1.0.0.0. I changed the version in AppManifest.xml from ...
0
votes
1answer
24 views

SharePoint App Custom Web Part without the App?

Not sure if the title is clear, but what I want to achieve is deploy a Custom Web Part using SharePoint Hosted Apps to SharePoint Online. But I don't want the App to appear in "Site Contents". I ...
1
vote
2answers
44 views

Accessing a list from app web throws access denied

There is a Access Denied error being thrown when I try to access a list from the host web from the app web. The app has read access to the entire site collection. Why is it throwing this error? "use ...
2
votes
1answer
82 views

Build a SharePoint online app that can create new lists

I'm new to building apps for SharePoint in Office 365. I'm pretty new as a developer as well. I do know that Apps are now called Add-ins, but I'm using Visual Studio and the projects are still named ...
1
vote
1answer
73 views

sharepoint profile picture

Is there any possibility to change profile picture or uploading a new profile picture in SharePoint Online by using SharePoint hosted app, via JavaScript or jQuery? How do you solve it?
0
votes
1answer
34 views

Is it mandatory that we need to create “Developer Site” to deploy apps? Or can they be deployed on team site too?

I am working on sharepoint 2013 APPS. My question is can we deploy apps on a team site or some other site template. Or is that apps are specially designed for developer site only. Meaning, is that ...
0
votes
0answers
71 views

Sharepoint 2013 Hosted App. Access-Control-Allow-Origin - Access Denied

I am working with SharePoint 2013 and I developed some app parts to show information in our intranet. These app parts get data from WEB API using jQuery, It works fine in Chrome, Firefox, but in ...
0
votes
1answer
66 views

Working JSOM and Angular together for App Part

I currently have an app part built with REST and Angular. The issue I am having is that I'm getting Page Not Found errors from users with slower connections. I was told that JSOM would be considerably ...
0
votes
0answers
63 views

SharePoint Hosted App “access denied” when saving to App Web in the App Catalog (tenant-scoped App)

I have a SharePoint Hosted App/Add-In which when deployed/installed at Tenant Scope, where the App Web is located in the site collection of the App Catalog, I get the following error if the user is ...
0
votes
0answers
59 views

Using an iframe to view a PDF stored in a SharePoint Online document library

I'm developing a SharePoint Hosted app, I need to view document library files in my app using iframe html tag, I have a problem that files are not shown, I'm using this code to view files after ...
1
vote
0answers
23 views

CSOM API for installing /Upgrading SharePoint Hosted app from sharePoint Store/ App Catalog?

Is there any CSOM/JSOM API available for installing /Upgrading Sharepoint Hosted App from sharePoint Store/ App Catalog?
0
votes
1answer
40 views

Visual Studio Scripts folder not in Features

I have SharePoint hosted app in Visual Studio 2015 Professional and recently completed a git merge from other developer. After merge Scripts are no longer available online and the scripts folder is ...
2
votes
1answer
1k views

Get SharePoint list items from another site collection with JSOM

I am using JSOM to get the list contents of a list which is located in another site collection than my app. For example, my app is hosted here: portal.contoso.com/sites/myapp and the list is on top ...
4
votes
0answers
167 views

Not able to set jslink property for a field without FullControl permisson on web (sponline)

For my SharePoint Hosted App, I set the jslink property of the field for customized rendering (JSOM set_jsLink). This used to work without having FullControl permission on web earlier. However, now ...
0
votes
0answers
52 views

Multiple SharePoint Hosted app parts (apps) in one “.app” package - is it possible?

I am sure it can be done with provider hosted apps, but is it possible to have one ".app" package file for multiple SharePoint hosted apps? At the moment I have such setup: Solution 5~ SharePoint ...
0
votes
1answer
73 views

Non trivial examples of Sharepoint Hosted Apps

A very simple question: there are tons of trivial examples of SP2013 hosted apps online showing how you can get simple things running with just a little bit of JavaScript. One of the most elaborate ...
0
votes
1answer
72 views

Get List Items that contains spaces

I am creating a SharePoint 2013 hosted app and I have come across a problem. I am able to submit everything to my list including a text box that say for instance may contain "this is a test". However ...
3
votes
2answers
137 views

List item returns null JSOM

I'm new in developing sharepoint hosted apps, I need to return list items of list, it returns null. I've set permissions of list & web to full control. The following is app.js code var context = ...
0
votes
1answer
254 views

SharePoint Online Hosted App get List Items from within app

I have a Visual Studio 2013 solution and I have been successfully able to get list items from the host web using the following JavaScript code: var context = SP.ClientContext.get_current(); ...
0
votes
0answers
39 views

Upload a file in Host web using SharePoint Hosted App

I'm trying to upload a file into /_catalogs/masterpage of the root site using my app. But it seems that I'm unable to access anything outside of my appWeb. uploadFileToHostWebViaCSOM = function ...
0
votes
0answers
35 views

SharePoint hosted app submit multiple items to list

I am developing a SharePoint 2013 hosted app and I currently have a 'repeating' table that is being cloned each time a button is clicked. I currently have three tables which all submit to separate ...
0
votes
1answer
99 views

SharePoint Hosted App Navigation

I have created a SharePoint Hosted App in Visual Studio 2013 and I am struggling to find a way to navigate to a page. I currently want a button on the default.aspx page that will navigate to another ...
0
votes
0answers
28 views

Display SharePoint App's Version Number

I'm working on a SharePoint Hosted App that includes an App Part (or SharePoint Plugin, whatever they're calling it these days). Somewhere on the App Part, I thought it would be nice to display the ...