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
9 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 ...
0
votes
0answers
23 views

File Upload to SharePoint Documents Library Failed

I have a requirement in a SharePoint Hosted App to upload file to SharePoint Documents Library but the request to upload file is getting failed with following error: Status Code: 403 ...
0
votes
0answers
16 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 ...
0
votes
1answer
23 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?
0
votes
1answer
32 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
25 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.
2
votes
1answer
33 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 ...
1
vote
0answers
19 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 ...
0
votes
0answers
7 views

Workflow in SharePoint Hosted App

I'm having a requirement that when the user create a new item, the task will be created for the respective user. Suppose the item is edited again and new task should be created again and old task for ...
0
votes
0answers
34 views

JSOM Office 365 upload Page Layouts to master page gallery

How to upload a page layout from Visual Studio to Master page gallery using a Sharepoint hosted app?
0
votes
2answers
38 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 ...
0
votes
1answer
24 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 ...
2
votes
1answer
25 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 ...
0
votes
0answers
22 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 ...
2
votes
0answers
23 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 ...
0
votes
1answer
31 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 ...
2
votes
1answer
68 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 ...
1
vote
1answer
32 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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
37 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 ...
1
vote
1answer
46 views

How do I get the names of users when retrieving the list of tasks?

In a SharePoint Hosted App, with the following code, I can retrieve the list of tasks, every task containing, among others, the identifiers AssignedToId (an array of integers): ...
0
votes
0answers
98 views

Change AllowedRemoteHostUrl after the app is installed

I use a SharePoint-hosted app to allow a 3rd party html site make REST calls into my SharePoint library using requestExecutor.js. That works fine in my test environment, but deployment to other ...
1
vote
1answer
14 views

Getting “There is no trusted URLs configured for the app deployment” when making a REST call into an app from an html page in a different server

Here's the setup: SharePoint on premises: http://sharepoint-site.com A 3rd party web site (just an html page, no sharepoint: http://web-site.com/test.html) needs to make a call into sharepoint to ...
1
vote
2answers
38 views

How to effectively demonstrate sharepoint skills?

If I was to signup with office 365 and their hosted sharepoint server, would I be able to create a sample project that could demonstrate to a potential employer that I have the skills? i.e. I ...
0
votes
1answer
19 views

Is it possible to update a VS deployed app without changing app's URL?

I'm building a SharePoint hosted app which for now I'm deploying from VS. Every time I redeploy the changes, it completely reinstalls the app also changing its URL (the unique identifier part of it) ...
0
votes
0answers
49 views

Cannot query SP.UserProfiles.PeopleManager from the App Web via REST

I'm testing REST results in the browser with mixed results. The following URL returns the expected result: ...
0
votes
1answer
30 views

Executing JavaScript when item is being saved

I have my custom EditForm created in my SharePoint-hosted app and I need to save some values to the item property bag when the user clicks "Save" button. Is there any way to modify the default saving ...
0
votes
1answer
51 views

How to Upload the files into the SiteAssets Library by SharePoint Hosted App Model

I want to upload the Jquery and supported files in to the Site Asset library by SharePoint Hosted Apps, I have create a SharePoint Hosted App, added the files in the Modules <Module ...
1
vote
3answers
129 views

How to get a old version of list item?

I need to get all field values of an specific version. It is possible by sharepoint hosted app (javascript)? I need to create a custom version history page of itens. If there is a caml query ...
0
votes
1answer
64 views

2013 Sharepoint-Hosted App Masterpage Provisioning Problem

Here is the JavaScript I'm currently using to set my Masterpage as the default Masterpage within my site. I'm running into a problem where I receive the onQuerySucceeded message after deploying the ...
5
votes
1answer
213 views

Add item to SharePoint Online Library - strange Access Denied exception

I have created a very simple SharePoint Online App. It has a manifest and a website. There is a simple script on a Default aspx. It is trying to deploy the file to a Library and getting "Access ...
3
votes
2answers
187 views

Office 365: Publish and deploy .app through PowerShell

