Hot answers tagged list
3
You can create a custom permission level that allows adding but not editing.
See this MSDN article about how to do that. You will want to copy the contribute permission but remove the edit permissions.
2
Here is an example of creating a list:
Create a list with powershell
Then this script will loop through each site in the site collection
$siteURL = "http://sp14fdev01/"
$site = Get-SPSite($siteURL)
foreach($web in $site.AllWebs) {
}
Simply add your list creation code inside the foreach. Note you will want to check to make sure the list doesn't already ...
2
the scalalibity issues are due to poor planning. With good planning that should not happen, limit is 30 million items per list.
Sharepoint 2010 LIMITs
http://technet.microsoft.com/en-us/library/cc262787(v=office.14).aspx#ListLibrary
2
To fall inside the same-domain restrictions of JavaScript you must have the same fully-qualified domain, including schema and port. I'm assuming your 'different physical machine' has a different hostname, so it is not same-domain.
If you want to query across domains you will need to look at cross-domain ajax (e.g. CORS or similar).
For completedness, this ...
1
As the link you provided, you can choose to use the Content Query Web Part.
You can choose your list as the source, and then make a query to display the specific rows you want to show.
The default presentation template for Content Query Web Part might not display the list as you want (for example, not enough columns).
But you can add more slots in or ...
1
I was able to implement this by using a customized View as with PirateEric's comment, but I needed to group the conditions in a way the GUI list view filter editor wouldn't let me. The solution involved using SP Designer 2010 to edit the CAML query for the filter directly. I figured out the query using the CAML Query Helper tool on CodePlex: ...
1
Many SharePoint objects have a Property collection. Lists do not directly, but you can use list.RootFolder.Properties and there are methods for Add, Delete, Get, and SetProperty. There's an example here: http://www.novolocus.com/2012/07/23/getting-and-setting-properties-in-sharepoint/
1
If you are questioning how secure NTLM is then I would suggest that you have far, far larger issues to worry about in your enterprise than merely the security of a list!
SharePoint's security model is pretty solid and has been tested countless times both in Intranet sites as well as Internet sites without any major failing so that should not be an issue. ...
1
Create another field in the list for the grade. In the InfoPath form, set the value of that field to "1" if answered correctly. Then create a view or a DVWP that aggregates the correct answers. If you want to show the total points in the IP form, you need to add a secondary data source to the same list, pull all the values for the current user and total ...
1
Provided you have added list as a stp file in List template gallery:
$site = Get-SPSite http://site
foreach($web in $site.AllWebs) {
$listTemplates = $site.GetCustomListTemplates($web)
$web.Lists.Add("Your name for list", "", $listTemplates["Your List template name"])
}
Remember, you can't pass the template ID in the Add method but ...
1
Owner permissions are not enough. You need to either have a Site Collection Administrator delete the list or find out when the Large List Threshold Window is for your organization and delete it then.
Alternatively, you might be able to create a view that shows less than 5000 items, then use the DataSheet view to bulk delete until the list total is below ...
1
This is the OOTB functionality, probably based on the thought that you might use the same pictures in more than one place, even in other places than a blog post.
If that is the case, and SharePoint just deletes the image on post deletion, you would get corrupt image links in all other places referencing that particular image file.
You could write an ...
1
You can do looping in SharePoint 2010 workflows in code but not in SharePoint Designer. To handle this step I would create a custom workflow activity to handle adding the tasks. Then include that custom activity in the SP designer workflow.
Here is a walk-through for creating a custom activity
1
Since you are dealing with the somewhat limited environment of FoxPro, there is a possible low tech alternative. Simply map a network drive to the desired SharePoint library and then save the files in FoxPro to that drive. Using the SharePoint Web Services is obviously the superior answer (for several reasons) but this might be quicker in a controlled ...
1
You could use the the BCS (Business Connectivity Services in SP2010) is an out of box feature enabling external business data to be shared between site collections without writing any code.
Here a link from microsoft
http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
and here an answer from Stackexchange:
Sharing data between multiple site collections
1
The user must be a Site Collection Administrator for the specific site collection and Farm Administrators, by default, do not have this permission. This link has a good write-up of how and where these limits apply. There is also this Microsoft article that details the specifics of the threshold as well as workarounds for it.
1
It is available on the App Web under
"The APPWEB URL"/Lists/"The list internal name"
But really you should access the list (CRUD items) via Client object model or REST.
The list is meant to be "hidden" to the users of the app, and it is upp to you to provide interfaces to work with items in the list
And just a clarification: You need to use ...
1
Try this in the view on the Eleve row:
<td>@(new SPFieldLookupValue(item["Eleve"].ToString()).LookupValue</td>
This should cast the item to a LookupValue, from witch you extract the value.
Or if you can not access SPFieldLookupValue class, you could make .ToString() on the item column and then parse out the value from the resulting string.
1
The task object that is being returned contains "links" to other objects, link the content type. Instead of serializing and returning all objects connected to the requested task, it returns the key field (ContentTypeId), and a "deferred" item that contains the URI to the associated item. So, you could grab that URI and make another request to get whatever ...
1
Take a look at the REST API page, for more information. It sounds as the contet type that is is giving you is the request content type and not the actual item content type. Try adding a ?$select field1,field2,ContentType,field3 to the URL.
1
Seem 2000 lists is the suggested limit.
See this page from Microsoft for further detail. Note that the limit isn't an "hard limit" but performance seem to degrade exponentially after that point.
Only top voted, non community-wiki answers of a minimum length are eligible

