12
votes
Accepted
Make custom field required in list
Go to Advanced Settings and Enable the Allow management of content
types.
Now you will see the content types associated with the list under the Settings section.
Click on Item.
Select the column.
...
10
votes
Accepted
Modified vs Last_x0020_Modified
Modified: Identifies a field that contains the last modified date and time information that is associated with the specified SharePoint Foundation object.
Last_x0020_Modified: Identifies a field that ...
8
votes
Accepted
Opening a document in a SharePoint 2013 document library in a new tab (using code)
A little JavaScript employing jQuery does the job just perfectly.
$(document).ready(
function ()
{
// has to be on an interval for grouped doc libraries
// where the actual links are ...
7
votes
Remove content type from "New" item options?
In the Document Library (or List) settings:
Under the section "Content Types" click "Change new button order and default content type"
Uncheck "Visible" for the Content Type you want to hide
Click OK
7
votes
How to display item count of specific folder in list
SharePoint contains a hidden Site Column called ItemChildCount. This Site Column stores the calculated number of child items that the folder contains.
Note: It does not include the number of ...
5
votes
Accepted
Unable to manage Item Level permissions
I ran into this issue myself just recently. I found a related thread over at Microsoft's forums:
https://social.technet.microsoft.com/Forums/office/en-US/c9703b7b-a719-48b4-9350-9d9a75ac62e1/list-...
5
votes
Accepted
How to add list item inside a folder using REST API
The REST API does not have complete support for folders - particularly when it comes to working with list items. While it's quite possible that there is a way to get this to work using the REST API, ...
4
votes
Hide button "Delete Item"
You can add these lines of CSS using a content editor webpart to hide the delete button.
/* For Dispform.aspx */
a[id="Ribbon.ListForm.Display.Manage.DeleteItem-Medium"]
{
display:none;
}
/* For ...
4
votes
Accepted
Custom ECB-Menu Item which copies the Link of the document into the Clipboard
I had a similar requirement sometime ago.
Due to browser compatibility issues, I ended up using window.prompt, shifting the control of the copy/paste functionality over to the user:
window.prompt ("...
3
votes
Accepted
Get folder item number. REST API
After the first query that creates Folder object you could perform the second REST request:
http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/listItemAllFields
...
3
votes
Accepted
Remove content type from "New" item options?
You can make the content type hidden by using PowerShell: Example:
$web = Get-SPWeb -Identity http://aissp2013:111
$list = $web.Lists["TestList"]
$list.ContentTypes["TestCT"].Hidden = $true
$list....
3
votes
Manage Multiple ItemUpdating Event Receivers On List
You can make use of the SequenceNumber property that is associated with the SPEventReceiverDefinition object.
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverdefinition....
3
votes
Deleted items are still showing on Search result after Full Crawls or incremental Crawls
Search uses Delete policy for access denied or file not found
When the crawler encounters an access denied or a file not found error, the item is deleted from the index if the error was encountered ...
3
votes
Drop Down Site column has no value in edit form
I have seen this happen before (when a programmer without SharePoint knowledge 'fixed' a problem with imported/pasted data and emptied/deleted the existing definition of DropDown values
The ...
3
votes
Accepted
REST: set ReadSecurity / WriteSecurity (Item Level Permissions)
It is possible to set or update ReadSecurity or WriteSecurity using REST API and JSOM both.
REST API
Request body
{
"__metadata": {
"type": "SP.List"
},
"...
3
votes
Delete item post closing date in SPS 2013 List
You can implement OoB Information Retention Policy where you can have the Modified Date greater than or equal to Closing Date. Item should be deleted.
3
votes
Delete more than 1 List item based on Closing date in SPS2013 List
You can set up retention policy to start a workflow when any condition (in your case closing data is today) is satisfied. In that workflow you can set step to delete the item. This way multiple items ...
3
votes
SharePoint list, restrict view of particular item within the list
Use Audience Targeting.
That's the Out of Box feature available to meet your requirement. Create two separate views. In one view you give access to all groups while for other view you edit the page ...
3
votes
Accepted
Get version of item given url powershell
This gives you the string label of the version:
$objFile.UIVersionLabel
This gives you the Major version:
$objFile.MajorVersion
This gives you the Minor version:
$objFile.MinorVersion
Edit:
The ...
3
votes
How to add list item inside a folder using REST API
As Rob very correctly mentioned, REST API doesn't have complete support for folders. But using the old /_vti_bin/listdata.svc, you can create a list item and add it inside a folder. For that, you need ...
3
votes
Item Level Permissions and Lookup Columns
As OOTB solution, I suggest doing the following:
Create a view for each Garage (Filtered by Garage ID/Name)
Create a Promoted Links list.
Garage Name, Graghe View URL
In Promoted Links list, add a ...
2
votes
Create same Items every morning
A timer job would work great for your situation.
Timer jobs are background processes that are run by SharePoint. As the name implies, these can be ran on a schedule, such as every day.
This link ...
2
votes
Item Level permissions - trouble when using "Create items and edit items that were created by the user "
You can grant another person permissions to view all items in the list by granting that person Manage Lists permission on your list.
2
votes
How to know old id of item in recycle bin?
SPRecycleBinItem.ID is not same as deletedItem.UniqueID. I have checked it. So you can't use them to identify deleted item in recycle bin. You can expiriment with DirName and LeafName, but there at ...
2
votes
make custom list item column unrequired (non-required)
A more recent solution for a SharePoint 2010 website:
Select 'All Site Content' (also via Site Actions link at top left)
Select your document library
Ribbon Bar 'Library Tools', select 'Library' tab
...
2
votes
Accepted
Request failed. Column 'Project Phase' does not exist. It may have been deleted by another user
Try this
function fetchProjectData(projectName, callbackOnSuccess) {
var clientContext = new SP.ClientContext("path to site");
var oList = clientContext.get_web().get_lists().getByTitle('...
2
votes
Accepted
What are the main items that a SharePoint Intranet Site should have?
If you're setting up an Intranet, I would highly recommend looking into the principles of Information Architecture. I've found O'Reilly's Information Architecture for the World Wide Web to be a ...
2
votes
What are the main items that a SharePoint Intranet Site should have?
The content and structure depends on what the end user wants. Below are some points you should consider
What kind of content will you have on sites?
How will your users find and access content?
What ...
2
votes
Infopath how to get curent element ID
You can do it using following steps
In SharePoint, create a form library to submit your forms to.
In InfoPath, create a new (browser-compatible) InfoPath form template.
Add a Text Box control to the ...
2
votes
Unique ID in SharePoint
Yes it will be the unique ID. Whenever you add an item to the list a new ID will be assigned to it. There is nothing like reusing ID.
When the Document ID service is first enabled, new documents in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
item × 189list × 98
2013 × 22
2010 × 21
permissions × 21
workflow × 19
javascript × 14
sharepoint-enterprise × 11
sharepoint-online × 9
list-item × 9
sharepoint-server × 8
folder × 8
delete × 8
powershell × 7
event-receivers × 7
development × 6
document-library × 6
form × 6
library × 6
search × 5
custom-list × 5
document × 5
splistitem × 5
update × 5
infopath × 4