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
17 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
30 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
14 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
36 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
36 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
21 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
49 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
41 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
22 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
16 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
27 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
34 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
33 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
27 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
46 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
23 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
17 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
28 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
33 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
19 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
69 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
26 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 ...
1
vote
0answers
94 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
41 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
22 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
19 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
66 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
39 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 ...
0
votes
2answers
51 views

Error occurred in deployment step. Cannot connect to the SharePoint site:

While creating a new App For Sharepoint, in Sharepoint Site URL Validation Form. When we click the Validate Button the following error is shown: Cannot connect to the SharePoint site:'http://...
3
votes
0answers
36 views

How to create custom action using SharePoint hosted app

Is it possible to create "custom action" under the "Site Action" menu in "HOST WEB" using SharePoint Hosted App.? We do not want to follow the native method of packaging all the necessary files ...
0
votes
1answer
31 views

Does a Sharepoint 2013 Online hosted Add-in have to create an app and app site?

Based on these Guides: https://dev.office.com/docs/add-ins/overview/office-add-ins https://msdn.microsoft.com/en-us/library/office/fp142379.aspx Is it possible to create a SharePoint Online 2013 ...
2
votes
1answer
35 views

Specify a Root Path of hosted app for script links in SharePoint hosted app?

I'm writing script reference in custom master page, and don't want to change the scripts for subfolder pages. Is there a way to make the path relative to the root directory? for example: <link ...
3
votes
1answer
71 views

What is the best way to add JSLink inside form tag

I am trying to add JSLink insided for tag in my SharePoint hosted app <Form Type="NewForm" Name="{878B105CA-A7O8-7C28-HD7F-5B0DCBA7DSA}" SetupPath="pages\form.aspx" ...
1
vote
1answer
50 views

office365- Uncaught TypeError: Cannot read property 'split' of undefined, querystring parameter fails

I created an SharePoint Hosted App in this app I am using Two form for saving data into list. When I click on save button to save data into list data is saved into list and redirect to another page ...
0
votes
0answers
17 views

SharePoint Online hosted app use Oath

I made a standard visual studio SharePoint Hosted App and did a deploy to my dev enviroment. I downloaded a simple example: https://dev.office.com/getting-started/office365apis it uses Adal libaries ...
2
votes
1answer
23 views

ListInstance with predefined data in Field tag of Element.xml gives an error

I am trying to add data in Field tag like <Data> <Rows> <Row> <Field Name='Title'>Configuration</Field> <Field Name='JSONData'> { "URL":"https:/...
2
votes
3answers
81 views

How to add script reference on master page?

I have applied master page using JavaScript in my SharePoint Hosted App. This script reference is added on default.aspx. Now I want to add script reference on master page which I have applied so that ...
1
vote
1answer
34 views

Applying master page through js gives error on List pages of SharePoint Hosted app

I have successfully applied master page to my app function MastePageChange() { var clientcontext; var cweb; var sitename = location.pathname.split("/")[2]; var appname = location.pathname.split("/")...
2
votes
1answer
40 views

How to remove content editor after first load of any page

any one knows how to remove content editor after first load. I want to load the page with content editor for the first time but after page refresh the content editor should be removed from the page. ...
0
votes
0answers
15 views

Shared hosted app and version history modal from hosted web?

I have a problem with this shit SharePoint cross origin and frame unfriendly system. With other words: Why can't I configure the security for a site? Or why there is no option "Allow apps to access ...
0
votes
0answers
59 views

Unable to install a SharePoint Hosted App with Full Control Rights

I have created a basic SharePoint Hosted App and given the Permission for the App as "Web" - "Full Control". The app is added to the App Catalog. When the app is being installed by the Site Admin in ...
3
votes
1answer
78 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 my SharePoint hosted app? And if not, then what are some alternative approach to achieve such goal?
6
votes
0answers
82 views

JSLink in form tag is not working from schema.xml in my SharePoint hosted app

Here is my code from schema.xml <Forms> <Form Type="NewForm" Name="{65B105CA-E7D8-4B28-8C9F-5B0DCBA7E0CA}" SetupPath="pages\form.aspx" WebPartZoneID="Main" Url="NewForm.aspx" Default="TRUE"...
0
votes
1answer
175 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... ...
2
votes
1answer
60 views

How to create custom master page in visual studio for SharePoint hosted app

I want to create master page for my SharePoint hosted app and apply it to all pages. please suggest the help