Questions tagged [item]
An object in a SharePoint list containing information and metadata.
192
questions
0
votes
1
answer
74
views
Two synchronized lists how to delete element in both lists
I have got two lists with unical name.
I have got, this code:
public override void ItemDeleting(SPItemEventProperties properties)
{
base.ItemDeleting(properties);
if (...
2
votes
2
answers
6k
views
Make custom field required in list
I have a contact list in my SharePoint but I have just the "Last Name" required.
How can I add more field to be required?
0
votes
1
answer
1k
views
How to get SharePoint ID given only item URL?
Looking for the simplest possible solution, but needs to be JavaScript/jQuery if at all possible.
I have an XML document that I am transforming using XSLT to render an HTML page. This XML document ...
1
vote
1
answer
6k
views
Deleted items are still showing on Search result after Full Crawls or incremental Crawls
I am writing a custom file disposition solution for SharePoint 2013.
After delete action (see below Delete_Action method), I saw that the selected file is removed.
After Full-Crawls or Incremental ...
0
votes
1
answer
46
views
Check Child Items When Parent Status Column Is Changed
What is a good strategy to prevent a change on a parent item in a SharePoint 2010 list if a related child item (i.e. the child of the parent) column is set to open?
For example, I don't want to allow ...
0
votes
1
answer
58
views
Approval status after copying sharepoint issue
In SharePoint I have got 2 lists : list01 and list02
On my list01 I have a workflow.
In the list01, if the approval status of my item is "approved" then I copy the item in list02.
My problem is :
...
3
votes
1
answer
2k
views
Full Control User Cannot View Items in a List
User wants to view uniquely secure items on 2 lists (List A/List B)
I went ahead and inherited permissions the lists from the top level site.
Lists A and B say Manage Exceptions because all the ...
0
votes
1
answer
1k
views
Populate new item form with info from page
Is it possible to populate this new item form with information already filled in another form?
In this example, I have customized the default new item form to include a webpart to another list.
...
0
votes
1
answer
2k
views
Build email string from calculated column in list
I need to launch a new email when someone clicks an item in a list that is displayed as html. So the email will pop up with a mailto:, subject and body. But the body should be a string of text and ...
0
votes
1
answer
960
views
Disable the delete confirmation dialog/message
When I delete an item or document from a list we get the "Are you sure you want to delete this item?" dialog. So it is not possible to directly delete an item, one has to confirm the deletion by ...
1
vote
2
answers
2k
views
Why is "Event: When an Item is changed" triggered when on all items in the list?
I have an action:
Wait for Event: When an item is changed (Output to Variable: related item1 ).
From what I can tell, this event is triggered whenever ANY item in this list is changed. So, all the ...
0
votes
1
answer
182
views
Workflow move to another list
I have an if statement which once satisfied, I want it to move to another list.
If each of these columns is either "Approved" or "Not Applicable" it should move the item to a new list.
This is what ...
2
votes
1
answer
1k
views
Manage Multiple ItemUpdating Event Receivers On List
I have a requirement to multiple Event Receivers targeting Custom List (100) that fire on the ItemUpdating method.
For one of the Event Receivers the requirement is to check that there are no related ...
2
votes
1
answer
8k
views
Unique ID in SharePoint
I am newbie into SharePoint and I am currently working on a tool supposed to make references to documents coming from a SharePoint document library. Is there any concept of unique ID to identify a ...
0
votes
1
answer
9k
views
Infopath how to get curent element ID
How to get in infopath current element id ? I have got a list, and I always want to take last number id from list.
3
votes
1
answer
3k
views
Unable to manage Item Level permissions
I'm unable to set item level permissions on list items. This issue appears for all lists in a site.
Take a look at the screenshot. Usually a "Advanced" button should appear in position of the red line....
0
votes
2
answers
6k
views
SharePoint Designer 2010 Workflow Update List Item Help
I just can't seem to get a grasp on how the Update List Items works and need help.
What are the steps required to update selected items from List1 to List2?
I started to create a workflow with ...
0
votes
1
answer
46
views
List Item Shown Top of The List
I created a list on Sharepoint Designer 2013.
When I add new item in the list, the item isn't showing top of list. I want to shown last item top of the list.
How can I do this?
2
votes
2
answers
2k
views
Get folder item number. REST API
I'm currently using the following code to create a folder.
url: http://site url/_api/web/folders
method: POST
body: { '__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': '/document library ...
0
votes
2
answers
220
views
What are the main items that a SharePoint Intranet Site should have?
We are trying to develop a structure for an Intranet site on SharePoint but we don't know what items are a must-have for such sites.
For sure there must be News and Announcements. But what else?
...
0
votes
1
answer
88
views
sum of a single column
on the newform.aspx, there is a field to enter the number of students who were part of a training workshop. I need to dynamically add and show the total of hours so our management can see it at a ...
0
votes
1
answer
94
views
Retrieving LookupValue of ListItem in SharePoint 2013 Client API
I'm trying to retrieve the LookupValue of a List item but am unable to do so. I have only seen solutions for SharePoint Server, but none for SharePoint Client.
How can it be done?
1
vote
1
answer
3k
views
Request failed. Column 'Project Phase' does not exist. It may have been deleted by another user
function fetchProjectData(projectName, callbackOnSuccess) {
var clientContext = new SP.ClientContext("path to site");
var oList = clientContext.get_web().get_lists().getByTitle('Project ...
1
vote
1
answer
115
views
Sharepoint 2013 Search crawling extra data
The BDC content source I made was crawling "extra"/"garbage"/"unnecessary" data. The external database view only shows 6 items but the search results show 7 items. Crawl log for the content source ...
0
votes
1
answer
655
views
get_fieldValues of radio button javascript?
I need to get fieldValues of radio buttons i have successful got it from textareas and from dropdown
To get it for textareas and dropdown i used this way:
$('#GEN_1').val(item.get_fieldValues()....
1
vote
0
answers
43
views
Link an image to a list item in sharepoint2007
good day,
I have a custom list that manages disputes in my company.
What i am trying to do is have a "preset" field that contains a link to an image (or file). This image/file can be clicked and the ...
3
votes
4
answers
17k
views
Opening a document in a SharePoint 2013 document library in a new tab (using code)
How to open a SharePoint 2013 document library item in a new tab/new window? By default, the document, depending on whether it is .docx or .xlsx opens in Word or Excel Web Access in the same tab. I ...
0
votes
2
answers
789
views
Loop through array to get all items
I use sharepoint online and this is going to be an app
I need to loop through an array to get all items that are selected in a list, now i can only get one item but i need to get more items at once ...
0
votes
2
answers
2k
views
How to change color of items in SharePoint custom list
The code I have it's used to change colors on a row in a custom list with a ribbon button when the ribbon button is pressed you got a dialog box comming upp with 4 buttons with 4 differt colors.
The ...
0
votes
2
answers
11k
views
Remove all list item permissions with PowerShell
I'm trying to remove all permissions from a list item (SharePoint 2013).
I worked out the following script that should do that:
$url = "https://Site"
$listName = "Tasks";
$SPWeb = Get-SPWeb $url;
$...
1
vote
2
answers
647
views
item adding event receiver failes to trigger in bulk items inserting
Currently am developing an item adding event in event receiver for a custom list. The list is updated using datasheet view, usually by adding bulk items (ex : 50 items ) to list using datasheet view.
...
1
vote
0
answers
30
views
Sharepoint: Submitted Items (Forms) in multiple lists
I want to create a simple SharePoint site where:
1) A page form to submit items
2) items submitted from (1) will be displayed in multiple List pages with different Group By's.
What is the best way ...
7
votes
1
answer
4k
views
Modified vs Last_x0020_Modified
Which is the difference between the fields:
Modified and Last_x0020_Modified
in a SharePoint list item ?
1
vote
1
answer
85
views
Add customized item to calendar app
if I want to add a new calendar entry I see this:
But I want to see only:
Title
Location
Instead of start time and end time I want to put the "all day" check
Recurrence
Is it possible? How?
Thanks ...
6
votes
1
answer
26k
views
How to display item count of specific folder in list
I have a list, which has some columns including title and URL. URL column directs to specific folder related to list item. I want to add one more column in list, which would display items' count of ...
0
votes
1
answer
104
views
Submit Form Without Saving to List
How could one create a form which does not actually save form data to the list upon submission? The data will be used in a workflow which fires a powershell command using a workflow action solution by ...
0
votes
1
answer
155
views
Create same Items every morning
Very Very new to sharepoint, much more to customizing it.
However, new job, as part of my task in the morning, I got to create 2 items every day. These have all the same values, except the date that ...
0
votes
3
answers
327
views
How to implement item level permission based on rule
I need to implement list item level permission based on rules something like this:
Users can access a given list item only when they satisfy the criteria/rule of this given list item. [such as users' ...
2
votes
2
answers
495
views
Add list item returning empty result
Hi Sharepoint experts,
I'm trying to add list item using jsom and succeeded but my code keeps adding empty list item first.
function repeat(pattern, count) {
if (count < 1) return '';
...
1
vote
3
answers
8k
views
Unable to edit list item
I have recently, and for reasons unknown, started to get errors with a particular list on Sharepoint 2013. I am unable to edit existing list items, and attempting to do so throws me to the "Sorry, ...
1
vote
2
answers
6k
views
Remove content type from "New" item options?
I need to migrate some values into SharePoint that would have useless values for our system going forward. I'm using a content type called "Old Request" solely so that they can have different columns ...
1
vote
0
answers
239
views
Custom List Menu Item not appearing
I've been trying to create a custom list menu item on my SharePoint list. After consulting tutorials, I've created the feature settings and attached an element.xml file as shown below,
<?xml ...
0
votes
1
answer
655
views
Formula for item type in SharePoint
In SharePoint, is there any formula to get item type (Folder or File)?
I have a calculated field on the list, which value is depend on if item is a Folder or not.
17
votes
6
answers
136k
views
How to auto-populate a list column with a sequential number?
I am using a SharePoint list as a database for logging accidents/incidents at work. Each incident is assigned a number. As there are multiple people making use of this list, I'd really like the "...
0
votes
1
answer
42
views
Copy list items an use
We have a list in SharePoint 2010 with a number of site columns that need to be filled in based on a content type. However, users want to be able to take a copy of an existing item and then ...
1
vote
4
answers
4k
views
Getting file name being upoloaded in ItemAdding
How to get the name of the file being uploaded if the listitem is not created yet?
public override void ItemAdding(SPItemEventProperties properties)
{
SPWeb TargetWeb = properties.OpenWeb();
...
2
votes
0
answers
154
views
Draft item security Any user who can read items but not anonymous
I have a list which has the following settings:
Content Approval: Enabled
Versioning: Enabled (Major and Minor)
Draft Item Security: Any user who can read items
This list resides in an anonymous ...
1
vote
4
answers
333
views
Item transfer/copy between lists - UI only approach
I have to Copy / Move items from a list to another existing one
here's the first one :
and here's the target one:
the columns have the same name, same type...etc
How can I achieve that without ...
2
votes
1
answer
708
views
Item IDs are skipped in Custom List - SharePoint 2010
How to resolve the following.
1.Created a custom list
2.Added one column with “Enforce unique values”
3.Added the item in list with value '111' for column created in step 2
4.Item is created in ...
0
votes
2
answers
3k
views
Getting Item and value from list by Specific Data
I would like getting a specific item from a specific list but i don't have ID, just a field (column) value.
Here's my list:
On the site, i have only the name...i'd like to recover the paid leave ...