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
3answers
23 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
0answers
29 views

Get People Picker value

This is first time i use people picker. I have no experince with it. I hope that somebody can help me with getting the value of people picker to save new item as a person in my list. this is my ...
0
votes
1answer
13 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
15 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
18 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
10 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
19 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
27 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
36 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
24 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
32 views

How to add ads in SharePoint hosted app?

How can we add ads (eg Google adsense) to SharePoint hosted app ?
1
vote
0answers
66 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
0answers
36 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
74 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
26 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
2answers
41 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
28 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
15 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 ...
1
vote
1answer
23 views

SharePoint hosted App getting Timed out

I've created a basic SharePoint hosted App in my machine and published it successfully.It worked all fine but, since some time the App is getting timed out and shows "Page Can't be Displayed." Your ...
0
votes
2answers
57 views

fetch of all items from a list

I have an Announcement list in SharePoint site,I need to show all announcement in homepage,I am following msdn code sample to retrieve items from the list,But only last item will be display. function ...
1
vote
0answers
26 views

How can I customize the list item and still have the ribbon

I am working on a Sharepoint hosted app and the whole application is created with the concept of SPA. I am using jquery, bootstrap, knockout, etc. to display the list item data. Is there any way to ...
0
votes
0answers
10 views

adding SharePoint-hosted app programmatically

I would like to automate adding sharepoint-hosted app to the newly created site. Is it possible to add SharePoint-hosted app to a sub site programmatically?
0
votes
0answers
34 views

SharePoint-hosted app access a list while the user has no access permissions on the list

I have created a simple SharPoint-hosted app. I have modified the manifest file and added Full Control permission to List scope. I created a list in one of my SharePoint sites with unique permissions ...
0
votes
1answer
30 views

Is host web always a site collection?

For a SharePoint hosted application, is the host web always referred to as a site collection, and it cannot be a web only ? Let's assume I install a SharePoint hosted application at this address - ...
0
votes
0answers
9 views

How come shared instances of apps from the app catalog only show the full page version of the app

If I have an app that contains a full page Default.aspx and an App Part and share the app (Deployment UI) to a site collection from the app catalog how come only the full page of the app is available ...
3
votes
1answer
38 views

How to upgrade SharePoint app where the SharePoint app is installed on 20+ sites?

I understand stand the App upgrade process for a SharePoint hosted app and when I update my App Catalog for the web application I then can upgrade the app successfully manually for a site. But my ...
0
votes
1answer
22 views

app-only policy in SharePoint Hosted app

Is it possible to use app-only policy in a SharePoint-Hosted App? All examples on Internet are using Provider-Hosted App which uses Managed code. I would like implement it in a SharePoint-hosted app ...
0
votes
0answers
12 views

Show custom list from host web

I am developing sharepoint hosted app.I have custom list on host web.Is is possible to show that custom lists default view into app's page. I want to use OOTB functionality like add ,edit and delete ...
0
votes
0answers
27 views

“appContextSite()” is giving me the wrong site

Look in the function "GetSubSites" line 6 where I have written a comment. Can you please tell me why? appmanifest permissions => "Web" is set to "Full Ccontrol". Default.aspx: <script ...
0
votes
1answer
70 views

Get top navigation of Host Web in SharePoint Hosted app

I need to render the global navigation (top navigation) of host site (Site collection) in SharePoint Hosted App. Since I am using SharePoint Hosted App, can only use ECMA Script. I have tried both ...
0
votes
1answer
59 views

Creating folder is not possible in app web in sharepoint?

I am creating sharepoint hosted app. In that I created one list. Now I want to create folder in that list when I click on the button. Since it is in the same domain I am not using any cross domain ...
0
votes
0answers
26 views

How to create a SETTINGS button in sharepoint app

How do I create a settings button in my app so it appears in the ECB (Edit Control Block) on the apps icon in the site contents page? I would like to link it to a list I have created to hold the ...
0
votes
0answers
23 views

