sharepoint-2010

Which is the better data type for storing monetary values in Sharepoint 2010?

﹥>﹥吖頭↗ 提交于 2019-12-25 03:29:32
问题 In Sharepoint 2010, the "field types" (data types) for list items that could presumably be used for monetary values are Decimal and Currency. Normally, decimal is the preferred data type in C# for money. But what of this Currency type? Based on its name, it seems it may be the more suitable of the two. Is it? I could also use integer (where 1225 represents $12.25, for instance) or String (where "12.25" represents $12.25), but the first two mentioned (Decimal and Currency) would seem to be the

SharePoint 2010 multiple users accessing same list issue

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 03:13:26
问题 We have a list with 1000+ phone numbers in it. This list is sorted in a specific order by due dates and other criteria. This order is very important and needs to be maintained in the solution. We have a group of callers (roughly 4) that will be calling the numbers in this list in the order they are sorted by. These callers are to be presented with one list item at a time, via an InfoPath form, and once they make the call they will update the list item and be presented with the next list item

Powershell to delete files from SharePoint Document libraries

爷,独闯天下 提交于 2019-12-25 02:55:36
问题 I am trying to multiple files from multiple SharePoint libraries in SharePoint 2010 on Application server in the farm with the below script: $list = Get-Content $libpath $web = Get-Spweb $url $lib = $web.Lists | where { $_.title -eq $libname } foreach ($libr in $lib) { $file = $libr.Items foreach ( $fil in $file) { If ($fil.Name -eq $item) { $fil.Delete() } } } The problem is that $libr.Items is coming up empty even though the library is not empty. $libr.Files $libr.Files.Name All showing up

Move Access Web Database to Another Sharepoint Site

时光怂恿深爱的人放手 提交于 2019-12-25 02:55:10
问题 I have an Access web database (the out-of-the-box Project one) and plan to move to another Sharepoint site (a test server). I have done lots of googling and nothing comes up. Any pointers will be greatly appreciated. Thanks. 回答1: After some trials and errors, I figured out how to do that. First open the Access web db in Access client. Then go to Publish & Save, where you should see an option Save As Local Database. Then open the local database, again go to Publish & Save, you can choose to

Is creating SharePoint sandbox field types possible?

送分小仙女□ 提交于 2019-12-25 02:15:31
问题 I want to create custom field type for SharePoint Online. Therefore, AFAIK, it must be sandbox solution. Is there any possibility to create this? Or something that allows me to work on "single item level" on the list (not in edit form but on the list). Maybe some option in item menu or sth? 回答1: you have to remember that SharePoint Sandbox Model doesn't offer custom FieldTypes. There is a really good introduction for Sandboxed SharePoint Solutions on MSDN (http://goo.gl/uXGLo). SPIs like

Set a review date on a sharepoint 2010 document

血红的双手。 提交于 2019-12-24 23:14:27
问题 In sharepoint 2010 I need to be able to set a review date on a document and be emailed when this review date is reached. Is this possible? Thanks for any pointers 回答1: I would create a very simple Workflow for this. You could just fire up Sharepoint Designer, create a small Workflow which checks whether the document in question has been reviewed and otherwise send an e-mail or a task to some person. Try out Sharepoint Designer & Workflows if you haven't done so. Reminders are a very easy

Sharepoint 2010/SSRS 2008R2 Security Hole

你离开我真会死。 提交于 2019-12-24 21:15:28
问题 We are using a Sharepoint Implementation for a customer portal. We are giving each client a site where they will have access to reports. We are using the same library of reports, each report takes a parameter that is a unique identifier for the client. The issue we are running into is that as long as you can authenticate to the system you can view the source on the page that has the report and by doing some googling you can figure out how to put together a query string to pull a report. By

Storing cookie session data to Jquery using AJAX (Wihout PHP)

笑着哭i 提交于 2019-12-24 16:10:44
问题 Having a tough time finding clear information if this is even possible. I am currently running on Sharepoint 2010. Working on a page using the REST method that uses AJAX. I was wondering if there's a way to be able to identify whos logged in? My first reaction was to look for a way to get the cookies session data using AJAX and Jquery. That Adventure didn't last too long. I was scanning trough the network data of an existing sucessul AJAX request i have on my page. Would there be a way to

CAML Query for lookup field with multi values

一个人想着一个人 提交于 2019-12-24 15:42:37
问题 What is the caml query for a Lookup field with multi values? So far, I am using the following without success (it just throws an error). My Lookup column is: Lookup ------- 2;3 2 3;4 <Contains><FieldRef Name="LookupColumn"/><Value Type="LookupMulti">2</Value></Contains> What is wrong with that query?? 回答1: Include your query inside a Where clause/tag. <Where><Contains><FieldRef Name="LookupColumn"/><Value Type="LookupMulti">2</Value></Contains></Where> 回答2: SPQuery oQuery = new SPQuery();

Get ID of Selected List Item

倖福魔咒の 提交于 2019-12-24 15:26:03
问题 I am trying to get the ID of a selected list item using JavaScript. Basically I am trying to get the ID using JavaScript and then in the same javascript redirect to a page with the selected ID in the querystring. This is my javascript: function GetID() { var ctx = SP.ClientContext.get_current(); var items = SP.ListOperation.Selection.getSelectedItems(ctx); window.location.href = "/_layouts/CustomApplicationPage/CustomApplicationPage.aspx?ID=" + items; } But the results I get in my querystring