3
votes
1answer
27 views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
0
votes
2answers
16 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
20 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, ...
1
vote
2answers
68 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
28 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
24 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
17 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
18 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
14 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
41 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
56 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
2answers
106 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
18 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 ...
0
votes
2answers
24 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
46 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
52 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
31 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 ...
0
votes
2answers
77 views

How to display data from Excel file in a Webpart

I want to create a website on sharepoint 2010 which displays data from an Excel file in a Web part. Unfortunately, Excel Services is not available. Therefore, Excel REST cannot be used and due to ...
1
vote
1answer
129 views

Display more fields in Discussion Board SP 2013

Can anyone tell me which function or part of the code I have to override from SP.UI.discussion.js to display extra fields in subject view of discussion board? Other than the fields it has OOTB.
-1
votes
1answer
54 views

Javascript files could not be referenced in my pages

I tried to reference the js files in my SharePoint pages but no way. I tried the follwing links: <script type="text/javascript" language="javascript" ...
0
votes
1answer
35 views

Image Click event inside content editor webpart

I want to add an image click event inside the content Editor web part using the JavaScript only. Here is the scenario which i want. I have 4 images in the main sharepoint page insides the content ...
0
votes
1answer
30 views

Pull data / Replicate list data form Moss 2007 version site to SharePoint Online version site

We have one requirement where we need to pull data / Replicate list data form Moss 2007 version site to SharePoint Online version site. Please can any one suggest what are the approaches are ...
0
votes
3answers
88 views

Get the id value from the page url

In SharePoint how do you get the ID value from the url of the page you are on using javascript( Jquery,ajax, Rest..), e.g. I have the url like so: http:// ddd/mypage?ID=xx I tried before to ...
1
vote
0answers
67 views

Office 365 SharePoint 2013 Send email with attachments

I need to send Email with attachments in Office 365 SharePoint 2013. We cannot do this using the sharepoint designer workflow. Is there any way to call exchange web service from javascript and ...
0
votes
0answers
123 views

SharePoint 2010 webservice call using JavaScript

We are building a HTML 5.0+ JavaScript app which will fetch some data from a SharePoint 2010 intranet site and will display the data. The HTML 5.0 app will be developed for iPad and iPhone. When we ...
0
votes
1answer
69 views

Need to take list item count on 2010 based on the selected value

I have a Sample list named as LISTA. In which i have title column, the title column values are Title A b c A b c c I need to take the count of item count of a,b,c. using soap ...
1
vote
0answers
17 views

Control Access Request Dialog

I want to write in the text area that there in the control of access request programmatically I take copy of the control from sharePoint and added it in application page but I cann't catch it with ...
0
votes
1answer
90 views

Need help troubleshooting JQuery call to workflow

Running SP 2013. I've got SPServices 2014.01 and JQuery 1.11.0 both copied to my site collection and loading in my masterpage, plus I've confirmed they're loading with the page in question. I've got a ...
1
vote
1answer
33 views

Sharepoint Skype status field with skype button

I have a skype name field in a list. I would like to use skype button to it or any other way users can can call or chat by pressing on it. Is this possible? Thanks in Advance
0
votes
0answers
91 views

WebForm_DoPostBackWithOptions not working on SharePoint2010

I am trying to emulate a save action and avoid redirection, so I used the WebForm_DoPostBackWithOptions function, for some reason the item is not being saved eventhough the save button id is correct ...
0
votes
0answers
336 views

UpdatePanel not working inside Parent GridView ItemTemplate

There is a SharePoint 2013 Visual Web Part in our project. It has 4 nested GridViews together. On click of one Image button 3 grids will get expand. Population is also coded on click of that image ...
0
votes
1answer
125 views

Add icon hyperlinks to grouped SP2013 list view

In SharePoint 2013, I want to take the grouped view of a list and add 3 buttons to the left of each item. In previous versions of SharePoint, I would have duplicated the list view using a DVWP but ...
0
votes
2answers
75 views