Can we deploy a SharePoint hosted app in Office 365 (SharePoint online) using PowerShell? Like in SharePoint 2013 apps, we will import the .app file and then install it. Can this be done in Office ...
1
vote
4answers
318 views

How to get appWebUrl and hostUrl when getQueryStringParameter fails?

I have a sharepoint app with multiple .aspx pages. On different pages I push and pull from sharepoint lists and I would like to send emails. These require me knowing hostUrl and appWebUrl. I would ...
0
votes
1answer
23 views

Adding client part giving - Working on it

i added client web part to host site, it's the out of the box sharepoint hosted app that comes by default with visual studio 2013. when adding the app part to my web page, it gives me (working on ...
0
votes
1answer
30 views

Localized list views in SharePoint-hosted Apps

I was trying to localize my SharePoint app and I encountered a bit of a problem. I created a feature resx file, added all the names to it and replaced my static names with ...
0
votes
1answer
40 views

Displaying quicklaunch in SharePoint-Hosted apps

I wanted to create a SharePoint-Hosted app with custom navigation bar on the left side (like Quicklaunch). As far as I read, one way to do it effectively is to create a custom masterpage with the ...
0
votes
0answers
13 views

X-Frame-Options Issue with different farms

I am developing an on premise sharepoint hosted app which among other things creates a custom ribbon action that opens a dialog page where a javascript code is executed. In my test environment and ...
0
votes
1answer
20 views

SharePoint hosted app, any user should be able to install

I've created a SharePoint-hosted app, and I want not only Site collection admins to be able to install the app, but also members etc (not visitors). Is this even possible?
0
votes
1answer
30 views

need to update the item in the list

I have a list called revision. It has a columns called wbscode and revisionnumber. Wbscode contains code of the project(eg.pcode1) and revisionnumber is to store revision number done for the pcode. ...
0
votes
0answers
71 views

Get Item from content type using Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context) and display data in app part

How can I get a list item using Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context) instead of a list query. I want to use the content type and not depend on the list to get the items.
1
vote
0answers
45 views

ItemAdding event firing, but nothing is happening. SharePoint Hosted App

I'm trying to learn remote event receivers and I'm having issue getting any results from the event. The event is an ItemAdding event on an announcement list. Public Function ProcessEvent(ByVal ...
0
votes
2answers
39 views

How to add ads in SharePoint hosted app?

How can we add ads (eg Google adsense) to SharePoint hosted app ?
1
vote
0answers
164 views

Problems making REST POST requests to SP-Hosted App with Postman

I am facing problems when making REST calls of type POST to my Sharepoint Hosted app with Postman in Chrome. GET type calls work fine. For example, I want to make the following call on my app to get ...
3
votes
1answer
64 views

Get all users in Office 365 and their permissions in Sharepoint hosted app

How to get all users of office 365 and their permissions in SharePoint hosted app and is it even possible ? I want to get everyone's permissions and display content based on permissions of current ...
2
votes
1answer
163 views

Any way to Install an (inline Host Page) Sandbox Solution Web Part via an SPO Hosted App?

Our understanding is that: SPO Hosted Apps only support client side code (no server side code) All webparts produced by SPO Hosted o365 apps always install as iframes under the app host domain It ...
0
votes
2answers
42 views

Sharepoint hosted app - create a content type in host web

From a SharePoint hosted app, I want to add a list and a content type to host web - not app web. Please tell me how can I do so, I looked at several resources - none say anything about content type?
0
votes
3answers
94 views

SharePoint Hosted App show profile picture of the logged in user

I have created SharePoint Hosted App. I am loading current user profile data from user profile service. When loading the image using PictureURL property image loading fail. Tried directly using the ...
1
vote
0answers
30 views

Handle individual permissions for users in SharePoint hosted app

How can developer handle individual's permissions on SharePoint hosted app? Let's says we have a document library and each user can only see there own documents. Not other users documents.
0
votes
0answers
20 views

SharePoint App Model and auto generated app Ids

Here is my problem: I have a SharePoint Hosted app. My environment consists of of the following App settings: App prefix: apps App Domain suffix: mydomain-apps.com I have two Web Applications so ...