This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (1)

1
vote
2answers
26 views

Get file name from document library

I have a document library named DocLibrary. Inside that, I have created few folders. Each folder have 3 another folder. Inside that, I store the specific files. Example: DocLibrary > NF1> ...
0
votes
1answer
15 views

AppSecret key lifetime and expiration

I see when I use Seller Dashboard max token lifetime is 3 year. Does anybody know it how long it be valid if I use AppRegnew.aspx page?
2
votes
1answer
20 views

Start workflow using App only client context

I use CSOM with client contex which I get from app, the App has following permissions: <AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest ...
0
votes
0answers
18 views

can we apply site custom master page to sharepoint 2013 hosted app?

I want to apply site master page to the sharepoint 2013 hosted app. As I want the same UI as that of host site of that app. So is it possible. How to do that?
0
votes
0answers
10 views

File Not Found. in ClientContext.Site.OpenWeb

I just tring to open the subsite using the CSOM. I'm geting the below error in clientContext.ExecuteQuery(). site URL is https://xxxxxxxx.sharepoint.com/Customer Orders File Not Found. ...
0
votes
1answer
23 views

Edit Only Permission but not (add/Delete)

I want to give "Edit Only" permission on List Items to the user, Like user only can Edit the Item and will not be able to (Add/Delete) Items. I've used default "Edit" permission but it is allowing ...
0
votes
1answer
27 views

Document is not getting saved in Sharepoint using Firefox browser

I have a document stored in SharePoint, and when I try to edit the document through Internet explorer the document get edited and the new document gets saved in SharePoint, whereas when I try to open ...
0
votes
0answers
4 views

Is it possible to connect a doument library to load the contents of a virtual directory in sharepoint online?

I honestly do not know if this is possible as I am in the stages of setting up my first SharePoint online site. The scenario is the following: I have a virtual directory with a large quantity of ...
0
votes
1answer
34 views

Get document from Document Library using Javascript

I am trying to get a document from document library.I am getting the file but I can't get its binary value. $.ajax({ url: fileUrl, binaryStringResponseBody: true, headers: { ...
-1
votes
0answers
15 views

Content from GetFileByServerRelativeUrl ajax call does not give actual content

I am using JQuery ajax call in SharePoint hosted app to get the document content and the content that service call returns when posted and opened says the document is corrupted. There is not much ...
1
vote
1answer
25 views

How to add a custom app to a SharePoint Online site programmatically

I have created and packaged a custom application. The app has been uploaded to App catalog. I can add it manually to a SharePoint Online site and it functions without an issue. Is there a way to add ...
1
vote
0answers
15 views

our changes conflict with those made concurrently by another user. If > you want your changes to be applied, click Back in your Web browser,

I have a weird problem, this works perfect locally but it throws the following error when on Azure, (the first time only), after 2 or 3 refreshes the App works fine. Save Conflict Your ...
0
votes
0answers
43 views

Problems updating a list within App Web from Host Web using SPServices

I am trying to update my list, located within the appweb from a form located within my hostweb using SPServices. I get this error. <?xml version="1.0" encoding="utf-8"?><soap:Envelope ...
1
vote
1answer
15 views

Is it possible to configure SharePoint app in the same domain as host web?

I have this task to create a SharePoint App without configuring a new domain or a sub domain in DNS as mentioned here . Is there any workaround by which we can create the app in the same domain as ...
0
votes
1answer
21 views

Upload javascript file to sharepoint online library saved in wrong format

