Skip to main content

Questions tagged [sharepoint-hosted-app]

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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
338 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 ...
Christopher's user avatar
2 votes
1 answer
585 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 ...
spex5's user avatar
  • 808
1 vote
1 answer
293 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?
Melad Batta's user avatar
  • 1,011
0 votes
1 answer
404 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 ...
Niranjan Kulkarni's user avatar
2 votes
0 answers
373 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 ...
Rafael RLD's user avatar
0 votes
1 answer
676 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 ...
Christopher's user avatar
1 vote
0 answers
79 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?
Ashish Kumar Baranwal's user avatar
0 votes
1 answer
127 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 ...
Robert Wilde's user avatar
3 votes
1 answer
11k 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 ...
Philipp Eger's user avatar
10 votes
1 answer
511 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 ...
Prakash's user avatar
  • 666
0 votes
1 answer
1k 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 ...
Kris's user avatar
  • 103
0 votes
1 answer
781 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 ...
Adam13Hylo's user avatar
3 votes
2 answers
670 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 = ...
eman's user avatar
  • 31
0 votes
2 answers
3k 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(); ...
Adam13Hylo's user avatar
0 votes
0 answers
130 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 ...
Adam13Hylo's user avatar
0 votes
1 answer
412 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 ...
Adam13Hylo's user avatar
3 votes
0 answers
197 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 ...
WCHolland's user avatar
  • 305
1 vote
2 answers
1k views

Get ID after inserting Item into SharePoint 2013 Host Web List

I am currently creating a SharePoint 2013 hosted app on Office 365 and I currently have some JavaScript that inserts item into a host web list. I wondering if it is possible to get the ID of the item ...
Adam13Hylo's user avatar
1 vote
1 answer
983 views

How to populate people picker in sharepoint hosted app

I have a textbox where I need to bind it with Active Directory.I am using SharePoint hosted app and client web part.How to do it? Thanks in Advance
sherin's user avatar
  • 159
1 vote
0 answers
653 views

How to Check if a Sharepoint user is in a security group no matter if this is in a AD group CSOM Javacript

I have a Sharepoint hosted app and I need to check if the current user is in a sharepoint security group no matter if this is in a AD inside the group, the following code check if the user is in the ...
Sebastián A's user avatar
0 votes
2 answers
808 views

High trust provider hosted app vs SharePoint hosted app

We know that we can create both SharePoint hosted app and high trust provider hosted app in on-prem i.e. non-cloud environment. But in which scenario we should for high trust provider hosted app and ...
user17251's user avatar
  • 380
1 vote
1 answer
396 views

Language of app web is not taken from the user settings

I am currently developing a multi-language SharePoint hosted app and I am experiencing an issue that the app web is not taking the user's language settings. It looks like the app web always takes the ...
Carl in 't Veld's user avatar
2 votes
1 answer
1k views

How To Create a Picture Library in SharePoint Online(office 365) Using CSOM-JavaScript?

Currently I have created SharePoint Hosted App (Picture Slider) using Napa Office 365 Development tool. So far, I have created picture Library Manually, and now trying to create Picture Library using ...
Akshay Dattatray Nangare's user avatar
0 votes
1 answer
384 views

Not able to get List in office 365

Currently trying to Create a basic SharePoint-hosted app for SharePoint by using Napa Office 365 Development Tools While reading Items From list getting error Created User Custom List on https://xyz....
Akshay Dattatray Nangare's user avatar
0 votes
1 answer
453 views

unable to get Image Slider Picture Library using CSOM

Facing Error Unable to Get List,Please Help Me currently tying to create SharePoint Hosted App(Image Slide) on my AppDev Site https://akki.sharepoint.com/sites/appdev I have Created Picture Library ...
Akshay Dattatray Nangare's user avatar
0 votes
2 answers
512 views

How to create (SharePoint Hosted-App) image slider apps for SharePoint online?

i'm new in SharePoint Online Currently trying to create (SharePoint Hosted-App) Image Slider App for SharePoint Online(office 365) please Suggest Some Artical or Some Information How To create Image ...
Akshay Dattatray Nangare's user avatar
1 vote
1 answer
200 views

List instance with default url

I am currently working with sharepoint hosted apps. Each app has a List, which i create from visual studio. The client needs some default rows for each list. In some cases a row may have an image. ...
StyleSlash's user avatar
0 votes
0 answers
310 views

Open SharePoint app in SharePoint Designer

I'm developing a SharePoint Hosted app and want to access its contents from SharePoint Designer so I can edit the pages and javascript files without having to deploy the app for every change I made to ...
erickalves05's user avatar
0 votes
2 answers
203 views

Get current view in Sharepoint Hosted app

I am developing a Ribbon action sharepoint hosted app where user selects any number of items and clicks the ribbon action to Print the list items. In the SharePoint hosted app page I want to retrieve ...
Vipul Kelkar's user avatar
  • 1,534
1 vote
1 answer
95 views

Increase reponse size limit in sharepoint cross-domain library

As mentioned here, the response-size expected shouldn't be more than 200 kb when using the cross-domain library with web proxy. Is it possible to increase this limit? I am trying to build a ...
eeishaan's user avatar
  • 111
0 votes
2 answers
263 views

Localizing Ribbon Custom Action

I am localizing a SharePoint Hosted App and successfully applied localization to custom list but localizing following two elements seems to be not working: Ribbon Custom Action Menu Item Custom ...
haroonattari's user avatar
0 votes
1 answer
199 views

