2
votes
3answers
56 views

Use list or doclib?

I've got a list with a few thousands items. (It is a list of users that have completed some course.) Sometimes a user would like to have a course diploma printed. How could we achieve this? ...
0
votes
1answer
177 views

Lists with null columns not returned when retrieving custom lists with Caml query and Javascript

I am retrieving a list with caml query and Javascript. Everything works fine besides the fact that I have an image column and not all lists have that column populated: Here is a sample query I am ...
1
vote
1answer
1k views

Creating dynamic accordion from a custom list using jQuery and jQuery UI in SharePoint not displaying as should

I am trying to dynamically build accordion from list of items returned using JavaScript, jQuery and jQuery UI. Below is my code: <div> Search List <input type="text" ...
1
vote
1answer
55 views

modify view of list in JS

I have this code: window.SFW = window.SFW || {}; window.SFW.urgentAlertsItem = { customItemHtml: function (ctx) { var urgentAlertsItemHtml = "<div class='urgent'><h2 ...
0
votes
1answer
76 views

JSOM CSOM query only get dates that are not passed todays date

I have a list which contains an end date, I want to query this list and only collect the items which end date have not passed todays date. Once this has happened I want to count the new queried table. ...
0
votes
1answer
97 views

show progress bar or loading image while running spd 2010 workflow

I have a SP 2010 custom list which is fetching data from multiple lists. So I have written a workflow in SP Designer to get data (auto populate) from all lists. It's working fine, but taking more ...
0
votes
0answers
30 views

finding individual list items and updating css

window.SFW = window.SFW || {}; window.SFW.urgentAlertsItem = { customItemHtml: function (ctx) { var urgentAlertsItemHtml = "<div class='urgent'><h2 class='name'>" + ...
1
vote
3answers
80 views

Integrating jQuery into the solution

I have a javascript file which I am editing the layout of a list with. Here is the code: window.SFW = window.SFW || {}; window.SFW.urgentAlertsItem = { customItemHtml: function (ctx) { var ...
0
votes
2answers
72 views

changing css in jquery sharepoint list

I am wanting to change the css in jquery if a certain statement returns true. I have just been playing around without the statement but it doesn't seem to work. This is my js file: <script ...
3
votes
2answers
162 views

ctx in CSR not return the title

I need to make by clicking on the title of a list item, to open the edit form and not the view form. To do this I chose the CSR, I have the code: (function () { var statusFieldCtx = {}; ...
1
vote
1answer
418 views

How to use JavaScript to get form data, and add it to a list

Obviously it is possible to gather data from a form using JavaScript. Microsoft also claims that is possible to add items to a custom list using JavaScript, although I have not gotten that to work. My ...
1
vote
1answer
270 views

“Type SP.ULSTraceLevel has already been registered” error while applying javscript to NewForm.aspx

I have a custom list in which I want to apply the javascript in new form of that list. Javascript loads the user profile property of the entered user in the people picker control. I am getting ...
0
votes
2answers
958 views

Get current ListItem with ECMAScript

I need to calculate a value for a custom ListItem field, based on some values on the same form and also on some values from other lists. I should be able to do this, using ECMA Script. I started by ...
1
vote
2answers
281 views

How to include a 'yes' and 'no' button on the PreSaveAction() on the EditForm.aspx to return true/false accordingly?

I am simply looking to use the PreSaveAction() in a content editor web part as an extra cautionary step prior to saving a list item. Here is what I have: function PreSaveAction() { alert('Are ...
1
vote
4answers
1k views

How do I display HTML on a Sharepoint List?

I am trying to inject HTML into a Custom List schema. Essentially I am injecting a button that would go next to every document in a document library. Is this possible to do without having to build a ...
2
votes
1answer
349 views

Get single field item value from Custom List and set it on same item but another field

I'm new in Sharepoint, and I have an issue with a custom list in Sharepoint 2007. The thing is... I have a custom list with pre-loaded data, and I need to get a unique code from a field item, to put ...
4
votes
1answer
3k views

Sharepoint 2010 Calendar View in Custom List Expand All by Default

For some reason the scripts I have found on the web (ie: http://social.msdn.microsoft.com/Forums/en-GB/sharepoint2010general/thread/a24da49a-7fc8-47c6-a125-95e4a5b2d095) are not working with a ...
0
votes
1answer
176 views

Pull URL of newly created list item with JavaScript; SharePoint 2007

I have a user that wants the page to automatically go to the display page of an item that he just created. I want to be able to do this using a Content Editor Webpart using JavaScript that is placed ...