I am trying to Upload a myfile.min.js to sharepoint online using JavaScript using JSOM but its stored as wrong encosing format var req = jQuery.ajax({ url: sourceFileItem + '?ver=' + ...
0
votes
1answer
34 views

Office 365 - How to refer and apply custom master page in sharepoint hosted app?

I have a custom master page. I want this master page to be applied for an app(sharepoint hosted). The app contains an aspx page. By default, the aspx inherits the master page as below: <%@ Page ...
0
votes
2answers
47 views

Can we retrieve list data using angularjs in sharepoint 2013 hosted app?

I want to retrieve list data by making http calls through angularjs. Is it possible following is my code in Visual Studio for sharepoint hosted app, <script type="text/javascript" ...
0
votes
0answers
10 views

Access List items from Provider Hosted App

I developed an App on SharePoint online using provider hosted model. From clientwebpart, I want to access SharePoint list item using CSOM. I've been stuck on this problem.
0
votes
0answers
15 views

How to get the SP context in an MVC Post action in a sharepoint provider app

I have the following asp.net mvc view in my provider hosted app @{ Layout = "~/Views/Shared/_LayoutPage2.cshtml"; } @using (Html.BeginForm("Submit", "Customize", FormMethod.Post)) { <div ...
0
votes
1answer
21 views

I am getting access denied error for the following code of sharepoint 2013 app

Here is the code on default.aspx page, <%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%> <%@ Page ...
0
votes
0answers
20 views

Added a connection string in web.config file, but still there is a problem in connecting to it

I have added the connection string in web.config file, still I can't see the data. i.e. there is no connection to DB, is there another web.config file overriding this?
1
vote
2answers
34 views

Configure App URL

I am trying to configure app on my VM(virtual machine) SharePoint Foundation 2013, and i am stuck at creating Subscription Settings Service Application This is a link I am follwoing to configure the ...
0
votes
1answer
18 views

how to write caml query to count item created in each month

I need to write CAML query to count items created in each month.It should give me a count of items created in particular month.
0
votes
1answer
25 views

How to customize workflow in the app?

Is it possbile to use an external workflow in a sharepoint provider hosted app? We can only design the workflow in Visual Studio, but our customer wants to use the existing workflow, which is designed ...
0
votes
2answers
38 views

Can we deploy custom apps that is apps made Visual Studio on sharepoint 2013 team site?

If so then how can we deploy it. Because in my case it is hampering the UI of the team site. It is a simple hello world app. How can we add an app for team site I have created an app catalog site for ...
5
votes
1answer
96 views

Isolated (per page) app part communication

Many of you may know this blog post which explains how to communicate between app parts (from the same provider). Unfortunately the post only describes how to communicate between "all app parts of ...
0
votes
0answers
12 views

App in SharePoint 2013 asking for user and pasword

I have an app that was created in Visual Studio 2013, when i deploy it, it gets installed, i can see the link in my Dev site, but when I try to access it, the app keeps asking me for Username and ...
0
votes
0answers
23 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 ...
0
votes
0answers
10 views

Change AllowedRemoteHostUrl after the app is installed

I use a SharePoint-hosted app to allow a 3rd party html site make REST calls into my SharePoint library using requestExecutor.js. That works fine in my test environment, but deployment to other ...
0
votes
0answers
18 views

I just deployed a sample sharepoint hosted app on a “Team Site”. But it's UI is pretty messed up why does that happen so?

I am working on sharepoint 2013 apps. And I want my app to be on a team site. So I deployed one sample test app on a team site. On a developer site it is working fine but on a team site it is not ...
1
vote
0answers
29 views

SharePoint Online - custom ribbon tab on all pages

Is there a way to make custom tab available on all pages of SharePoint Online website? For SharePoint Farm solution you can register a Delegate Control and activate it on a server side like this: ...
1
vote
1answer
13 views

Getting “There is no trusted URLs configured for the app deployment” when making a REST call into an app from an html page in a different server

Here's the setup: SharePoint on premises: http://sharepoint-site.com A 3rd party web site (just an html page, no sharepoint: http://web-site.com/test.html) needs to make a call into sharepoint to ...
1
vote
2answers
37 views

How to effectively demonstrate sharepoint skills?

If I was to signup with office 365 and their hosted sharepoint server, would I be able to create a sample project that could demonstrate to a potential employer that I have the skills? i.e. I ...
1
vote
1answer
33 views

Provider hosted app on premise - Context token null

1) I have created a provider hosted app on premise and able to execute the default code that Visual studio creates in the new default page without any issues. The code is to read the host web title. ...
0
votes
1answer
18 views

Is it possible to update a VS deployed app without changing app's URL?

I'm building a SharePoint hosted app which for now I'm deploying from VS. Every time I redeploy the changes, it completely reinstalls the app also changing its URL (the unique identifier part of it) ...
0
votes
0answers
25 views

Cannot query SP.UserProfiles.PeopleManager from the App Web via REST

I'm testing REST results in the browser with mixed results. The following URL returns the expected result: ...
1
vote
1answer
126 views

Sharepoint REST API - Using caml query and select/expand to get lookup data

I have a Sharepoint app and I use a caml query to filter the data I get back: var caml = "<View><Query><Where><And><Contains><FieldRef Name='PublishingPageLayout' ...
0
votes
1answer
19 views

Deploy Provider Hosted App out of Azure

I need to change hosting of provider hosted app from azure to my own server, Any body have any idea how to do it?
1
vote
1answer
15 views

Development environment for Sharepoint Apps in Office 365

Can anybody tell me the reasons of having a public IP in the Virtual Machine that will host all the Apps that will developed and integrated in Sharepoint Online. If also there is some official links ...
0
votes
1answer
28 views

Apps in a DR farm: ms.sp.int vs ms.sp.ext

During the set-up of a DR farm, we're facing a weird issue with apps. We have both a provider hosted app as well as a sharepoint hosted app deployed to a site using powershell. The apps are also ...
1
vote
1answer
33 views

IIS (8) application Initialization versus a warm-up script

Is the IIS (8) application Initialization really a better alternate then having a PowerShell script running as an scheduled task to keep the loading times down after an IISreset / server restart / ...
0
votes
0answers
7 views

Search items through search service or custom application

I have an application which is written in some language. Now, my customer developed some service using Java based webservices. The question is whether we need to crawl json based webservice and using ...
0
votes
2answers
28 views

Get sub site title that you have access to with REST API

I followed codes sample here with security trim to get a list of sub site titles that user have access. I got Access denied. You do not have permission to perform or access this resource. Is ...
0
votes
1answer
24 views

Executing JavaScript when item is being saved

I have my custom EditForm created in my SharePoint-hosted app and I need to save some values to the item property bag when the user clicks "Save" button. Is there any way to modify the default saving ...
0
votes
1answer
21 views

How to display data into an asp:Repeater from two different SharePoint List programmatically

So basically, I am new in Sharepoint Development and I am having a hard time using asp:Repeater. I want to display all the data from one SharePoint List and find some of its related field in the other ...
0
votes
1answer
17 views

From where I can change the “app authorization policies”?

I have read this article about App permissions, within the article there is section mention "app authorization policies". From where I can change these policies?
0
votes
1answer
35 views

How to Upload the files into the SiteAssets Library by SharePoint Hosted App Model

I want to upload the Jquery and supported files in to the Site Asset library by SharePoint Hosted Apps, I have create a SharePoint Hosted App, added the files in the Modules <Module ...
3
votes
3answers
53 views

How to get SP.File from _layouts/…/images/

I have to implement file copying, in some case i need to copy file using CSOM (for. ex. /_layouts/15/images/itgen.png - default small list icon) into my library. What i have tried is: get by ...
0
votes
0answers
21 views

Why should I use Microsoft.SharePoint 16.0.0.0? what the benefit to use it?

We can build A SharePoint Apps on visual studio using 15.0.0.0 or 16.0.0.0, V 16.0.0.0 will work with SharePoint 2013 with SP1. and 15.0.0.0 will work with both (with and whiteout SP1). my question ...
-1
votes
1answer
33 views

How to know what kind of permission (Full, manage, write) is used for the current App?

I planing to build an JavaScript library to manipulate SharePoint Lists and Items , which developer can use with there SharePoint Hosted apps, and I want to publish on CodePlex, anyway, this JS ...