This tag is used for SharePoint 2013 apps development

learn more… | top users | synonyms (1)

0
votes
1answer
117 views

Loop true list using csom

How do i loop true, items in calender list in SharePoint, right now my code only displays the first value from the list and not the second, Can someone help me? function onQuerySucceeded() { var ...
-4
votes
2answers
90 views

Get all items from list

How do i get all items from list? Here is my code, function checkFreebookingdateTime() { getListCalender = document.getElementById('CalenderListDrop').value; spHostUrl = ...
0
votes
0answers
8 views

Unable to set collListItem or nullreference

Here i am trying to get the items from the dates between 8-17 on the date 12-04 The result works fine, I am trying to do the same using an SharePoint-Hosted app, Here is my code, it takes the ...
1
vote
0answers
175 views

Executing PowerShell script from SharePoint 2013 WebPart

I've been trying to execute my powershell code from a button click on a SharePoint Webpart. I came across this solution on a forum post. private string RunScript(string scriptText){ Runspace ...
1
vote
3answers
2k views

Adding Twitter Feeds on SharePoint 2013

I want display my twitter feeds in the Home Page of my intranet site. How do I go about it?
0
votes
1answer
45 views

app-only policy in SharePoint Hosted app

Is it possible to use app-only policy in a SharePoint-Hosted App? All examples on Internet are using Provider-Hosted App which uses Managed code. I would like implement it in a SharePoint-hosted app ...
0
votes
3answers
109 views

Query items from list between Time ranges

I am trying to view all items on time between 08:00 to 17:00, I get only one item count even if I have more? var fromTime = new Date(result); fromTime.setHours(8); var toTime ...
0
votes
1answer
33 views

How to get all items

this code i have only gets current item that are added, but i want to get all items that are created, ntext.executeQueryAsync( function() { var camlQuery = new SP.CamlQuery(); ...
0
votes
0answers
25 views

Get the ID of the current user using REST API [duplicate]

I want to get the ID of the current user using REST API. This is the function: function ReturnIDUser(url) { //Url should be _spPageContextInfo.webAbsoluteUrl // var item = ...
0
votes
0answers
40 views

CAML query to get all booked events in SharePoint calendar

How could I find all booked events in an SharePoint-Calendar based on DateTime? Any suggestions?
0
votes
0answers
19 views

Show custom list from host web

I am developing sharepoint hosted app.I have custom list on host web.Is is possible to show that custom lists default view into app's page. I want to use OOTB functionality like add ,edit and delete ...
0
votes
0answers
12 views

Check DateRange free Date and time in Calender

I am trying to see if there is already in the calender we say from 2014-11-28 10:00 to 2011-11-29 10:00 an event then displays 5 days before startdate and 5 day after EndDate, display to the user the ...
0
votes
1answer
19 views

How to set select option to list value

$(document).ready(function() { getListCalender = document.getElementById('CalenderListDrop').value; spHostUrl = decodeURIComponent(getQueryStringParameter('SPHostUrl')); context = new ...
0
votes
0answers
97 views

Sharepoint hosted app blocks script loading because of mime type mismatch

I'm putting together my first sharepoint hosted app (sharepoint online) and I've been successfully running it using VS2013 with no problems. So I went to deploy it by packaging the app and uploading ...
0
votes
0answers
9 views

SharePoint's - need oriëntation

I've been learning how to work with SharePoint for a few weeks now, I've learned how to make a list, a group, tasks, libraries, content types, ... Our company has several departements, one of which ...
3
votes
2answers
253 views

Installing SharePoint Hosted Apps

I am trying to build a SP Hosted App (On Prem). What is the difference between installing a SharePoint app using Powershell (Import-SPAppPackage and Install-SPApp) vs uploading to the app catalog. I ...
0
votes
0answers
13 views

How to deploy Sharepoint 2013 provider hosted using Visual Studio 2013

This sounds so general that I can Google it my self but it is a lot harder than I thought. I mean most tutorials are already deprecated, I can't seem to find a tutorial that feet my current ...
0
votes
0answers
48 views

“appContextSite()” is giving me the wrong site

Look in the function "GetSubSites" line 6 where I have written a comment. Can you please tell me why? appmanifest permissions => "Web" is set to "Full Ccontrol". Default.aspx: <script ...
0
votes
2answers
114 views

Deploying Sharepoint App 2013 using provider hosted website error

I am having a lot of problem publishing my Sharepoint App, the 2013 version should be an easier version to process but I can't seem to make it work. I'm using currently Visual Studio 2013 and this ...
0
votes
1answer
188 views

Open document in SharePoint 2013 using C# or VB.NET & edit the content & then save it automatically to SharePoint 2013

Please provide a code example in C# or VB.NET using SharePoint Client Side Object Model or Server side - Microsoft.SharePoint.dll which allows the user to open the document in SharePoint 2013 from a ...
0
votes
0answers
29 views

Server Side Rendering Content By Search Webpart

I ran into an issue with Content By Search(CBS) web part which literally halted me development activities. I have a CBS web part which is server side rendering, that queries and returns the result as ...
1
vote
2answers
72 views

managed code in SharePoint 2013 apps

Can we write managed code in SharePoint 2013 apps and if yes then in which app: Sharepoint hosted app, Provider hosted app, Azure(Auto Hosted App). If yes then can someone please tell me how
0
votes
0answers
53 views

How to deploy workflow based on when listitem added to list

My app are deployed to the web host, and my list are in the host web, when adding something to the list from the apps, it adds, but i also have a workflow based on the list that are in the host web, ...
0
votes
1answer
77 views

Multiple Asynchronous query chaining

I have a Sharepoint 2013 application that has multiple (3) ExecuteQueryAsync calls in 3 different functions. Two of them are referring to the Project Server project context, and one is referring to ...
2
votes
1answer
1k views

sharepoint 2013 app create list in host web

Right now I have a SharePoint-hosted app and and list in it, so right now the app and list are deployed in the Web host, how can I make so my list are deployed in the Host web? UPDATE Failed to ...
0
votes
1answer
73 views

Creating folder is not possible in app web in sharepoint?

I am creating sharepoint hosted app. In that I created one list. Now I want to create folder in that list when I click on the button. Since it is in the same domain I am not using any cross domain ...
1
vote
0answers
97 views

Uploading files >40MB using SP.requestexecutor to sharepoint online hangs the browser

I'm developing a provider hosted app that allows the user to upload files to document library on the app web, this means I have to use SP.RequestExecutor.js I did finished the code and it works for ...
0
votes
0answers
64 views

Best practice for displaying SharePoint Forms in a WPF application?

I've got an existing SharePoint app that I'm trying to migrate from Web-part based JavaScript to a WPF application in C#. As part of the original app, I used the Client Object Model to open existing ...
0
votes
1answer
17 views

Issue with Content by Search Webpart

I'm facing an unusual issue with content by search webpart in SP2013. On alternate page refresh, the search result is not rendered in the page. On first page load the search result is rendered, then ...
0
votes
0answers
12 views

Customize SharePoint Page view for different roles

We have a SharePoint site for the project team. When a user logs into SharePoint we would like the user to see a page that is customized for his role in the project. The project roles are Developer, ...
0
votes
0answers
62 views

Easy way to change the Back to Site link on a Sharepoint 2013 app

I have the client side chrome control in my SharePoint 2013 app which includes the standard "Back to Site" link which get populated by the SPHostUrl ( i think by the sp.ui.controls.js file) I need to ...
0
votes
0answers
79 views

Sharepoint 2013 Apps Configuration on Premises

While configuring our SharePoint environment for APPS we Created a Generic/Blank Web Application as I was getting 404 error until I created the blank web app on port 80 But after that i am getting ...
0
votes
0answers
25 views

Is it possible to convert sharepoint app into asp.net web forms app?

I have a sharepoint app that contains user controls. So What is the best and fast way to convert sharepoint app to asp.net web forms app?
0
votes
0answers
41 views

Sending email list column from a workflow in an app for SharePoint 2013 guide

I want to send an email to logged in user based on a List in a SharePoint-Hosted App, I want to send the content from the list that the user have added? I want to use Visual Studio to make it ...
1
vote
2answers
40 views

Can i edit the default calendar list code for hiding weekend

Can i edit the default calendar list code for hiding weekend. I want to edit list i am having the visual studio ,designer. Please help me
0
votes
0answers
29 views

I am trying prevent booking in sp-calender

iam trying to prevent double booking in a SharePoint calender, but dont now what the problem is, here is my code. (function ($) { $(function () { $("#datepicker").datepicker({ dateFormat: ...
1
vote
2answers
26 views

Storage demand and best options

I am an IT admin and am having problems with increasing storage demands from my users. They constantly email big file attachments and I have to keep purchasing more storage space. In order to fix that ...
0
votes
1answer
52 views

I can't insert access application

When i try to insert access aplication to my sharepoint 2013 site - it start to add but in the middle i get error "Sorry, there was a problem when adding the app. Click to try again" and it doesn't ...
0
votes
1answer
49 views

String was not reconized as a valid dateformat

(function ($) { $(function () { $("#datepicker").datepicker({ dateFormat: 'yy-mm-dd' } ); $("#timepicker").timepicker({ timeFormat: 'HH:mm:ss' }); ...
1
vote
1answer
117 views

Deploy Sharepoint Provider hosted App through CSOM

I see that SharePoint is exposing below CSOM Methods. •Web.LoadAndInstallApp method - Uploads and installs an app package to this site •Web.LoadAndInstallAppInSpecifiedLocale method - Uploads and ...
1
vote
1answer
212 views

Error in accessing Office 365 Developer site's URL in SharePoint App [JSOM]

I have created a SharePoint App for my Office 365 Developer site. The app is throwing an error when trying to access the Site's url. var context = SP.ClientContext.get_current(); var web = ...
0
votes
1answer
88 views

Add Modified by and Date Modified to Custom App

I created a custom Sharepoint app which our business uses to track projects. I'd like to add to columns to one of the tables, one for last modified and one for last modified by (that will show who ...
1
vote
2answers
449 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
0
votes
0answers
9 views

Can we place X-UA-Compatible in pagelayout? Because each page in sharepoint has different compatibles in my site

Master page will be having X-UA-Compatible but I need it in pagelayout as different pages are having different modes of compatibility in my site.
0
votes
1answer
82 views

Approval Status can not be update

I'm a newbie in Sharepoint. Now I'm working in a company which has Sharepoint 2010 systems I want to create a content approval workflow. For the beginning, I was trying to create content approval ...
0
votes
1answer
56 views

SharePoint-hosted app Query

I am trying to Query were the eventdate and eventend are. var result = listItemCustom + " " + listItemFromTime; newItem.set_item('EventDate', result); var result2 = listItemtoDate + " " + ...
0
votes
0answers
114 views

Sharepoint 2013 state machine workflow change state on item update in another list

I have 2 custom lists. I have State machine workflow with One list. But I need to change the state of workflow based on item updated in another list. I can do this in sequential workflow by ...
0
votes
1answer
94 views

Anonymous access icon not visible sharepoint 2013

I'm trying to make my sharepoint app hosted on sharepoint 2013 visible from anonymous users, but the anonymous access button is missing....anyone know how to make it visible? Thank you Mario
0
votes
1answer
83 views

query calender list so user cant book same date and time

Update var context= SP.ClientContext.get_current(); var web = context.get_web(); var list = web.get_lists(); var targetList; function createItem() { targetList = ...
0
votes
2answers
37 views

Save Date working but time wont save

i am trying to save from date and from time to a calender list in sharepoint. var listItemCustom = document.getElementById('datepicker').value; alert(listItemCustom); var listItemFromTime = ...