Tag Info

New answers tagged

0

Change the btnADD to btnAdd then it worked


-1

Since you are using SharePoint 2013 I would recommend you to consider a different approach, in SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which is intended for rendering of List Views and Forms using HTML and JavaScript. How to initialize User field in New/Edit forms using CSR Below example demonstrates how to populate User ...


0

Since you are using SharePoint 2013 I would recommend you to consider a different approach, in SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which is intended for rendering of List Views and Forms using HTML and JavaScript. To get acquainted with CSR follow these articles: INTRODUCTION TO CLIENT-SIDE RENDERING IN SHAREPOINT 2013 ...


0

As mentioned in the comment to my question, the SPFindPeoplePicker function currently does not work for SharePoint 2013. However, I was able to find an alternative solution and posted it on my other question here.


1

Ah! I found a solution! http://jasonscript.wordpress.com/2013/08/07/javascript-and-working-with-the-sharepoint-2013-people-picker/ Here is my working code: var PickerTitle = "Assigned To"; var PickerDiv = $('[id$="ClientPeoplePicker"][title="' + PickerTitle + '"]'); var PickerEditor = PickerDiv.find('[title="' + PickerTitle + '"]'); var PickerInstance = ...


1

You can use a GUID or the display name for the listName parameter in SPServices. Make sure you use the curly brackets in the GUID. var lookupFieldInternalName = "LookupOne"; $().SPServices({ operation: "GetList", listName: "{C1AA0A1F-8177-4D64-AC3F-FDCFB31EFCA5}", completefunc: function(xData, Status) { console.log(xData.responseText); ...


0

Check this comment from Marc: In my test environment, what I see in an Audiences column is semi-colon separated values. (Sharepoint often uses this convention for multi-select columns.) You're trying to treat that single text string as if it is an array, which it isn't. You'll need to use the split function to convert the values to an array. ...


0

Creating a SharePoint Parent/Child List Relationship–No SPD Version The blog post explains the following in short: 1) Edit the default Display Form for the Issue list a. Add Time list to the page b. Set up web part connection between the Issue Display Form and the Time list c. Write a script that overwrites the “Add new item” link and passes in the ...



Top 50 recent answers are included