Is it possible to write from Client App Part to a list in its Appweb?

Didn´t find any information at google or at stackexchange for this topic. I wrote a sharepoint hosted app, which has a list. In default.aspx I get data from that list via Rest and have form to create ...
dreharry's user avatar
0 votes
1 answer
221 views

Get all users from sharepoint site using client side code(SP-App)

I want to get all users in all groups from my Sharepoint-Site, is this possible? if so, how do I do this?
Dr Cox's user avatar
  • 445
1 vote
1 answer
7k views

Getting displayed month as an integer from fullcalendar

I wanted to fetch the current displayed month from fullcalendar with the following code: function GetCurrentViewedMonth() { var date = $('#myCalendar').fullCalendar('getDate'); var ...
gunu's user avatar
  • 75
0 votes
1 answer
148 views

How can I set different event color that are fetched from SharePoint list?

I'm developing sharepoint hosted app that can fetch events from sharepoint list and put on fullcalendar monthly view. I have suceeded to fetch the events but all calendar events have the default color(...
gunu's user avatar
  • 75
0 votes
1 answer
243 views

Get User Password property

How to get User Password property to make Log in the applikation in javascript in SharePoint hosted app. I tried to write user.password but i coudent find it. Please help.
Sinan Kachachi's user avatar
3 votes
1 answer
1k views

System.UnauthorizedAccessException when accessing list with JSOM

I try to get items from a list with JSOM. But I get a System.UnauthorizedAccessException with error code 2147024891. If I navigate and authenticate to the site with a browser I am able to access the ...
Philipp Eger's user avatar
6 votes
2 answers
342 views

Full-trust SharePoint hosted app licensing

As we know, Apps for SharePoint that request full-control permissions are not accepted in the Office Store. So, how to implement licensing management and validation then? Especially for SharePoint ...
Serhiy's user avatar
  • 379
0 votes
2 answers
2k views

The success callback of querySP.ClientContext.executeQueryAsync method

I have a SharePoint 2013 hosted app and use CSOM queries to create multiple list items. My question is related to the parameters of the callback method. After executing my query using clientContext....
user27227's user avatar
2 votes
2 answers
10k views

"This content cannot be displayed in a frame" - SharePoint 2013 Deployment

I have developed a SharePoint-Hosted app which opens a new modal dialog in a list. On SharePoint Online it works without problems, but if I deploy the app on a SharePoint 2013 On-Premise system I get ...
Philipp Eger's user avatar
0 votes
1 answer
2k views

Get image from SharePoint by URL

I try to get an Image from SharePoint by using JavaScript code. I have the complete URL of the image which is stored in a SharePoint Assets Library. My app is SharePoint hosted. This code does not ...
Philipp Eger's user avatar
3 votes
1 answer
386 views

Uninstall event at SharePoint Hosted App

I have a office365/SharePoint Online App (SharePoint Hosted App) that when installed into SharePoint Online, it will provision some static files (css/js) and custom actions into the SharePoint host ...
Jamal Madani's user avatar
0 votes
1 answer
868 views

SharePoint Foundation 2013 HTML file issue related to Articulate Storyline

I use Articulate Storyline to develop eLearning and I publish the project to SharePoint. A published Articulate Storyline project includes hundreds of files; traditionally, the key was to post a link ...
Nadia's user avatar
  • 1
1 vote
1 answer
2k views

Page cannot be displayed message for SP App when deployed using App Catalog

I am trying to deploy a SharePoint Hosted App on my development machine by packaging it and uploading in app catalog. When the app is deployed directly using visual studio,it works fine. But when I ...
Thomas Mathew's user avatar
2 votes
0 answers
90 views

ADFS error in SharePoint Hosted App on On-Premise SharePoint

I have developed a SharePoint Hosted App for a customer. For development I used SharePoint Online, the customer system is an on-premise SharePoint 2013. Now I deployed the .app-file on the customers ...
Philipp Eger's user avatar
0 votes
1 answer
3k views

Upload new image in asset library in SharePoint Online

I am developing a SharePoint Hosted app for SharePoint Online. Now I wondered if there is a way to upload a new image file to the central asset library. I found several code snippets for C#, but my ...
Philipp Eger's user avatar
5 votes
2 answers
15k views

SP.UI.ModalDialog undefined - Close SharePoint Modal dialog with javascript

I have created a modal dialog in SharePoint with the elements.xml. I use a SharePoint Hosted app. This is my CustomAction Definition: <CustomAction Id="2c2b7036-4582-4238-8205-b348628c0ed9....
Philipp Eger's user avatar
1 vote
1 answer
307 views

Disabled custom action tooltip

Some custom actions in SharePoint display an additional message with possible reason of the action being disabled. Is there a simple way of adding such a message only when the action is disabled (for ...
Szab's user avatar
  • 198
0 votes
1 answer
143 views

Redirect to SharePoint Hosted app when user lands on Site collection

Is it possible to redirect user directly to SharePoint hosted app when he enters to the site collection? Currently user have to click on the app to navigate to SharePoint hosted app and I would like ...
user12345's user avatar
  • 333
0 votes
0 answers
889 views

Error adding app to an internal SharePoint 2013 site

I have created an app using VS2013's convert to SharePoint feature. I have tried adding the app in two ways namely Provider hosted and SharePoint hosted, both of which return an error. I want the app ...
Keiron's user avatar
  • 41

1
5
6
7 8 9