Weird Apps For SharePoint Issue

Having a weird apps issue. I had successfully set up apps in our on-prem environment. However starting yesterday, my hello world sharepoint-hosted app is giving the "Sorry, this site hasn't been ...
0
votes
1answer
150 views

POST Request through WebProxy with JSON data

I want to make a POST request with JSON data to a REST API through the WebProxy. Therefor I make a request like: $.ajax({ url: "../_api/SP.WebProxy.invoke", type: "POST", data: ...
0
votes
2answers
244 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
0
votes
0answers
22 views

App part settings - Select list or library

Im building a SharePoint-hosted app. The main functionality lies in an App part that needs to retrieve information from a task list from the same site. The administrator needs to be able to point out ...
0
votes
0answers
20 views

get pictures from webservice in sharepoint hosted app

Is it possible to retrieve pictures from webservice and display it in a picture library? if yes how to do that?
0
votes
0answers
79 views

Responsive design for SharePoint Hosted Apps

I am stuck at a point in my project when the requirements state Responsive Design is the way to go forward. I have implemented Responsive Design in my Sharepoint Hosted App using the bootstrap ...
1
vote
1answer
19 views

Can we write App Prerequisites using Javascript? get edition of SharePoint using javascript

I am creating SharePoint hosted app. I have to develope an app such that it should work in all edition of SharePoint and its features will vary from edition to edition. Now I have couple of questions ...
0
votes
0answers
21 views

SharePoint Hosted App - PDF conversion

I have a custom aspx form in SP 2010. Upon form submission, form field values are captured in String Builder and saved as PDF using third party pdf converter I am migrating the form to SharePoint ...
0
votes
0answers
21 views

Send Email in SharePoint Hosted App without using VS workflow

I have created a SharePoint Hosted app which uses a visual studio workflow to send email within same domain. Since I am in process of migrating custom aspx forms in SP2010 to SharePoint Online, each ...
1
vote
1answer
54 views

SP 2013 REST throws error 500 with specific Regional Settings

I have built a SP-hosted app that uses REST API calls to get data from a list in the Host Web. The request (from fiddler) is as simple as this: GET ...
0
votes
1answer
28 views

sharepoint notify new items to list

I'm creating a sharepoint hosted app, two pages, default.aspx and admin.aspx. When I update the list in the appweb thru a function in default.aspx, I want that a notify windows will popup to the ...
0
votes
1answer
97 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
0
votes
1answer
148 views

Send Email from Public App - Sharepoint Hosted App

Function sendEmail(from, to, body, subject) { appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl')); hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl')); var ...
0
votes
1answer
138 views

Sharepoint-hosted apps login request from all users

My problem is simple and i was expecting to get a simple solution too. Instead, i already spent days looking of the reason why i get this error and possible solutions. Setup: I followed these steps ...
0
votes
0answers
13 views

Change the user experience of the SharePoint modal dialog when called from a SharePoint Hosted app.

Calling a modal dialog from a SharePoint hosted app works perfectly. My question here is, how can I change the CSS of the rendered modal dialog to make the UX look like it has been called from a farm ...
2
votes
1answer
181 views

How create Sharepoint online site with custom template?

I need to create site in SharePoint Online from SharePoint hosted app. I used code like this: var webCreationInfo = new SP.WebCreationInformation(); webCreationInfo.set_webTemplate('STS#0'); ...
1
vote
1answer
190 views

How to call Rest api in SharePoint hosted app.?

I want to call Rest api which is not of SharePoint. I have created one Api which is in php. And I want to call that api in my SharePoint hosted App. Is it possible to call API which not of SharePoint ...
0
votes
1answer
184 views

Sharepoint-hosted app on-premise 2013

We have been developing SharePoint-hosted apps for SP online with great success, but seems like developing SharePoint-hosted apps for the on-premise 2013 is not so intuitive process. Questions: As ...