Tag Info

Hot answers tagged

5

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 contains version control information for the last modified version of the specified SharePoint Foundation list object. The ‘Modified’ column as we see in the ...


3

Multi-choice field values are stored internally in ArrayList How to get multi-choice field values in PowerShell $web = Get-SPWeb $Url $list = $web.Lists[$ListTitle] $item = $list.GetItemById($ItemId) $values = new-object Microsoft.SharePoint.SPFieldMultiChoiceValue($item[$fieldName]) //print multi-choice field values for($i=0;$i -lt $values.Count;$i++) ...


3

The other way is to create a Contact us application page in your site and create a web part which accepts the contact us detail from the user and on submitting the request the data will be added to the list. And you can check the list. Also you can have sorting on data to the last modified data. So you can get the latest request. The Other logic is ...


2

SUMMARY This is maybe more complex than you may want, but it can be done. You also have a choice of using a hacky technique (read to the section break after the first code sample) or using the information in the first part to do some real work and re-create the item creation routine on your NewItem form. As a disclaimer, I'm assuming that you're using SP ...


2

260 is still under limit. But its depend which type of column you are using in it. Inserting the items will not be an issue, but real issue will be how you retrive it in a view. There is list view threshold limit, which cause performance issue. Below the list column limit per type: Column Name Limit Single line of text 276 Multiple Lines of ...


2

It's the way SharePoint works, it only lets you add some specific columns(can't really remember which ones at the moment) as look-up columns, I had same issue few years ago, only solution I could find it that add a item adding event receiver and change Title column to file's name. There is no other way around I ever came across. Similar post: Lookup ...


2

You could just use a single POST request in theory (it's actually X-http PATCH or MERGE in the case of updating a particular field in an item), but you would need to know what item you were trying to update first since you have to post to that item's endpoint... Sometimes you can get this from a selected item in a list view, otherwise you would need to just ...


1

You can do this with some simple coding. I can think of two ways of doing this. Inline editing of a ASP.net data control that displays all the list items. Using JavaScript you can change the priority on the run. Then should update all the list items when you are saving changes. Create an event receiver and attach it to the list. So when an item is updated, ...


1

If the information you're trying to hide is really sensitive, "hiding" methods such as personalized view or XSL transformation or audiences or custom webparts or jquery are NOT safe. If you store data in a list, I can fetch all the data from your list with 5 lines of javascript via JSOM. Thus the only safe method is to use SharePoint permissions. The idea ...


1

I finally done a temporary fix for this , I created a new view as same configuration and deleted the existing web part on the view page and added new one, I know this is not a permanent solution but as short it save your time.


1

Please check if the below feature is enabled in Site Collection features. "SharePoint Server Enterprise Site Collection features"


1

You can break the inheritance of the list, and set the users with a custom permission created by PowerShell with "Submit only" permissions. $spweb=Get-SPWeb -Identity "<site url>"; $spRoleDefinition = New-Object Microsoft.SharePoint.SPRoleDefinition; $spRoleDefinition.Name = "Submit only"; $spRoleDefinition.Description = "Can submit/add ...


1

You could use a page viewer web part to view content from other websites (including a different SharePoint site collection). You'll likely need to use the isDlg=1 parameter on the query string for the page viewer source, and you might even need to create a custom view on the original list that checks the querystring in order to hide ribbon elements or ...


1

Please use Managed Metadata for this, it's made exactly for this very reason. Go to "Term Store Management" under "Site Administration" Create a "New Group" by clicking on the arrow right next to root icon you see in the left pane of the center panel you see in front of you. If you are unable to find this option, give yourself or ask the SharePoint ...


1

I asked similar question here Get List Item ID from NewForm.aspx This link helped. http://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/


1

In SharePoint Designer, create a workflow that sends an email to the creator of the item on creation and on item change. This is out of the box functionality. but would like to try to implement the built-ins Not sure what you mean by that.. unless you mean out of the box.


1

The first thing to do is to check whether the email is actually being sent. Go to your Exchange server and enable queue logging to track mail passing through the system. Next, fill out the form to send to a known account you have access to and click submit. Go back to the Exchange server and check the queue log. If your email arrives in the next minute or ...


1

SharePoint will render the drop down listing differently based on how many items are in the drop down menu. If there are more than X number of items you get a textbox / ajax / filtered type of list. This is an older article but, helps explain how some scripting can resolve the issue for you. ...


1

Yes you can. You will need some additional JavaScript and CSS work to be done. You need to configure a list view web part. The list view web part has a format called XSLT. This will have some effort to be put in. But possible.


1

You do not need a CAML query : Remove-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue try { # REQUIRED: URL to source SharePoint site with list $srcListSiteUrl = "http://testsrv/sites/home/pre-sales" # REQUIRED: Name of source list. ...


1

Does the sort have to happen on the fly? If not, I would create a sort-order column that contained a number value and expose it in a datasheet view so that your author can set it there, and have the default view sort by the sort column.


1

Like @cubanGuy answer.. try <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type=text/javascript> alert("yes"); </script > If that works, then you have a typo in your code. You could try to set "onchange" in the html code: HTML <select title="Option" id="iCard" ...


1

Have you tried: $("select [title='Option']".on('change', function(){ alert("yes"); });


1

Did you try to set the view to Basic style.. then reset them back to "Default" ? It did the trick for our environment. And also make sure you have applied the latest Microsoft SharePoint patches. Otherwise I think the problem is that check boxes don't show up on the view . Why don't you make the column drop down list with to option Completed or not and I ...


1

You need little SharePoint designer skills to make any column clickable. Open the AllItems.aspx page for the specific list. Search for the tag List item LinkToItem="TRUE" to whichever column you want the link: > <ViewFields><br/> > <FieldRef Name="Attachments"/><br/> > <FieldRef ...


1

In MS tech forum, other user taught me the solution. so I'll share it in here too. in the Default style view, we need to use linkToItem=”TRUE”. However, in Basic Table style view, we need to use LinkToItem=”TRUE” instead.


1

There is the out-of-box solution to provide backup restore on app webs. Apps are separated from SharePoint, their backup and restore paths are also separate, i.e. you will not manage them from the B/R utilities that SharePoint provides. In most cases, you treat your entire SharePoint environment as a single solution, and so piecemeal restoration is not ...


1

To get the created by, you first need to get AuthorID. After that you need to use LookupSPuser to get the name of the user from the ID. For getting the Title, in entity type : List item of "Your list name". You should get the Title property.


1

In newform.aspx and editform.aspx of a SharePoint list item, a javascript function "PreSaveAction()" is called when the save button is clicked. By default, this function returns true, which enables SharePoint to Save/Update the item. You can override this function to provide your own validation. Within PreSaveAction(), you'll need to use AJAX to contact the ...


1

I did some research on this sometime ago. Simply a listview threshold means the number of rows a single SQL query will consume. If you use a lookup, person or datetime column the sql table creates a join query with all the rows in the current table. Which means even you end of the day returns only 4000 items, it create a table of 16000 and do the query. ...



Only top voted, non community-wiki answers of a minimum length are eligible