0
votes
1answer
26 views

SharePoint 2013 App Office 365 copy list item

I try to build an SharePoint hosted app, have started with a custom menu action. When I choose it I want to copy the selected item and automatically change some metadata for it. Problem is I can't ...
0
votes
1answer
11 views

This list is currently being managed by Project Web App, and cannot be edited directly

I got this error when trying to update the Tasks: {"error":{"code":"-2130575223, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"This list is currently being managed by ...
1
vote
1answer
21 views

How to write a WCF Service for SharePoint 2013 hosted App?

I've deployed a WCF Service in SharePoint. I am able to retrieve data from it using URL: http://nit-hv8-itr4:1111/_vti_bin/PresidentsService.svc/GetAllPresidents The problem occurs when I try to ...
0
votes
0answers
36 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
0answers
14 views

How to highlight Radio button text in survey list sharepoint 2010

I have the below Jquery script to highlight a text in the Survey list sharepoint 2010. It is working fine for custom list but not for Survey list. Can you please help me . Below is the script and ...
1
vote
1answer
55 views

Updating document metadata using Javascript or jQuery

I have a large, complicated script that copies selected documents from Library A to Library B when a user clicks a button. At the end of the script (as a final step), I'm calling the three functions ...
0
votes
0answers
23 views

Click to Auto-Upload Templated File in SharePoint

I have a unique use-case that I am trying to address for a project that I am working on. I am looking to find a way to bind an onclick event to the SharePoint file-upload function to upload a file ...
0
votes
1answer
68 views

Uncaught TypeError: undefined is not a function

I access my web in javascript code in SharePoint 2013. I'm using Jquery and KnockOutJS for my other functions. So I have added following urls above my code. <script type="text/javascript" ...
0
votes
0answers
56 views

Uncaught TypeError: Cannot read property 'parentElement' of null

This one is weird I hope somebody can help me. I wrote a JavaScript with KnockOutJS code to display items in a custom list, When I try to run the sample, I get the following in Google Chrome's ...
0
votes
1answer
111 views

SharePoint 2013 REST api to update list item- Uncaught ReferenceError: etag is not defined

I try to update my sharepoint list using REST api. But following code throws exception in browser "Uncaught ReferenceError: etag is not defined " Can someone help to resolve this issue? // update an ...
0
votes
1answer
45 views

SharePoint 2013 Drag and Drop Uploader 'drop here' box placement

I've been working on a SharePoint site that's been custom branded and run in to an issue with the drag and drop uploader in the document libraries. For reasons unknown to me, the 'Drop here...' box ...
0
votes
1answer
87 views

sharepoint 2013 - how to run sp.js and callout.js at the same time?

I am currently experimenting with the following script to create a pop-up form on my sharepoint 2013 site. I am addnig the code to a script editor web part... <script type="text/javascript"> ...
0
votes
1answer
25 views

How do I retrieve a user's LogIn name through the Created By colum using javascript

I have a requirement to retrieve the user email from created by column. I have tried with get_lookupValue(), but I got system object error message. Is there any solution to retrieve the user email ...
0
votes
0answers
26 views

SharePoint 2013 how to add jquery image loader for image library images

I have added an image library in my SharePoint 2013 site I want that when a user clicks an image it should be loaded with any JQuery image fancy box library to display full image with pup up in ...
1
vote
0answers
65 views

Add Read more link in Summary view of Announcement web part sharepoint 2013?

I have added an Announcement Web part in my SharePoint 2013 in summary view I want to add read more link please help me. I am new to SharePoint Development I want to add a Read more link when my ...
3
votes
2answers
202 views

SharePoint 2013 Add Read more link in Announcement web part each list items

![enter code here][1]I want to add Read more link in my Announcement Web Part I followed this blog post: ...
1
vote
2answers
45 views

jquery in SharePoint 2010 layouts folder not working

I have placed the jquery library script in the layouts folder on my server: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CustomScripts for what ever ...
1
vote
1answer
90 views

Version Conflict issue with JavaScript Client Object Model code

I'm running into an issue where I'm trying to modify a metadata field on a document within a document library. My code, will check out the document, update the metadata field and then check in the ...
0
votes
0answers
61 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
1
vote
1answer
66 views

How can I copy lookup field value to another site list in lookup filed?

How can I copy lookup field value to another site list in lookup filed? Situation, I’ve a main site list , list1 and there have lookup field from list11, I've build sub site and copy my list1 from ...
0
votes
1answer
41 views

How do I get the immediate child items in a List with javascript and SP.Service?

I am making use of an SP.Service to retrieve the items of a particular list (Site Assets). I know the way to retrieve all the items under the list: using a caml query and the function ...
0
votes
2answers
162 views

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call works in site. But when I enter the REST url in browser it returns the result. So nothing ...
0
votes
1answer
36 views

How do I get the url pointing to a document library?

I am trying to retrieve all document libraries in a site collection using an SP.Service and place them in a container with their correspondent url pointing to the internal library. So far I have ...
5
votes
3answers
245 views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
2
votes
0answers
27 views

SP2013: Tabular view incompatible with JSLink checkboxes?

I'm using a JSLink file to replace a "Single line of text" column with a custom checkbox. For some reason, when "Allow individual item checkboxes" is enabled my checkbox won't work - I can't even ...
0
votes
1answer
59 views

How to validate parent list data while creating new child item

I am having a parent list and child list. Parent list (Contract) is having an Contract Num, Contract Amount, Start Date and End Date columns. Child list (Project) is having and Project Name, Parent ...
0
votes
1answer
64 views

SP2013: Custom script interfering with OOTB ribbon controls

I've got a weird one here, and my JavaScript/SP2013 skills aren't up to the task apparently. I've got a custom script that I made by bashing together other scripts & snippets from around the web. ...
0
votes
1answer
99 views

Displaying list from another site collection, want items to open in a modal dialog

Here is the code I'm using. Keep in mind that I know practically nothing about javascript and borrowed the code from someone else. He hasn't had time to look at it yet. I'm just trying to modify it to ...
0
votes
0answers
15 views

custom page allowing verification of existing item

The scenario is that I need a multi stage pages. Ideally I would like to do this on a single page but for simplicity 2 pages are fine. On the 1st page I need to verify if an item exists in the ...
1
vote
2answers
36 views

Get the field “Created”

I have a list "Consult", and I want get the field "Created" this is my code: function consultWorkOrder() { try { var customlist ; var clientContext = new ...
7
votes
2answers
200 views

Disable ECB flyout menu in Sharepoint 2013

SharePoint 2013 introduced a new flyout on list items instead of a drop-down context menu. When you click the 3 dots next to a list item or document, you get the flyout. You then have to click the 3 ...
0
votes
2answers
248 views

How to find relative URL of a document library using JavaScript?

What I am trying to do is to enable the dialog with the metadata information when I drag and drop a file in a document library. The same dialog that appears when you upload a file through the +New ...
2
votes
2answers
270 views

Copying files AND folders via REST/Javascript

I'm trying to build a the following functionality into a library view: Each document has a checkbox beside it User checks off which documents/folders they want to copy User clicks a "Copy Files" ...
3
votes
1answer
301 views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
0
votes
2answers
30 views

Change By Name in sharepoint Blog site

How can i change the by name in blog site?. I checked that it is redirecting to /_layouts/userdisp.aspx?ID=17. I can get this id by running the below power shell script. But how can i change it in the ...
1
vote
0answers
35 views

To Scroll to the top of page

I'm using angularjs & sharepoint 2013. I have implemented the SPA model in one page where the entire page refresh may not happen. Here, the scroll bar is not always going to the top of page since, ...
2
votes
2answers
156 views

How to retrieve all items from a list by javascript object model and store it to array

I'm new to JavaScript Object Model in SharePoint 2010 and want to get some idea of that. I wrote below code to get all list items of a SharePoint library. This works fine and return all items. But I ...
0
votes
1answer
37 views

sharepoint 2013 - reliable way to view original HTML code when in edit mode

I have JavaScript that manipulates the DOM for some of my pages. The HTML changes and stuff happens. But it would be nice, if there was a feature in SharePoint that allows us to put in HTML that we ...
1
vote
1answer
37 views

Compare Credentials to his one's own login credentials

I would like to compare the current user credentials with my UserAccount and if they are identical then I would like to have an alert, but It doesn't work. I don't know why.I hoept that you can help ...
0
votes
0answers
45 views

Get “QuickLinks” of user profile in JavaScript

I am using the following code to get user profile properties in JavaScript. I can fetch the first 3 properties but the 4th property "QuickLinks" is always an empty string. I have added some quick ...
0
votes
0answers
66 views

How to use Javascript to update a Discussion Board reply?

I have a Discussion Board with a series of replies. Each 'Message' (Reply) Content Type has an 'Answer' dropdown with the values 'YES/NO' (NO being default) I have created a hyperlink on the property ...
0
votes
0answers
49 views

Changing the link of the 'Reply' button in a Discussion Board

I have a Discussion Board and within this board a user creates a 'Discussion'. When a user wants to reply to this 'Discussion' they click the 'Reply' button and the reply entry appears. By default ...
0
votes
1answer
70 views

How to include JavaScript and CSS in SharePoint 2010

Hi I am creating some web parts in SharePoint 2010 non sandboxed solution. I want to include some JavaScript files and CSS on each page of my site. But I don't want to include my files on each web ...
1
vote
3answers
119 views

Triggering javascript on a SharePoint Form Dropdown Field on Page Load without clicking

I have a NewForm.aspx page which is populated automatically via a query string in the URL, e.g. newform.aspx?Title=New Item&WorkArea=DHIS&Location=London I have some javascript code which ...
2
votes
3answers
1k views

Set default value in people picker javascript/jquery

I want to set current logged in user to people picker by javascript. I can retrieve the value of user(lets say in var user).But how to set it to people control. Any help is much appreciated.
0
votes
0answers
23 views

Dilemma on pushing scripts files into SharePoint

As per MSFT recommendation best place to keep Scripts(.js file) into Document Library on that site collection, which also suited my application till now. Earlier we used to have 10 site collections ...
1
vote
2answers
29 views

Accessing Webservice from SharePoint 2010

My webservice is hosted on one domain and my SharePoint site on another domain. I wanted to access my web service methods from client script (in SharePoint). What I am doing is Added reference of ...
0
votes
2answers
195 views

Jquery to display date in MM/DD/YYY in sharepoint client object model [closed]

In My sharepoint list i have a Duedate if type DateTime.Using Client object model when we fetch the value from this Field, it is displayed in the below format(Mon Jun 23 GMT+0530 2014).How to convert ...
0
votes
1answer
226 views

Reading excel cell value in Excel Web Access Webpart

I need to read excel cell value.Excel web access webpart is used to display excel file stored in a SharePoint 2013 document library.I need to use Jquery to read the data of excel file currently ...
0
votes
0answers
61 views

Permission Denied JavaScript Error

I am attempting to place page viewer web parts on one of my firm's intranet SharePoint sites. For some reason, the page that is loaded through the web part won't function properly. The page itself ...