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.

164 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
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
729 views

How to login using API to get delegated permissions for registered app

I managed to get the access token in postman (After registering the app on Azure on following the required steps), but the permission for the app is set to only allow logged in users to read from ...
Malthe's user avatar
  • 1
0 votes
3 answers
805 views

Add multiple Fields For the CamlQuery in Sharepoint Hosted App

I am trying to filter two fields or more that is clean of null values. It works for the first field but it is not working for the second field: <View><Query><Where><IsNotNull>&...
kont's user avatar
  • 1
0 votes
1 answer
26 views

Migrating SP 2013 Content Database Prod->Dev with App Catalog: Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin'

I am trying to refresh a SharePoint 2013 Dev environment from our Prod environment. I am using a content database containing a single site collection and an app catalog site hosting 10+ SharePoint ...
SharePoint Mangler's user avatar
0 votes
1 answer
41 views

SharePoint hosted addin file not found

I am building SharePoint hosted add-in. I am trying to reference the sp.js and sp.runtime.js but I am getting error File '_/layouts/15/sp.runtime.js' was not found. SharePointHostedAddin Screenshot ...
Ragavan Rajan's user avatar
0 votes
0 answers
51 views

On Prem SharePoint Hosted Add-ins Not Working

My Add-in challenges me for my credentials; even though I'm already authenticated by SharePoint. After 3 times, a blank page is displayed; even though my default.aspx is not a blank page. How can I ...
amsackett's user avatar
  • 379
0 votes
1 answer
24 views

Hide one of hosted app part from solution

I have developed a solution which have 20 SharePoint hosted app part. Now i want to hide one of the app-part from this hosted app solution, so that user can not see and add that one app part on page. ...
Dilip Kumar Yadav's user avatar
0 votes
1 answer
57 views

How to add an App or a List to a Team Site

