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
0 answers
37 views

App cannot be used after script installation

I am installing a sharepoint hosted app on my sharepoint instance and it worked with no error. Below is the script I used: param ( [string]$Web = $(throw ‘- Need a SharePoint web site URL (e.g. "...
Snickbrack's user avatar
1 vote
0 answers
46 views

Publish Sharepoint App programatically

Is it possible to publish a SharePoint hosted App programatically via a Powersell script or a post-deploy script? And how would this be done? EDIT: Okay, found myself a solution: $instance = Get-...
Snickbrack's user avatar
1 vote
1 answer
569 views

Set Default Layout Page Using REST API Javascript

I am developing a SharePoint-Hosted add-in which bascially provisions a custom page layout to the master page gallery of an publishing site collection. After this is done I want to make this layout as ...
Philipp Heider's user avatar
1 vote
1 answer
361 views

SharePoint Hosted App Office 365 : could not complete cross domain call

I am trying to create one SharePoint hosted App on office 365. I am trying to access the list item from host web, but it goes to error every time. Please suggest me if i am missing something. ...
Rohit Waghela's user avatar
1 vote
0 answers
19 views

sharepoint hosted app will be access all document libraries in a SharePoint farm

Which authentication method suitable for SharePoint hosted app will be access all document libraries in a sharepoint farm 1- Use the SharePoint server-to-server security token service (STS). or 2 ...
adilahmed's user avatar
  • 2,975
1 vote
0 answers
193 views

Create Site Workflow with sp.workflowservices.js using Javascript

I have created SharePoint Hosted app and Now I want to create site workflow using javascript. I have create list workflow using javascript with the help of sp.workflowservices.js library. So is it ...
Sam Tech's user avatar
1 vote
0 answers
70 views

DropDown menu shows items twicely using javascript

i want to load items to drop down list dynamically from list where items are stored in SharePoint hosted app,I am done with this functionality by referring this article but having a small issue that ...
Madhav's user avatar
  • 1,494
1 vote
0 answers
45 views

appropriate authentication method for sharepoint hosted custom app in sharepoint 2013

I want to develop a sharepoint hosted application which will have some custom functionality , from below options which one i should select for appropriate authentication method for this app ...
adilahmed's user avatar
  • 2,975
1 vote
0 answers
14 views

Error occured while installing the sharepoint hosted app for sharepoint onpremises 2013

I have developed and deploying the sample sharepoint hosted app for sharepoint onpremises 2013.but i am unable to deploying the sharepoint hosted app. I am getting the message in Output window while ...
gopal's user avatar
  • 11
1 vote
0 answers
62 views

How to move files to list template gallery in SharePoint Hosted app

I Have created SharePoint Hosted app. With the app deployment I am uploading document files (.stp file) in adocument library. Now I want to move these files to my host webs list template gallery. In ...
Mrunal Shidurkar's user avatar
1 vote
1 answer
915 views

SPOnline: Read attributes of users from Azure AD

I have a requirement to read AD attributes of users (not just logged in user) from my SP hosted app. This includes information like Department, Manager, location and some other custom attributes. Is ...
Prakash's user avatar
  • 666
1 vote
0 answers
62 views

How will we implement the security in the SharePoint hosted app which deployed on SharePoint online?

In our project, users will allow to upload the document only through the app and will have also provided links in apps to directly download the file e.g : https://zzzz.sharepoint.com/sites/zzz/...
RajeshSharepointGeek's user avatar
1 vote
0 answers
188 views

Problems getting lync presence in sharepoint hosted add-in

currently i'm creating a SharePoint hosted add-in that allows me to show the Lync presence of a user. i have the code working on my appweb but when i try to render my page with a client webpart i get ...
Tom's user avatar
  • 39
1 vote
1 answer
209 views

Site Provisioning using SharePoint-hosted or Provider-hosted?

I have been reading the OfficeDevPnP for best practices on how to create Site Templates. The best practices recommend to use Remote Provisioning using Provider-Hosted App to create Custom Sites ...
Water's user avatar
  • 539
1 vote
0 answers
211 views

Get the installed version of SharePoint Add-In CSOM

I have a SharePoint hosted app (or, add-in). The app can be added to a SharePoint page via a ClientWebPart. I want to read the current installed version of the app, from within the app, when it is ...
Piyush's user avatar
  • 215
1 vote
1 answer
169 views

CSOM: Get the exact Url of SharePoint hosted list

here I wish to retrieve the URL of SharePoint hosted list it's like http://app-0329d4c1001648.spapps.com/sites/site1/EmployeeList/EmpList I tried some approaches but these are not that much useful,...
Madhav's user avatar
  • 1,494
1 vote
0 answers
30 views

Lookupfields in SharePoint hosted add-in

Is it possible to use Lookup fields in SharePoint Hosted Add-ins ? I can add them via GUI in VS, (similar to this http://www.enjoysharepoint.com/Articles/Details/add-lookup-field-type-column-in-list-...
Carl Johan's user avatar
1 vote
1 answer
1k views

'Install app for SharePoint': Access denied

We get the following error when trying to deploy a SharePoint hosted app in SharePoint Online. It worked fine till yesterday. Install app for SharePoint: Uploading the app for SharePoint... ...
Pradeep's user avatar
  • 111
1 vote
0 answers
99 views

SharePoint-hosted SharePoint Add-in Features deployment

I'm digging for a while into SharePoint-hosted SharePoint Add-in Features deployment, but I'm still dealing with some core questions. I can write a UI add-in, consuming the REST API on any hostweb, ...
egidiocs's user avatar
  • 476
1 vote
1 answer
49 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 ...
Arun's user avatar
  • 495
1 vote
0 answers
139 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: ...
Ole Albers's user avatar
1 vote
1 answer
148 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); Microsoft....
Sergio Valenzuela's user avatar
1 vote
0 answers
291 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 ...
Lee Dale's user avatar
  • 308
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
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
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
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
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
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
1 vote
2 answers
2k 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: https://xxxxx.sharepoint.com/sites/site/_api/SP.UserProfiles.PeopleManager/...
James Grizzle's user avatar
1 vote
0 answers
190 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 ...
MickB's user avatar
  • 1,491
1 vote
0 answers
2k 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 ...
tomvanderhoek's user avatar
1 vote
0 answers
42 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.
Mathematics's user avatar
  • 1,753
1 vote
1 answer
63 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 ...
Nagendra YR's user avatar
1 vote
2 answers
188 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 ...
sherin's user avatar
  • 159
1 vote
0 answers
34 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 ...
Yiannis Stavrianos's user avatar
1 vote
0 answers
27 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 ...
NYTom's user avatar
  • 781
1 vote
1 answer
2k 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: JSON....
Mars's user avatar
  • 73
1 vote
1 answer
32 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 ...
Prasad's user avatar
  • 53
1 vote
0 answers
193 views

Deployed sharepoint-hosted app not accessible

I have created a sharepoint-hosted app (sharepoint 2013) and I cannot publish it. I already deployed another provider-hosted apps, the CNAME is configured an seems to work... but when I try to ...
blfuentes's user avatar
  • 183
1 vote
0 answers
141 views

Do SharePoint-hosted apps have a persistent PropertyBag

I'm trying to store some user-configurable settings inside a PropertyBag. The getters and setters seem to work correctly, at least while the app is still open, but when I refresh the app's page it ...
Ectropy's user avatar
  • 287
1 vote
2 answers
3k 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 ...
Glenn Vandamme's user avatar
1 vote
1 answer
158 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?
Maged Farag's user avatar
0 votes
1 answer
2k views

Is it possible to write any c# or server side code in SharePoint hosted app?

I want to render some code dynamically so is it possible to write any C# code in SharePoint hosted app environment? And if not, then what are some alternative approach to achieve such goal?
Mrunal Shidurkar's user avatar
0 votes
2 answers
765 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 1....
Anthony's user avatar
  • 113
0 votes
1 answer
1k views

Get all users from azure AD group SharePoint hosted app

I am currently trying to use a people picker to be able to get user properties and if a group is picked I want to be able to get all the user keys. I can get all the properties I need if I select a ...
Laura Cook's user avatar
0 votes
2 answers
1k views

Get SharePoint multiple Properties of Multiple Users in Single Request:

I'm working on SharePoint app, where I can get multiple users form user profile. using below code I'm able to get property FirstName of multiple user. 'use strict'; var clientContext = SP....
Akshay Dattatray Nangare's user avatar
0 votes
1 answer
3k views

How to retrieve users profiles using JavaScript object model (JSOM) in SharePoint Online apps

To retrieve user profiles using server object model I have used UserProfileManager in C# code. UserProfileManager userProfileMgr = new UserProfileManager(serviceContext); IEnumerator userProfiles = ...
Akshay Dattatray Nangare's user avatar
0 votes
1 answer
10k views

caml query for text field(Title field) contains username in SharePoint hosted app

In my hosted app I have one text field which contains username. I want to apply filter on a view which on filtering gives me data related to current user. <Field ID="{fa564e0f-0c70-4ab9-b863-...
Mrunal Shidurkar's user avatar
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

1
3 4
5
6 7
9