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
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,965
2 votes
0 answers
39 views

Creating Charts in 0365

I am developing a Share-point Application in O365. Will it be possible to use web-part in online premise or only app part can only be used. Following is the code I have used. I am getting the Access ...
Vinod's user avatar
  • 141
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
0 votes
1 answer
97 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
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,965
3 votes
1 answer
147 views

How to start the Sharepoint app development [closed]

How to start the SharePoint App development ? What is the SharePoint Hosted App Model ? What is the open authorization 2.0 OAuth 2.0 ? i am new to office 365 and develop apps for share point 2013, ...
adilahmed's user avatar
  • 2,965
3 votes
1 answer
463 views

can we send email through remote event receiver in SharePoint hosted app(on-premise)

I want to create a simple SharePoint hosted app which will send an email to any email id,I followed how-to-send-email-with-attachment-through-sharepoint-hosted-app which is feasible to send mail but ...
Madhav's user avatar
  • 1,494
3 votes
1 answer
100 views

Connect lookup field to a list inside an app

I have a list in SharePoint online which should get a lookup a field to a list which is inside a SharePoint hosted app / add-in. Is it possible? My app has "FullControl" rights on the web and on the ...
dev.Manderson's user avatar
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
6 votes
2 answers
2k views

how to get site collection url from SharePoint Hosted App

I am trying to get site collection URL using _spPageContextInfo.siteAbsoluteUrl but it is giving output as https://domain.-a08083bbaacc988.sharePoint.com/sites/sitecollectionname but I want it ...
Mehul Sharma's user avatar
0 votes
2 answers
93 views

How can i deploy or create lists on site/subsite i want?

I have a SharePoint-hosted App-part (ClientWePart), and my app-part are dependent on a couple of lists to be created. At the moment all my lists are created on the hostWeb _spPageContextInfo....
user3629354's user avatar
4 votes
3 answers
8k views

how to read all recurrance events from sp calendar list in SP hosted app

I am trying to create one SP hosted app which will read all events (includes recurring) from SharePoint calendar list. I tried but am enable to reach to it. my code is as below. function ...
sharepoint2013's user avatar
2 votes
1 answer
417 views

Enable ratings for custom list via JavaScript in a SharePoint Hosted Add-In (App)

let me just start by saying that I've searched for about 8 hours and I've read every accepted answer for CSOM, PowerShell, list settings etc and tried to convert the codes myself into a working ...
Fredrik Johan Lund'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
1 vote
2 answers
4k views

How to add List item with multiple people picker column using JSOM/Javascript

I want to add list item with multiple people picker column, how can add multiple users in my list column? I can successfully add single people picker item, but not multiple. My code is working fine ...
user3629354's user avatar
0 votes
1 answer
509 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
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
895 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
0 votes
1 answer
72 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 '...
Stanley Onchari's user avatar
1 vote
0 answers
61 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
4 votes
1 answer
1k 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 ...
Aakash Maurya's user avatar
0 votes
1 answer
129 views

Create Picture Library in sharepoint app?

I want to create Picture Library in sharepoint app that is deploy it on online site.
Sarika Koli's user avatar
4 votes
2 answers
69 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 ...
Michael Colbs's user avatar
0 votes
1 answer
538 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
163 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
4 votes
0 answers
690 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....
Ian Fleet's user avatar
1 vote
1 answer
1k 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
Mrunal Shidurkar's user avatar
3 votes
1 answer
88 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?
Michael Colbs'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
1 vote
0 answers
187 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
210 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
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
1 vote
2 answers
383 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 ...
LaLaLottie's user avatar
0 votes
1 answer
324 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
2 votes
2 answers
522 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. ...
Piyush's user avatar
  • 215
1 vote
1 answer
166 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
1 answer
54 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??
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
2 votes
1 answer
82 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
Mrunal Shidurkar's user avatar
0 votes
1 answer
226 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
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
0 answers
427 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
2 votes
1 answer
195 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 ...
SPforCRM's user avatar
2 votes
1 answer
76 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 ...
Mrunal Shidurkar's user avatar
0 votes
1 answer
95 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: ...
Vignesh amutha's user avatar
0 votes
0 answers
224 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
2 votes
1 answer
725 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/...
Mrunal Shidurkar's user avatar
2 votes
2 answers
824 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 ...
Jinesh Kaneriya's user avatar

1 2 3
4
5
9