I have a team site with a Home Page like the one on this link (created programmatically with STS#3 template). I'd like to customize the Home Page adding a SharePoint hosted App I have developed. But ...
spiderman's user avatar
  • 217
0 votes
2 answers
41 views

New form in hosted app

I am creating a hosted app in Visual Studio 2017 for use in SharePoint 2016 On-Premises. I have added a list to this project and would like to change the new item form for this list. I am attempting ...
DrewB's user avatar
  • 217
0 votes
2 answers
168 views

SharePoint 2016 Hosted App Displays Sprite Image

This was all working fine awhile ago. Now the App displays a SharePoint Sprite Image overlaying the App.
Bismarck's user avatar
  • 1,021
0 votes
1 answer
28 views

Sharepoint Hosted APPS storage

where share point hosted apps will be stored? and is there any difference between APPWEB and HOSTWEB?
Kishore's user avatar
  • 371
0 votes
1 answer
355 views

Create Managed Metadata Column in SharePoint Hosted Add in

I am creating a SharePoint Hosed Add-In and my requirement is, add a managed metadata list column through list schema.xml. Anyone has any idea?
gachCoder's user avatar
  • 480
0 votes
1 answer
149 views

Access denied when making Search call through REST

I'm deploying a SharePoint Hosted Add in in O365. I'm doing a simple call like this in my App.js: var hostUrl = decodeURIComponent(getQueryStringParameter('SPHostUrl')); function searchSites(webUrl,...
Batman's user avatar
  • 1,488
0 votes
0 answers
13 views

Can we check for prerequisites in SharePoint hosted app before installing, if yes then how?

I want to restrict SharePoint hosted app from install if it does not fulfill the prerequisites requires for the app. Any help would be greatly appreciated.
Sunil Sahu's user avatar
  • 1,778
0 votes
1 answer
99 views

Deployment time of the SharePoint Hosted app for online

I am making SharePoint Hosted app while deploying this app it takes much time to deploy it around 15 min to uninstall and 15 min to install it. Is there any way that we can see the changes without ...
Mohit Sikhwal's user avatar
0 votes
1 answer
39 views

How to do one time configuration of SharePoint Hosted Add-in?

We need to create a few fields after installation of SharePoint Hosted Add-in. What would be the preferred way to achieve this?
Alok Kumar Gupta's user avatar
0 votes
1 answer
130 views

SharePoint online app build time

I have created a SharePoint App(SharePoint Add-in) with 70 columns 6 content types and 8 lists and I am deploying the Sharepoint app to SharePoint online. It takes around 16-18 mins to retract, ...
user1339913's user avatar
0 votes
0 answers
681 views

Debug SharePoint Hosted and Provider hosted app

I am fighting with issues on apps ( SharePoint Provider & Hosted)models .Can any one guide me in knowing how do debug the apps.And what should i need to install if pre-requisite exists for ...
MSA's user avatar
  • 1,155
0 votes
1 answer
13 views

Debuggin app with VS I get not a valid32 application

I'm trying to deploy my first app on Sharepoint online with visual studio 2015. I have tried setting platform target x86 but it makes no difference. Do you know what the problem is? EDIT: prefer32 ...
Gyonder's user avatar
  • 1,183
0 votes
1 answer
406 views

Get the current item id in visual studio workflow

I have a Visual Studio workflow. It's creating a task to the user when Status.Equal("New"). I need a link in task mail body which will redirect to the current item. How can this be done? Thanks in ...
Lindhna A M's user avatar
0 votes
1 answer
1k views

The property or field has not been initialized. Error throw in sharepoint online?

I have big problem. I tried a lot of solution for this issue but not worked. I need help. Here is my code. I try to get items from picture library. It's an app for sharepoint online. var context; var ...
Yasin Yörük's user avatar
0 votes
1 answer
101 views

XsltListViewWebPart Disable Delete

I have an XsltListViewWebPart WebPart on a webpage within the App Web of a SharePoint Hosted App. Right now you can highlight a row and click delete. Is there a property or way I can prevent users ...
Michael Colbs's user avatar
0 votes
0 answers
19 views

Accessing or Creating page from host web in app web

I have created SharePoint Hosted app. I want to access page of host web in app web. Initially I have tried using iframe but got cross domain issue. Is there any possible solution to do this.
Mrunal Shidurkar's user avatar
0 votes
1 answer
511 views

Create List from List template in host web

How to create list from list template in Host Web? I have created SharePoint hosted app and some how I managed to copy the list template file to host web's list template gallery . Now I want create ...
Mrunal Shidurkar's user avatar
0 votes
1 answer
540 views

How to avoid Sharepoint Hosted app from generating unique ID in the URL

I am trying to create a SharePoint Hosted app with the ADFS2.0 . What is happening is a unique id is generated on every deployment of the solution. I have to manually register with the new url in the ...
Deepak S's user avatar
0 votes
0 answers
164 views

Auto Minify files on publishing SharePoint hosted app

I have created SharePoint Hosted app with some list, scripts and css. Now I want to minify my files. Can we automate minification of files on deploying or on publishing? Also can we apply ...
Mrunal Shidurkar's user avatar
0 votes
1 answer
2k views

Custom form not showing input fields

I have created custom newform aspx page binded to newform fromschema as <Form Type="NewForm" Url="Import.aspx" Path="Import.aspx" WebPartZoneID="Main" Template="Import.aspx"/> Added fiels on ...
Mrunal Shidurkar's user avatar
0 votes
0 answers
55 views

SharePoint hosted app and SharePoint online list data synchronization

Is there is possible to provide two way synchronization between SharePoint Online List data and SharePoint hosted app list data? If I added data in SharePoint hosted app list data then it should ...
Mrunal Shidurkar's user avatar
0 votes
1 answer
326 views

How does SharePoint App Part resize work?

I know how to resize SharePoint App Part dynamically. But I met a problem that it fails to resize for a particular App Part. So I debuged and found the SharePoint built-in code: var widthCssText = "";...
Xiaodan Mao's user avatar
0 votes
1 answer
227 views

caml query pass username dynamically in sharepoint hosted app

In my hosted app I have one text field which contains username. I have write following query in lists schema.xml <View> <Query> <Where> <Contains> ...
Mrunal Shidurkar's user avatar
0 votes
0 answers
430 views

SharePoint Modal dialog page is empty

I have tried creating a modal dialog in a SharePoint Hosted APP using this script but I am getting an empty page in the resulting modal dialog. <script type="text/javascript"> var ...
software dev's user avatar
0 votes
0 answers
230 views

Changes not update for schema.xml on SharePoint hosted app update

I have done my changes in my list's schema.xml. I have added extra view over existing list. I have also publish my app earlier but when I update my app over existing one it will reflect all changes ...
Mrunal Shidurkar's user avatar
0 votes
0 answers
240 views

403 Forbidden - while updating list items through sharepoint hosted apps

an above snap item updating calls GET Items which need to be updated but got 403 Forbidden error in sharepoint hosted apps. My Apps and list in the same domain. i took reference from this side for ...
Hitesh Chandegara's user avatar
0 votes
0 answers
295 views

Provisioning site collections with SharePoint Hosted App

I referred to the Office Dev PnP code on Github to create Site Collection in my O365 environment. This code uses CSOM to create site collections as a provider hosted app hosted on Azure platform. ...
Ashish's user avatar
  • 881
0 votes
1 answer
394 views

"Page can't be displayed" and Admin must enter credentials for local app domain (DNS is correct I think!)

SharePoint Server is a Windows Server 2012 R2 and contains the Active Directory, SharePoint and SQL Server 2008. Local domain is: test.local SharePoint host name is: sharepoint (in domain sharepoint....
Patrick's user avatar
  • 111
0 votes
1 answer
419 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?
Vipin Kumar's user avatar
0 votes
0 answers
203 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 ...
Prakash's user avatar
  • 666
0 votes
1 answer
606 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 ...
Prakash's user avatar
  • 666
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
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
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
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
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
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
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
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