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.
407 questions
3
votes
1
answer
130
views
Deployment Error in SharePoint APP
I get Error when Deploy that SharePoint App
Error 1 Error occurred in deployment step 'Install app for
SharePoint': The System Account cannot perform this action.
3
votes
1
answer
106
views
SharePoint hosted App with 'Read' permission to site collection in AppManifest, throws error on deploying.
I am developing an App which reads a List in HostWeb. I have granted Read permission to SiteCollection in AppManifest.
While deploying the app it throws a peculiar JavaScript error -
"JavaScript ...
3
votes
1
answer
465
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 ...
3
votes
1
answer
386
views
Uninstall event at SharePoint Hosted App
I have a office365/SharePoint Online App (SharePoint Hosted App) that when installed into SharePoint Online, it will provision some static files (css/js) and custom actions into the SharePoint host ...
3
votes
2
answers
2k
views
Apply theme to subsite from SharePoint hosted app + javascript
I have to make a SharePoint-hosted-app for creating subsites and applying a theme on created subsites programmatically.
my app is installed on root site (site collection) and I want to change ...
3
votes
1
answer
200
views
Error in SharePoint Hosted App
I am creating a SharePoint hosted app in which i am fetching a SharePoint list data and showing it on html page . Whenever i am making the rest API call , i am getting " Access denied. You do not have ...
3
votes
1
answer
453
views
How to open an Office file in the client software programatically in SharePoint Online?
I have a Sharepoint hosted app that retreive documents from a library and I want that the name of the file has a link to open the document directly to the client Office app. The SP hosted app is made ...
3
votes
1
answer
397
views
Sharepoint Hosted Apps - Why separate domain should be created?
Really, why?
You said XSS. Ok, what is XSS? XSS allows me to execute maleficent script on different domain. So, from an app web I can't break something in a host web.
But stop.
I can request ...
3
votes
1
answer
403
views
SharePoint Hosted App not working. App domain issues
I followed this link to configure the app domain for SharePoint 2013.
While configuring the DNS we followed below steps:
First created zone: owapps.com
Alias Name: *
FQDN: *.owapps.com
FQDN for ...
3
votes
0
answers
276
views
SharePoint on-premise app catalog configuration
I have been tasked with recreating our existing SharePoint on-premise instance. Everything has gone well apart from a confusion I have with how the app catalog has been setup on our existing instance ...
3
votes
0
answers
46
views
SharePoint Hybrid 2013 + SPO365 CSOM REST
once the environment is set up, is it possible to create a Cross-Domain JSOM or REST calls to get data from Site Collections from Both On-Prem and Online Sides using the SharePoint Hosted App Add-in ...
3
votes
0
answers
40
views
~sitecollection token in AppPart SRC attribute
I have been testing ability to use various tokens in SRC attribute for app parts in SharePoint 2013. I try to investigate if it's possible to have an apppart that points to a page that is outside app ...
3
votes
0
answers
29
views
Resource Not Found error while creating a custom master page for Sharepoint Hosted App
Resource Not Found (Master Page is not found) error is shown when a custom master page is created for SharePoint Hosted App according to steps given in given link: Master Page for Sharepoint Hosted ...
3
votes
1
answer
151
views
Unable to create subsite with SharePoint hosted app
Below is my code for creating sub site in SharePoint Hosted App:
function createWebsite()
{
var clientContext = new SP.ClientContext("https://rootSite/sites/Site1");
this.oWebsite = ...
3
votes
1
answer
102
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 ...
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?
3
votes
0
answers
140
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 ...
3
votes
1
answer
275
views
JSLink in form tag is not working from schema.xml in my SharePoint hosted app
In the app ,for schema here is my code from schema.xml
<Forms>
<Form Type="NewForm" Name="{65B105CA-E7D8-4B28-8C9F-5B0DCBA7E0CA}" SetupPath="pages\form.aspx" WebPartZoneID="Main" Url="...
3
votes
0
answers
47
views
SharePoint Hosted app and document
I am creating a SharePoint document center application in which I want to achieve the following:
We will use the SharePoint screen and will show the list of documents
over the SharePoint site.
I ...
3
votes
1
answer
287
views
Access host web data from a SharePoint add-in
I am writing a SharePoint add-in to add list items to a host web list. I use an AppContextSite object to fetch the list and add an item to it. I then try to do an appSiteContext.load(listItem) call ...
3
votes
2
answers
711
views
Access Subsite list from root site using sharepoint hosted app
I've a SharePoint Hosted App and its deployed to Root site. Using that App, I need to read items of specific list from all sub sites of that root site. My current Code:
var hostsuburl = "Subsite URL ...
3
votes
0
answers
197
views
Display SharePoint App's Version Number
I'm working on a SharePoint Hosted App that includes an App Part (or SharePoint Plugin, whatever they're calling it these days). Somewhere on the App Part, I thought it would be nice to display the ...
2
votes
2
answers
381
views
How can I get count of similar items records from list in SharePoint hosted app?
I have created SharePoint Hosted app.
I have list called Likes it contains item records.
I have custom columns called Ids it hold the another list item id ID.
Using JSOM in SharePoint Hosted ...
2
votes
4
answers
10k
views
Error while calling SP.UserProfiles.PeopleManager.getMyProperties method
I am trying to get current user profile information using the PeopleManager object ( SP.UserProfiles.js ) in a SharePoint hosted app. Code snippet is like below :
var peopleManager = new SP....
2
votes
1
answer
1k
views
Trigger SPClientPeoplePicker to search for string
I am filling the div of a SPClientPeoplePicker with a name of a person via JQuery. Now I want SP to look after this Person without modifying this div any further.
Is it possible to use a trigger ...
2
votes
1
answer
192
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, Here is Form tag code
<Form Type="NewForm"
Name="{878B105CA-A7O8-7C28-HD7F-5B0DCBA7DSA}"
SetupPath="pages\...
2
votes
1
answer
1k
views
How To Create a Picture Library in SharePoint Online(office 365) Using CSOM-JavaScript?
Currently I have created SharePoint Hosted App (Picture Slider) using Napa Office 365 Development tool. So far, I have created picture Library Manually,
and now trying to create Picture Library using ...
2
votes
1
answer
219
views
Remove Event receiver in SharePoint Hosted App Sharepoint online
Is it possible to create a remote event receiver in sharepoint hosted app?
2
votes
3
answers
8k
views
SPO - /_vti_bin/lists.asmx returns Error 500
I am currently developing a news scroller/ticker in SharePoint Online (Office 365) and am using the follow script to access a list:
var emptyResults = "<li>No current announcements</li>";...
2
votes
1
answer
132
views
My first simple sharepoint hosted app not displaying correctly
I have configured app environment successfully as described in this article
I have created simple sharepoint hosted app in visual studio and deployed successfully on my sharepoint server 2013.
But ...
2
votes
1
answer
505
views
Get Author email address in SharePoint Hosted App using JSOM
I have created the SharePoint hosted app.
I'm using JSOM for App.
I'm retrieving items from the list.
I have default column in the list called Author (Created by).
I want to retrieve email ...
2
votes
2
answers
5k
views
How to get Profile details link for User from user profile in office 365
Currently I'm working on SharePoint online app,
I'm able to get users from user profile in office 365 site.
Now I'm trying get the Profile details URL :
https://Akshay.sharepoint.com/_layouts/15/...
2
votes
2
answers
2k
views
How to call Javascript On Custom Action Button in Sharepoint Hosted App?
I have created Custom Action Button In document Library using
<CustomAction Id="7be13ea1-8621-487b-b579-15e3b9d63908.CreateZip19"
RegistrationType="List"
RegistrationId="...
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 ...
2
votes
1
answer
292
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:
{
...
2
votes
2
answers
155
views
Is it possible to retrieve lists with specific template?
Is it possible to retrieve lists with template "Custom List" and display it in a jqxListBox or div?
2
votes
2
answers
10k
views
"This content cannot be displayed in a frame" - SharePoint 2013 Deployment
I have developed a SharePoint-Hosted app which opens a new modal dialog in a list. On SharePoint Online it works without problems, but if I deploy the app on a SharePoint 2013 On-Premise system I get ...
2
votes
1
answer
454
views
Any way to Install an (inline Host Page) Sandbox Solution Web Part via an SPO Hosted App?
Our understanding is that:
SPO Hosted Apps only support client side code (no server side code)
All webparts produced by SPO Hosted o365 apps always install as iframes under the app host domain
It ...
2
votes
2
answers
2k
views
Intermitant - The property or field 'EffectiveBasePermissions' has not been initialized
Get getting this error on my SP2013 SharePoint Hosted app...randomly...I can just refresh the page and the error resolves itself.
Anyone had this?
Using developer tools the error seems to be ...
2
votes
1
answer
69
views
How to upgrade SharePoint-hosted app without losing data
I create a SharePoint-hosted app but when this app is redeploy then Data should be Lost.
2
votes
1
answer
80
views
Problem loading images in IE when using SharePoint hosted Add-ins with JSOM cross domain library
I have a problem in displaying images in IE, I am developing a SharePoint hosted Add-in, the Lists which contains all the data and the images are hosted in the root site collection and the Add-in is ...
2
votes
1
answer
123
views
Sharepoint-hosted app-instance of an app in the same site
I have created a sharepoint-hosted survey app and deployed to my site.I am able to create a single survey with this app.But when i need to create another survey in the same site,Im not able to add the ...
2
votes
1
answer
291
views
Creating an app package to publish to the Store
I'm preparing to publish my first SharePoint Hosted app to the Office Store but it requires a format of .xap, .appx, .appxbundle, .appxupload
Only an .app file is packaged when I click Publish in ...
2
votes
2
answers
830
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 ...
2
votes
1
answer
585
views
Build a SharePoint online app that can create new lists
I'm new to building apps for SharePoint in Office 365. I'm pretty new as a developer as well. I do know that Apps are now called Add-ins, but I'm using Visual Studio and the projects are still named ...
2
votes
1
answer
2k
views
Is it not possible to add user to SharePoint group using REST for cross domain calls?
I am trying to add user to a SharePoint group in a "SharePoint Hosted App". First I am checking whether the user exists in that particular group or not. If not, I am trying to add that user to a group....
2
votes
1
answer
50
views
SharePoint 2013 hosted app custom pricing plan
Can you publish a free SharePoint hosted app to Marketplace that will offer some basic functionality and offer users to purchase a plan or a subscription kind of like if they want more functionality?
2
votes
1
answer
3k
views
Using custom WCF in SharePoint hosted App
I have been trying since a few days to call a custom made WCF service from a SharePoint Hosted App. I have read all over the information available on forums and I couldn't find a working solution.
...
2
votes
0
answers
48
views
Working with npm packages in SharePoint hosted app
I am starting to work on a SP 2013 hosted app. I am planning to use typescript and have setup my project with Typescript configurations enabled. I have created a SP module called "dist" and all ...
2
votes
0
answers
110
views
Is it feasible to check PDF accessibility using c#?
I need to check accessibility for uploaded pdf using any dll or any other way. Is it feasible programmatically using c#.
Accessibility of pdf means pdf contain header or footer and misspelled word in ...