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
1answer
11 views

StartDate is undefined

Am trying to retrieve an event from a calendar list using ajax. Am able to retrieve all properties of an event except the 'StartDate', which is returning undefined. Both the 'StartDate' and the '...
0
votes
0answers
24 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/...
2
votes
1answer
21 views

How to reference JavaScript file in custom ribbon action in SharePoint Online App?

I am trying to call JavaScript function into my Custom Ribbon command. I was able to create my Custom Ribbon Action using this answer. This perfectly worked for me in creation of Custom Ribbon Action ...
0
votes
0answers
13 views

Error when deploying SharePoint Add-In: cultural reference not admited

I'm creating a SharePoint-hosted Add-In using Visual Studio 2015 Update 3, for SharePoint Online. In the add-in, I added a List and the default.aspx page. Then I go to the manifest AppManifest.xml ...
0
votes
1answer
22 views

Create Picture Library in sharepoint app?

I want to create Picture Library in sharepoint app that is deploy it on online site.
-1
votes
0answers
25 views

How to get File or List Item contain “new” indicator icon

I am building sharepoint hosted app and i want the list of files or list items which has item contain "new" indicator icon means item recently added. I am using sp.js and is there any direct way to ...
4
votes
2answers
37 views

SharePoint hosted app within the Host Web

I have created a nice little SharePoint hosted app. When I launch the app, it brings me to the app domain and a dedicated page (default.aspx). My question is, how do I embed this App within my Host ...
0
votes
1answer
23 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 ...
0
votes
0answers
21 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 ...
3
votes
0answers
31 views

SP.WebProxy.invoke Alternative

I'm working on a SharePoint 2013 on premises Hosted App. The app needs to get data from an external REST endpoint from a web service on another computer. I've managed to get in Javascript the SP....
0
votes
1answer
22 views

Access Host Web list inside SharePoint hosted app

I have SharePoint hosted app Now I need to get host web list data inside my hosted app. Is it possible to get data from host web? Suggest some help
3
votes
1answer
41 views

Workflows in SharePoint apps

I want to Add an Approval Workflow to a List within a SharePoint Hosted App. How can I achieve this in the simplest manner? Is the OOB Approval Workflow available to us in SharePoint Online?
0
votes
1answer
40 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 ...
1
vote
0answers
18 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 ...
1
vote
1answer
43 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
14 views

Customize Master Page in Visual Studio for SharePoint hosted app?

How to Create Custom Master Page in Visual Studio for SharePoint Hosted App/Add-in?
0
votes
0answers
20 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 ...
1
vote
2answers
45 views

Is There a Way to Return a Value Using ExecuteOrDelayUntilScriptLoaded?

I have several functions nested under a initializePage function that gets executed once this runs: ExecuteOrDelayUntilScriptLoaded(initializePage, "sp.js"); Is there a way to set a variable like ...
0
votes
1answer
20 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 = "";...
0
votes
0answers
42 views

sharepoint hosted App on the site gives this error - Unable to open this page. Try this

I've SharePoint hosted app. When I publish the app in sites, app is not opened but in developer site it works perfectly. And I've activated site developer feature on site where I need the app. App ...
0
votes
0answers
111 views

AADSTS90093:Calling principal cannot consent due to lack of permissions

I have created native app on my organization's azure portal and access it with ADAL for SharePoint Hosted App. It is working for our organization but when It comes to external user it fails to get ...
0
votes
0answers
25 views

Swagger API for SharePoint Hosted App

Which swagger API is best for SharePoint hosted app. Swagger API is new for me. Need some help. Can we use swagger API for Hosted app? Please give some way so that I can move forward with it.
1
vote
2answers
56 views

Check if the current SharePoint Page is in Edit mode from within a SharePoint Online App

I have a SharePoint hosted app. I need to enable an edit section inside the app only when the page is in edit mode. This way I am making sure that only users with edit permission can view this option. ...
1
vote
1answer
43 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,...
1
vote
1answer
23 views

how to add items to sharepoint hosted list from from sharepoint hosted app

i wish to add item to share Point hosted list from from share Point hosted app itself.here i tried something with the help of rest API's but that is not working,so how can i do this??
1
vote
0answers
17 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-...
0
votes
0answers
17 views

Get .app path after publishing SharePoint hosted app

How can I get the path of the new .app that's created on publish? I want to use it in a post-build event (powershell). Obviously the path pops up after publishing so I know where it is, just can't ...
0
votes
0answers
11 views

How to trigger a SharePoint 2013 workflow from a SharePoint 2010 workflow

