New answers tagged list-item
Keerthi's solution didnt seem to work for me, so I modified theirs and used the following: =CONCATENATE(TEXT([Work Date]-(WEEKDAY([Work Date],2)-1),"mm/dd/yyyy")," - ",TEXT([Work Date]+(7-WEEKDAY([Work Date],2)),"mm/dd/yyyy")) Breakdown: =CONCATENATE( TEXT([Work Date]-(WEEKDAY([Work Date],2)-1),"mm/dd/yyyy"), " - ", TEXT([Work Date]+(7-WEEKDAY([Work ...
Change the pagination of list views to how you want and copy the changed URL. The next time you paste this URL, you'll see your pagination persisted. Some background info on how this works: If you notice the URL when you change the page of the list view, you'll notice something like #InplviewHash appended. This is because in SP 2013, inplview.js handles ...
I would create 3 different views with filters: View1 to display 1 to 35 items View2 to display 36 to 70 items View3 to display 71 to 100 items Add webparts to each column and select each webpart properties to display View1, View2 and View3. Tada...
A lot of things to note here: In case #1, you open new SPSite/SPWeb objects (resulting in a need for AllowUnsafeUpdates). You open new objects only in case you want to run code in an elevation section (or with System user token, with leads more or less to the same result). In both cases, you use list.Items.Add(); witch is a very bad practice: you ...
By default, all fields all loaded if we don't specify any fields in ctx.load()So try using Ctx.load(item) and then retrieve whichever field you want by item.Id or item["Title"]
The sequence number is used for ordering priority. <CustomAction Sequence="0"> appears higher in the list of items than does <CustomAction Sequence="600"> Property meanings are explained at https://msdn.microsoft.com/en-us/library/office/hh500259(v=office.14).aspx
In order to modify/update the Author field using the client object model, you need to make sure to Load the Source Item Load the User Object with Source Context Ensure the User Object in the Destination Context Insert the User Object in the Destination Item Update the Destination Item Please find below the pseudo code. sourceCtx.Load(sourceItem); ...
Use Web.EnsureUser method to get the User object and then use that to update the Author https://msdn.microsoft.com/EN-US/library/microsoft.sharepoint.client.web.ensureuser.aspx
Top 50 recent answers are included