Rows of items containing columns of information.

learn more… | top users | synonyms (1)

1
vote
1answer
569 views

Retrieve all fields from a list using Powershell (CSOM)

I need to write a script which I can launch (for example) at specific time and which will make a save of all lists on the SharePoint. For now, the script is able to connect to SharePoint and retrieve ...
0
votes
1answer
125 views

How to export list to csv using PowerShell

I have a Powershell script that outputs data from all libraries in a site shown below: Add-PSSnapin Microsoft.sharepoint.powershell $url = "http://contoso.com" $site = New-Object ...
0
votes
1answer
33 views

Timer Job to send email at days end (SharePoint 2010)

Can anyone tell me if a timer job can be set up to send an email at the end of each day if a new entry/entries is made to a submission page? I want it to notify the intended person if they get new ...
1
vote
1answer
42 views

Emtpy list with PowerShell

I am searching for a powershell script to empty a SharePoint list, can someone give me that? Or maybe there is an option in SharePoint / administration to empty a list with a click?
0
votes
3answers
43 views

Edit a list item in PowerPhell

foreach($list in $lists){ if ($list.title -eq 'PerformanceDevelopment'){ foreach($item in $list.items){ if ($item.title -like $Employee+'*'){ $OldLineManager = $item["Manager Name"] $item["Manager ...
1
vote
2answers
104 views

How can I color code sharepoint list group titles?

I've recently been messing around with CSR for highlighting sharepoint rows based on the text that they contain (used ...
0
votes
0answers
10 views

Contents of Archived Site shows empty for user with Full Control

I have a user John Doe who has a site at contoso.com/sites/depts/Stuff. There is only one item in the site Stuff called Entries located at contoso.com/sites/depts/Stuff/Lists/Entries/By%20People.aspx. ...
0
votes
0answers
128 views

SharePoint 2013 custom action multiple selected items?

I have a Document Library. I would like to create some custom actions in the ribbon which is doing some logic for the selected documents. Is this possible?
4
votes
3answers
308 views

How can I get two List Items using one Caml Query?

I need to get data from two customs lists that I created. However only the first list item is queried allowing me to use the data in the Home Page list item only, but I need both. var listItems; var ...
1
vote
1answer
62 views

Document ID for List Items

Is it possible to get a document ID for an item in a custom list? I have the Document ID service enabled, but I can't see any document ID in the list of xsl items. For reference, I'm using the ...
1
vote
3answers
115 views

How to insert data into lookup column using javascript

I have created a custom drop-down list and inserting drop-down data into lookup column(in a list). How to insert drop down data into a look up column? I am trying below code but it is not working. ...
0
votes
0answers
43 views

AutoLogonPolicy with XMLHttpRequest() or Ajax

I would like to open a website with XMLHttpRequest / Ajax to get data and paste it to a SharePoint list. The site requires login and I see that • it starts with the original url ...
0
votes
1answer
100 views

Removing the Approved/Rejected buttons

For some reason, one of my lists (in edit mode) has Approved/Rejected buttons next to the Save/Cancel buttons. My users are accidentally hitting those and causing chaos. I'm sure I can hide the ...
0
votes
0answers
22 views

Can a SharePoint List contain InfoPath forms, and manually entered list items?

Is it possible to store InfoPath forms with exposed public fields, AND manually-entered list items (with the same fields) in the same list? If so, how can this be achieved?
0
votes
1answer
77 views

SharePoint 2010 - Unable to Add / Edit / Delete items from list

We have been using SharePoint 2010 for various applications since last 3 years but since last two days users are unable to delete items from the list. The delete operation just does not return back ...
0
votes
1answer
32 views

Drop Down Site column has no value in edit form

My list has a drop down Site column. In the view you can see that most of the items has a value for this column. Even when you go to display item form you can see that the field has right value. ...
0
votes
2answers
52 views

Remove all Invalid Fields from ALL Lists

I'm upgrading our sharepoint from 2007 to 2013 and I'm running into an issue where the Field type is not installed properly. Removing that column from one list is easy and can be done through the ...
0
votes
0answers
28 views

Filter Categories in a community (Tiles View)

We have a community site(2013) with more than 100 categories (grouped by products), we want to provide an option to the users to filter these categories by "Product", we would like to implement this ...
0
votes
1answer
31 views

How to populate a SharePoint list using SharePoint Mangement Shell?

Why does this code is working perfectly when I type it inside Sharepoint Management Shell and does not inside a PowerShell Script file (.ps1) ? Add-PSSnapin Microsoft.SharePoint.PowerShell -EA ...
2
votes
2answers
62 views

Query to a list doesn't work

I want to get the number of comments from the list "Comments" of a blog site. To do that, I have a query with this code: using (SPWeb oWebsite = oSiteCollection.OpenWeb(new Guid(WebId))) ...
0
votes
0answers
26 views

individual “List Item” permission is not working

I used workflow to change the "List" and the "List item" permission and I ended up at the following situation. Issue I have is: Usr0001 can edit the list item, when he clicks on the save changes, it ...
0
votes
0answers
66 views

List - Multiple lines of text field alignment issue

I have a field (Multiple lines of text) in a SharePoint 2010 list. While creating new item, when I change the alignment to center and submit it, all alignment gets changed, (like centered alignment ...
0
votes
2answers
429 views

How to check if a list item exists or not in SharePoint 2013 using javascript

I have created one custom form and insert data into one list.I want to check before data insert into the list if the data exists in list or not .
0
votes
1answer
41 views

Filtering a simple list data source?

I'm using SharePoint Designer for SharePoint 2010. I created a new site page. On this page, I added a simple DataView via the designer (XsltListViewWebPart) that pulls all items from a list in the ...
0
votes
1answer
40 views

sharepoint 2013 list - Column items with number grouped go from 1, 2, 3…9, 10, 12,

I have a SharePoint list where I have placed a number before a column item so users will understand the proper steps to take. I did this so when I group the items, the group would list the items from ...
0
votes
0answers
36 views

Getting Permission Denied in Master Page

I am trying to access list in master page. But when i view site as anonymous user i get permission denied error. Here is code to access list function InitializeData() { debugger; ...
0
votes
0answers
67 views

displaying multiple column data in a drop down menu

I'm using SP2010 unfortunately without SP Designer and only used InfoPath once. I have 2 lists List A - Is a list of 'Event Codes' with a 'status' column displaying Active, Used or Reserved status ...
0
votes
2answers
39 views

Query on BCS list

I need to retrieve the items of BCS based list. I am using the server side object model on SP2013 and I am getting this error: An error occurred while enumerating through a collection: The shim ...
0
votes
0answers
30 views

How to make List RSS feed urls point to my page in sharepoint 2013

I have created a list in sharepoint 2013 on a public site that I want to expose as rss. One of my sharepoint pages pulls from the content of this list. What I will like to do is make the list feed url ...
0
votes
2answers
33 views

Limit list entry according to number in group

I have a very simple list, 2 columns actually. "Name" and "Table". Its for users to reserve a table at an event. "Name" is free text and "Table" is a selection drop down There are obviously a ...
0
votes
1answer
35 views

Filter list without using SPD

I'm trying to filter a list, something like the OOTB WP, but more flexible. The problem with the webpart is that the user has to input the exact contents of the item he wants to find. I would like the ...
0
votes
0answers
50 views

URL list filter

Im trying to create a URL to a page on my site which when used will enter the page and filter a column in a list that’s displayed. I started by taking the basic URL (below) and then filtering the ...
1
vote
1answer
67 views

Trigger a Workflow for every item in a list using PowerShell

What's the best way to go about writing a PowerShell command to activate a workflow for each item in a list? There's a million articles out there and I'm wondering what the best way is.
0
votes
1answer
41 views

Calculated Number of Days based on Today

I'm trying to create a calculated date based on the number of days a package has been at the listed location. The formula in Excel is =(TODAY()-J2). Simple enough. However, apparently the syntax ...
0
votes
1answer
69 views

Restore a deleted field (site column)

I had to add a Content Type to a list. The Content Type contained Site Column Priority which was a drop down, and the list already had. After I added the content type I removed the old Priority column ...
0
votes
1answer
44 views

How to remove permission of “Shared with people” in the item of a list in workflow?

I created a simple workflow in Sharepoint designer 2013, and there is only one step in it, which is to remove the permission of that item, I can see there is a "Remove List Item Permissions" in the ...
0
votes
1answer
77 views

Custom Content Type not showing up in List

I need to develop a way for cross-site lookup in Sharepoint 2013. As this is not possible OOTB, I built a custom content type that has a custom control template which in turn displays a custom form ...
0
votes
0answers
16 views

SharePoint list hide managed view section from ribbon

I need to hide 'managed views' section from a sharepoint list. Need to do it for only one sharepoint list and for all lists on another site. Please advise. Regards, Ankush
0
votes
0answers
40 views

Can the order of list fields retrieved by REST be changed?

Is there any way to change the order of the fields associated with a list in SharePoint? Ie. the fields retrieved with a url like this: ...
2
votes
1answer
257 views

How can I validate that any attachments file name does not have ANY special characters in JavaScript?

By default SharePoint does not allow the following special characters to be present in attachment file names ~, #, %, & , *, {, }, \, :, <, >, ?, /, |, “ How can I validate that any ...
0
votes
1answer
21 views

How to implement detail-master in lists

I need to store articles in a document library. The problem is that an article can have more than one authors and one author can have more than one article - we have n-n relationship. Moreover, the ...
0
votes
3answers
64 views

sort on month and year

In my custom list i have columns month and year. Both are string column. This is my query to get data Query = @" <Where><And><Eq><FieldRef Name='Status' /><Value ...
1
vote
0answers
128 views

how to attach document in custom list for sharepoint online using Powershell?

I have tried this code to attach a document in custom list for sharepoint online, but it is not working. $site = [Microsoft.SharePoint.SPSite]("Your site name") $web = $site.OpenWeb() $list = ...
0
votes
1answer
91 views

Multi Line Text box for External Content Types

I have an External Content Type mapped to SQL Server External Data. There is a column with more than 350 Characters. So, I made that column with Datatype of NVarchar with 350 size. I have created a ...
0
votes
2answers
55 views

Sharepoint 2013 List item deleted in odd way

I am using a custom timer job to delete the Sharepoint List Items if the item count exceeds certain count, say for example 2000. The problem is the items are getting deleted, but it deletes the item ...
0
votes
2answers
52 views

create column with year

I am creating column in list where user gets to choose year string[] years = { "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026" }; AddYear(list, ...
0
votes
1answer
33 views

How to Output Specific Columns to Excel

I have a custom application page that pulls data from one specific list and exports to excel. Below is the code that performs the work: <script runat="server"> protected void ...
0
votes
1answer
32 views

Cant retreive a list column

I am creating a hosted app in SharePoint. I want to retreive all the custom list from SharePoint and then from the custom lists I want to fetch column values. I got 2 columns with the names title and ...
0
votes
0answers
51 views

Display tags&notes for a list item

We have Announcements list on our corporate SharePoint front page (we're using SP 2010). I thought it would be nice if people can see related notes directly on the same line with a relevant list item. ...
0
votes
2answers
36 views

update list with new column

In my feature activation i create list. But now i want to add new column to list withouth deleting list and recreating new one. This is my existing code to create list using (SPSite site = new ...