Tagged Questions
0
votes
0answers
14 views
Javascript to show certain webparts
I am using http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx to show webparts in different table.
I have two people search results web parts and 2 paging. Each webpart ...
1
vote
1answer
22 views
SharePoint 2013 JSOM User Key From Person Field
Can anyone help me to get the user info from a person column using javascript? So far I have been able to read the list item and return a SP.FieldUserValue from which I can get a numeric Id (not sure ...
1
vote
0answers
19 views
SharePoint 2013 - create site collection programmatically
With the introduction of Apps, and solutions going away. What is the best way to create a site collection programmatically? I am on-premise. Can it be done with JavaScript? I can create sub-sites with ...
0
votes
0answers
20 views
Open Sharepoint folder with windows explorer from CRM 2011
I've been struggling with this issue for a while now,
and hope maybe someone in the community can provide a resolution.
I have a requirement which is to put a button on the a CRM account form which ...
0
votes
1answer
17 views
Query SharePoint List Using JavaScript
I'm trying to obtain values from a SharePoint 2010 list. The List name is "SitesList" at the URL of "servername/sites/dev/Lists/SitesList/AllItems.aspx". The Columns that I would like to print on the ...
-1
votes
0answers
18 views
Sharepoint as REST API Server [on hold]
I am going to rewrite an application previously developed using Sharepoint 2007. I am not well versed with Sharepoint and the time allotted for the project is very limited. The client wants to keep ...
0
votes
1answer
16 views
Load data in a webpart lifecycle works first time, but in a popup reload it doesnt refresh
So, here is the scenarion
I have a webpart that loads some data.
I have in another place of the page a button, that opens a popup, when the user does something in that page (create action), the popup ...
0
votes
0answers
15 views
SP 2010 JavaScript Rich Text Editor Formatting
I have been running around in circles on this one. I have a custom list item edit form in SharePoint 2010, and have everything working well except for one thing; the Rich Text fields.
I am currently ...
0
votes
0answers
21 views
Return List<string> to JavaScript function from AJAX callback
My task is to bold the dates of Sharepoint:DateTimeControl
I am returning List which contains dates to be marked bold in SharePoint:DateTimeControl
Following is the main function which calls asyn
...
0
votes
1answer
32 views
Backbone's model.destroy() not working for SharePoint 2010 REST list items
I've got a SharePoint 2010 app I'm building that uses backbone.js to retrieve items from lists. So far I can .fetch() and .save(), but the .destroy() method just doesn't do anything. The success ...
0
votes
0answers
16 views
SharePoint Lists x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Type has already been registered
So I'm new the SharePoint development and am failing at the first hurdle. I have created a new SharePoint project in VS2012 for SP2013 and started to create a site structure using a handful of Custom ...
1
vote
2answers
44 views
display sharepoint library items with javascript
I have 3 libraries and i would like to display the library items names. If I want to display the items of only one library, everything is ok, but if I'm looking for the items of two or more libraries, ...
0
votes
0answers
25 views
jQuery.noConflict() and Sharepoint 2010 WebParts
I've made two webparts for Sharepoin 2010 with jQuery plugins fancybox (slider) and cycle (slider). I need to locate both webparts on one page. But it doesn't work. I tried to use jQuery.noConflict() ...
0
votes
1answer
61 views
SharePoint List items with the same titels using ECMAScript
What i need is to add a script to Visual Web Part witch would display ListItems with same titles in textbox by clicking button.
As a foundation i used this script:
<script ...
1
vote
1answer
34 views
What kind of date format is this 2013-07-03T15:00:00Z?
I'm seeing a date format like this 2013-07-03T15:00:00Z and I wonder what it is. I need to create a date format like this from my list of dates and I don't know the meaning of T and Z.
The dates ...
0
votes
1answer
73 views
if conditions is false then prevent default in SharePoint 2010 List new form using jquery
The SharePoint 2010 List new form has 10 checkboxes. I want to select only 3 (also not less than) of them.
I used jquery for this but when condition is false then form does not stop doing submit ...
0
votes
0answers
43 views
SharePoint 2010: Create an xml document in library and write data from lists using JSOM/Workflow
Is there a way to create xml files automatically in a SharePoint library and include data from lists? I can only use SPD/ECMA/JSOM or workflow approach as this is my development limitations...or even ...
0
votes
0answers
82 views
How to pass large data from web page to SharePoint 2013 list using REST api - POST method?
I am using SharePoint 2013 REST api to store data from web page to list.
Get data from web page
var Data = {
'Title': Title,
'Sections': section,
...
0
votes
0answers
107 views
jQuery multi select drop down and SharePoint
I'm hoping I could get some help with multiple drop down selection. I have a SharePoint jQuery form that I created and I am trying to populate the multiple selection drop down with data. The data in ...
0
votes
1answer
49 views
SharePoint deploying javascript files load blank
Working on getting javascript files deployed with our solution.
Added a module for the scripts with jquery-1.7.1.min.js added to it for example.
Elements.xml is:
<?xml version="1.0" ...
0
votes
1answer
35 views
dispform.aspx open link in new tab
I am using Sharepoint 2010 and I have a requirement where I have to remove all the hyperlinks from dispform.aspx but not to the file name so that users can open the file from there. I achieved this ...
0
votes
0answers
53 views
how to get sharepoitn list field value using javascript in MOSS 2007
I have a list called "EventSource" in that i have added one ECB menu item called "Sync Event". In the list there is a field called EventFlag . Based on this flag i want to Enable/Disable the ECB menu ...
1
vote
2answers
35 views
Populate Multi Select drop dwon
I have a SharePoint jquery form that I use in a CEWP and one of the elements on the form is a Multi Selecion element, which is a drop down list that allows for multiple selections. Ex:
<select ...
1
vote
3answers
95 views
CAML Query on a SharePoint list is returning the ID and the value - how to just get the value?
This question is about a SharePoint List. The code is using the SPServices, jQuery, and JavaScript.
Some fields for the columns are lookup fields, and I am getting both the ID and the value of the ...
0
votes
1answer
21 views
Sharepoint 2007 Column character limit
We are having problems with uploading very large character strings using the .asmx webservices to different lists we have on a site (300000 characters about). I haven't been able to find the character ...
0
votes
2answers
135 views
Insert a WHERE clause in a CAML query - using SharePoint, SPServices, JavaScript, and jQuery
I am trying to insert a WHERE clause into my CAML query to filter a date column for NULL (I want to return all rows for which there is no date in Assign Date the column).
This is for a SharePoint ...
2
votes
4answers
304 views
Open PDF with javascript
Is there a way to open a PDF document using JavaScript (or C#) and have it automatically open with Acrobat, let the user edit document and upon the the user closing document, save back to server.
...
1
vote
2answers
57 views
0
votes
1answer
65 views
Generating a hyperlink from variables or other method (using JavaScript, jQuery, and CAML for a SharePoint List)
This is a question on how to get a hyperlink into a SharePoint table where the hyperlink has to be generated from variables containing certain parts of the link (unless there is a different or better ...
1
vote
1answer
101 views
Getting a hyperlink field/column to display data as a hyperlink from a SharePoint List, using JavaScript and jQuery
I have what I think should be a simple issue to resolve, but it has taken me way too long to figure out.
The background on this is thus: basically what I have is a SharePoint List that contains task ...
-3
votes
1answer
76 views
Display simple c# in “sharepoint online”
I am using "SharePoint Online" and I'm new to it. I have descend programming background and I need more Info on customisation of this service. I've never worked with .NET before (WHAT?!), but I would ...
0
votes
1answer
342 views
Get all items selected from a list Sharepoint with jQuery
I would like to get the number of selected items in a sharepoint list when the selection of an element from the list.
Here is my code:
$("table.ms-listviewtable td.ms-vb-itmcbx.ms-vb-imgFirstCell ...
0
votes
1answer
146 views
set taxonomy field multiple values
I'm creating a sharepoint hosted app which is based on javascript only. I wanted to update a multivalue taxonomy field in a list so I wrote this function which didn't work. there is a very little ...
0
votes
0answers
54 views
Is it possible/feasible integrate non-Microsoft REST client application in to Sharepoint 2013 OAuth to obtain an access token for a REST client?
MSDN gives a javascript REST client example: http://msdn.microsoft.com/en-us/library/jj164022(v=office.15).aspx but they don't explain how to get the auth token.
In this question it is stated that ...
1
vote
1answer
111 views
how to write/modify a xml file in SharePoint using a client side language(JavaScript)
Currently I'am working on a ASP.NET project and I have written a C# code to write/modify my XML document, which I'am using to structure my portal.
I now have to migrate my project to SharePoint, ...
0
votes
1answer
56 views
How to show a wait message OR loading image when a write operation is being performed using spapi_lists.js library.?
I am using SPAPI_Lists.js and SPAPI_Core.js libraries to update/add records to share point 2007 lists.
i want to show a wait message OR loading image still the write or read operation is completed.
...
0
votes
2answers
235 views
SharePoint add javascript event to a editForm.aspx page
I have a Sharepoint list where I want to customize the editForm.aspx page with javascript.
The problem is that I can't manage to add any events to the controls in that page. I am able to get a ...
0
votes
1answer
103 views
How can I use javascript to check if a sharepoint textfield contains a specific word, when the textbox text changes or get added?
I have a weird sharepoint textfield that look like this:
<div class="ms-taxonomy-fieldeditor ms-taxonomy-fieldeditor-standard ms-taxonomy-writing" title="Category" style="width: 364px;">
...
0
votes
0answers
54 views
PreFill LookupField SharePoint
I added a bit of Jquery/Javascript code in an EditForm.aspx to: get the name of the folder and get the last part of it: the contractnumber. I then set this in a lookupfield to a list with >>>> ...
0
votes
0answers
93 views
Field Conditionally Required in Sharepoint Designer 2007
I'm having a problem trying to make 2 fields visible and required only when a dropdown is "Customer"
And an opposite condition where one field is required\visible when
fieldX = Foo,
and
...
0
votes
1answer
36 views
Sharepoint Web Page iFrame Border issue in Internet Explorer
I have set the iframe properties as
frameborder="no" or frameborder="0"
still I could not remove the left border in IE Browser, but its working Chrome & Firefox browsers.
How do I get rid of ...
0
votes
3answers
78 views
SaveFileDialog disables webpart buttons in Sharepoint using C#
I have button that opens a saveFileDialog to save a downloaded file to a clients PC.
After you save the file, or press cancel, the buttons on the web-part becomes unresponsive.
Why does this ...
0
votes
2answers
334 views
How to retrieve a sharepoint announcement list in HTML Page
I need help with pulling a sharepoint announcement list using an HTML page. I have tried numerous examples from various sites, however none seem to work at all. So I am obviosly clueless or not ...
0
votes
3answers
115 views
How to add javascript code to a LinkButton via server code c#?
I am creating a visual webpart with a linkbutton, the linkbutton is supposed to open a modal popup.
I already have the function defined, but I am not sure how to make the link button to fire a ...
0
votes
1answer
142 views
Trying to count SharePoint List Values with JavaScript
Hello stack overflow community...
Thanks for all of the help that you have provided so far even though I have never posted on this site. I am a beginner... so that means most of the stuff that I ...
0
votes
0answers
65 views
sharepoint webpart following scroll in webrowser…? jquery? or what?
i have a webpart that i would make that the webpart follows the windows on the right site, so if i scroll down on the page the webpart are following the the screen and scroll??.. I want this because ...
0
votes
1answer
189 views
401 when trying to implement CORS for SharePoint
I would like to access listdata.svc (a sharepoint service) located on domainA.contoso.com from a web application located on domainB.contoso.com - Authentication seems to be an issue.
When attempting ...
0
votes
1answer
164 views
Call Javascript method from code behind c#
Please help me solve this challenge:(
I have below code:
Label lblVideoAssessment = new Label();
lblVideoAssessment.Text = "<a href='../SitePages/Assessment.aspx?cat=" + ...
0
votes
0answers
75 views
Javascript SOAP action in sharepoint
Im tyring to run a basic javascript soap action on a content editor web part in sharepoint but it does not work. If I take the code out of sharepoint it runs fine in IE, why would this be?
<button ...
1
vote
2answers
455 views
Why is SP.js not loading?
I have researched this pretty thoroughly and everyone says that the code I have below should load SP.js, but I cannot get it to load.
Debugging I get:
NewForm.aspx, line 1667 character 5
...