This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (1)

1
vote
0answers
10 views

Add a calendar view as App part programmatically

I want to add a calendar view to a page, in the XML I have ViewGuid but it does not work. How can I achieve this goal? XML <?xml version="1.0" encoding="utf-8"?> <WebPart ...
2
votes
1answer
15 views

How to upload images to picture library using JavaScript?

I want to upload multiple images to picture library using JavaScript. I am building SharePoint hosted app. In which I have created a Picture Library in side Project Solution using Visual Studio and ...
0
votes
2answers
30 views

Problems while Accessing SharePoint List items in SharePoint 2013 using REST API in NAPA tool

I am trying to access the list item using an APP in my office 365 share point hosted trial environment.It seems like the call REST call is failing, the alert in error function is getting executed. ...
2
votes
1answer
16 views

copy windows sharepoint services list items into another sharepoint server list

My requirement I have one windows SharePoint services 2007 site list. one SharePoint server 2013 site. I have to copy data from windows SharePoint services 2007 site list to SharePoint server 2013 ...
0
votes
0answers
4 views

Cant redirect back to SharePoint app after custom mvc app returns FileStreamResult

I have a custom action (created using a custom app) which does a customized export. The export method is in a MVC app which returns a FileStreamResult to the user. The problem i am having with this ...
1
vote
1answer
15 views

Sharepoint App model permission

Could anyone please let me know whether giving Tenant permission to Full control automatically give me site collection full control? Thanks in advance.
0
votes
0answers
7 views

What's the best way to implement type ahead of Hashtags in SharePoint 2013?

We developed a custom solution(SharePoint Provider-Hosted App), which allows users to post a Newsfeed on List Item (e.g Blog Post, Publishing Page). We almost duplicated every OOTB Newsfeed ...
0
votes
0answers
9 views

CSOM : sharepoint is not logging the message for sharepoint app

I am using Utility.LogCustomRemoteAppError() to log the messages of provider hosted app. But the above method is not working when it is used inside Remote event receiver(item updated etc..). Also ...
1
vote
0answers
12 views

Get List from App Web on App installing event receiver

I am creating a SharePoint app which is provider hosted app. I have added some list in my Solution. (Ex. Solution -> Right Click -> Add New Item -> List). Now I want to insert some data in those ...
0
votes
2answers
25 views

Getting an ItemCount with filtering in SP2013 using REST api

I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items ...
1
vote
2answers
24 views

Provider-hosted apps - options to create

Just for self learning purpose, I want to create few provider-hosted apps, but I don't have any subscription for windows azure service. I have only trial subscription of office 365. My question is ...
0
votes
1answer
13 views

Get link to image from asset library

I try to access an asset library in a SharePoint-Hosted App via the REST API. The app is hosted in SharePoint Online. I get the properties of the images (e.g. the title etc). But I do not find a ...
0
votes
0answers
9 views

Getting the error Request for the permission of type 'System.Data.SqlClient.SqlClientPermission,.." failed

I created a SharePoint 2013 farm solution, and inside it I created a visual web part. the visual web part is calling a class (inside the same project) that is in turn executing an ADO SQL command on ...
0
votes
1answer
32 views

AngularJS creating SharePoint List entries

I am currently struggling to figure out an issue with my project relating to the creation of new SP List items from a SP2013 (Online) App using Angular as its base framework. I am quite new to Angular ...
0
votes
1answer
19 views

Page cannot be displayed message for SP App when deployed using App Catalog

I am trying to deploy a SharePoint Hosted App on my Dev machine by packaging it and uploading in app catalog. App when deployed directly using visual studio is working fine. But when I upload the app ...
0
votes
3answers
37 views

Not able to access sharepoint list using rest api

This is my code function getListItem(url, listname, id, complete, failure) { // Getting our list items $.ajax({ url: url + "/_api/lists/getbytitle('"+ listname +"')/items", ...
1
vote
2answers
20 views

How to create SharePoint provider-hosted-apps without Windows PowerShell

I already had create SharePoint provider-hosted-apps. But with Windows PowerShell there was an error and all SharePoint services was changed so I need to create SharePoint provider-hosted-apps without ...
0
votes
1answer
7 views

The “Page Content” is getting added below the page of app instead getting added on the Mater Page UI

I am working on sharepoint 2013 apps and the content that I am adding is getting added below the master page UI, instead of getting added on the page, I mean it is not getting added on that UI. I have ...
0
votes
1answer
16 views

Upload new image in asset library in SharePoint Online

I am developing a SharePoint Hosted app for SharePoint Online. Now I wondered if there is a way to upload a new image file to the central asset library. I found several code snippets for C#, but my ...
0
votes
1answer
16 views

Sharepoint 2013 app navigate to Site Page

We have created a provider hosted app with few pages in it.Each page in the app has an exit button on it. This app is added on SharePoint pages as app part with different pages showing on each page. ...
1
vote
2answers
35 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
16 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
23 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
20 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
1answer
17 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
25 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
33 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
5 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
44 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
26 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
44 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
24 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
36 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
62 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
11 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
18 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
30 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
36 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
19 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
26 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
48 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
99 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
1answer
18 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
28 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
14 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
19 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 ...