I am trying to display data that is typed in textbox ,but it gets displayed when the page is loading but disappears after page loads why?

I am making an app using SharePoint 2013 in which user inputs some text in TextBox, and that text I want to display in button click but that's not happening completely the text gets displayed when the ...
0
votes
1answer
46 views

How to display list item name instead of title of ModalDialogPopup confirmation box?

I created modalDialogPopup confirmation box with sharpoint object model. I want to display list item name instead of please confirm(title). See following code: var options = { html: ...
0
votes
0answers
15 views

Issue on CloseDialog() in ModalDialogPopup()? [duplicate]

I created ModalDialogPopup confirmation alert with Yes No options. For this I want to write script If No it will close the ModalPopup and if it is Yes it will execute/ update list items . and here my ...
0
votes
3answers
331 views

What is best practice to add list item in SharePoint 2013 javascript object model?

I need reference code to add an item to a list programmaticaly via javascript object model in SharePoint 2013.. Got many solutions online but not sure what js to include, whether ajax calls are need ...
2
votes
1answer
372 views

Can we access list from other site collection sites using javascript object model?

ECMAScript object model can only be used in SharePoint sites. So you can’t use this object model in an asp.net site to access SharePoint resources deployed in another url as this is cross-site ...
0
votes
0answers
72 views

Unable to execute succeeded() & failed() functions after ModalDialogPopup's CloseDialog()?

I wrote javascript for changing checkbox(IsDeleted) value from No to Yes while clicking on delete button. Here ModalDialogPopup taken for confirmation , if it is 'No' the modalpopup will close the ...
0
votes
1answer
94 views

How to include built in JS files

I'm attempting to follow the instructions from this post. I've added the Sharepoint links to call the JS files however it seems that they are not included by viewing network activity in my broswer. ...
0
votes
1answer
198 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
0answers
29 views

using css js optimization in sharepoint 2013 results with error on SPRequestModule.IsExcludedPath

I'm trying to use built-in dot.net 4.5 feature web optimization (css and js minification) on SharePoint 2013 website and I'm getting an exception on ~ urls: Exception Details: ...
0
votes
2answers
29 views

In which place we should paste Div tags in sp designer 2010?

I have a js file which needs some html div content. where exactly I have to add div tags content in aspx page in SP designer 2010 . Thank you.
1
vote
0answers
53 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
2
votes
4answers
564 views

How to write javascript for Yes No modalDialog Box?

how can we write javascript for sharepoint2010 confirmation ModalDialog popup with Yes NO buttons? Thank you. I wrote like this.. but which is not working.. please anybody help. function ...
2
votes
1answer
75 views

How to upload image file into the SharePoint picture library using ECMA Script

I require code to upload image file to sharepoint picture library using javascript or ecma script. Thanks
1
vote
0answers
81 views

"Unable to attach the process. Another debugger might be attached to the process” issue while debugging javascript? [closed]

I have an issue .. Currently im working on javascript file.. when I want to debug js file by using ie developer tool(F12) , It showing error : "Unable to attach the process. Another debugger might be ...
2
votes
2answers
77 views

Is it possible to change SharePoint CSS via javascript?

I am working on Sp2013 site and want to change the opacity of the overlay. This is the CSS that needs to be used:- .ms-core-overlay { background-color: rgba(255, 255, 255, 0.5); } I am setting ...
0
votes
0answers
118 views

Hide user presence contact card popup in SharePoint 2013

On hovering with the mouse over a user presence I don't want to display the contact card. We have used this to show user presence in a custom Webpart.
0
votes
2answers
62 views

javascript inline function

I have a sharepoint page on which multiple hyperlinks added. due to browser encoding some of them are not redirecting correctly, thus I have to use onclick event for all of them using javascript ...
3
votes
1answer
81 views

launch ribbon action with ribbon hidden

I didn't find anything to help me out, so I'm asking your help. I work with sharepoint 2010. I have a team Site where the ribbon is hidden. (never trust users, thay are evil :p ) On this team site I ...