Is it possible to trigger a SharePoint 2013 workflow from a SharePoint 2010 workflow. If yes then how can we achieve this. Suggest some help
0
votes
1answer
32 views

Create a 2010 workflow in Visual Studio 2012 for SharePoint hosted app

Is it possible to create workflow 2010 for SharePoint hosted app 2013 in visual studio 2012. If yes then how we can achieve this. Suggest some help
0
votes
1answer
25 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> ...
1
vote
1answer
40 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-...
0
votes
0answers
41 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 ...
2
votes
1answer
28 views

What is the benefit of SharePoint Hosted Apps compared to the old compoenent like web parts\web forms?

What is the benefit of SharePoint Hosted Apps compared to the old components like web parts\web forms? when is the best time to choose one over the other? if you need to create a custom content type ...
0
votes
0answers
41 views

Error Deploying SharePoint App/Add-in - Page Does Not Exist

I'm making a SharePoint-hosted app/add-in that will essentially consolidate different bits of information from its host web. I was using the default setup that Visual Studio creates from its template ...
0
votes
0answers
49 views

SharePoint Online: FormField is no longer rendering

I have a problem with an already deployed SharePoint Hosted Add-in. The custom forms are not working. The add-in was working until May, after that I don't know what happened! I've used Visual Studio ...
2
votes
0answers
24 views

Sharepoint Hosted app update issue

I have deployed my hosted app in test site environment with version 2.0.0.0 In the same version I have one list named Employee. Now I renamed the list name as Employees raise the version 3.0.0.0 and ...
1
vote
0answers
19 views

office store and azure active directory integration for sharepoint hosted app

New to the whole SharePoint business, so any help is appreciated. I want to integrate my hosted app integration with Azure active directory for user authentication so that when I publish my app in ...
0
votes
0answers
36 views

ExecuteOrDelayUntilScriptLoaded for a Client Web Part in a Sharepoint Hosted App

I'm trying to use a poeple picker in a web part in a Sharepoint Hosted App. I have based my code on this. The only difference is that I'm in a Client Web Part instead of a page. This is my web part: ...
0
votes
1answer
36 views

Issue in Get List named With contains # using Rest Service API [duplicate]

I have a List named 'KKR Jobs #'. And I am try to Get that list in my Sharepoint Hosted App Using Rest Service Call Like var lName = 'KKR Jobs #'; executor.executeAsync( { url: ...
0
votes
0answers
21 views

SharePoint hosted app takes longer build time issue in Visual Studio 2012

In my SharePoint hosted app I have around 45 lists and 14 workflows. Whenever I tried to build the App in Visual Studio takes longer time to response. Around 30 min the output dialog display nothing ...
0
votes
1answer
88 views

REST Service API executor.executeAsync Call Ends in Failure Function in Sharepoint Hosted App

Any Answers Will Help me to Forward and Gain Knowledge in SharePoint Development While i am Trying to get the list Items Using Rest API Calls in SharePoint Hosted App Using Below Function function ...
1
vote
0answers
39 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 ...
2
votes
1answer
121 views

Alternative for ADAL in SharePoint hosted app

Is there any alternative for ADAL. I have created SharePoint hosted app. For every new build app deployed with new url with new Id like https://mysite-a08081eeabb935.sharepoint.com/sites/test/...
1
vote
2answers
60 views

How to get file author name and last major version in sharepoint hosted app?

I am developing SharePoint Hosted App to get specific file's all properties like author, created time, modified time, last major version etc. I didn't get the author name of file and I got SPUser ...
1
vote
0answers
25 views

Visual studio longer build time

I have created SharePoint hosted app project in Visual studio. I was working fine. At that time my app didn't have any workflow and build time and installation time was arount 2.5 min. But after ...
0
votes
0answers
20 views

Add-in, Temporary document library

I have retrieved the metadata of some documents from the SharePoint site and now I want to list them in a temporary list on the add-ins web but I don't really know how to do this. Should I just add a ...
2
votes
1answer
84 views

Call Javascript code in Custom Ribbon Action for office 365

I want to call my javascript code in custom ribbon action in SharePoint online. I tried this code. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas....
2
votes
1answer
49 views

How to debug the sharepoint web proxy

I am using the sharepoint web proxy to call the AAD token endpoint web service in Azure. When I do the call, the response calls my error callback with a jqXHR object that contains the following: { ...
0
votes
0answers
26 views

Visual Studio Sharepoint Hosted App Deployment Error [duplicate]

While Deploy My Sharepoint Hosted App in Visual Studio 2012 It Throws the Following Error:_ "Error 1 Error occurred in deployment step 'Uninstall app for SharePoint': Cannot connect to the ...