How to limit text amount in a 2013 SharePoint list column?

I have a few lists that have a Remarks or Details column that have multiple lines of text.  In my old 2007 site, I had a small script that would hide all but the first 30 characters and then add ... and when you moused over it displayed the rest of
the text.  It seams that the script won't work in 2013 SharePoint now and I have yet to find a fix.

Hi,
I think the way you are following is perfect.
For the script to work fine follow the below mentioned steps
1. If it is a custom user control in which the text box is place then placing the script inside the script block on th usercontrol or putting it in a js file should be fine(i know this is straight forward but still im telling)
2. If it is an out of the box page, then placing the script inside the content editor will not work. You will have to add the script editor webpart and then place your script inside that webpart and it should work fine.
Please let us know in case of any issues.
Regards,
Sharath
sharath kumart shivarama

Similar Messages

  • How to limit the number of items that a list control can hold?

    Hi,
    I am using a Flex3 List control for one of my projects.
    I add drag & drop functionality to it, so that i can drag & drop elements from one control to another.
    How to limit the number of items that a list control can hold / can be dropped in a list control ?
    - Sen.

    1. Listen for the dragdrop event on the control you are dragging onto.
    2. check the length of the items in the dataprovider - if it exceeds your maximum override the default drop action with e.preventDefault(); (assuming you used e for the event on the handler).
    Regards,
    Mark.

  • How to update an existing item in a sharepoint list using the WSS adapter for Biztalk

    Is there a way that a record in SP list be updated using WSS adapter in biztalk ?
    BizTalk 2013 and SP 2013 ..
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    A ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
    http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
    There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
    http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
    Regards.

  • How do I use Active Sync to view SharePoint Lists (Contacts and Calendars) on a Mobile Phone?

    We are attempting to use SharePoint 2010 in combination with Exchange 2010 to implement shared calendars and contact lists throughout our organization.  We are able to connect the lists to Outlook 2010, but have been unsuccessful in viewing
    the calendars and contact lists from our mobile phones.  How do we use Active Sync to view SharePoint Lists (Contacts and Calendars) on a Mobile Phone?
    In trying to answer this question, we have come across a few different possibilities, all of them falling just short of a long term solution for us.  After doing research, we found that Active Sync will only show the default folders of the account.  To
    solve this, we downloaded an Add-In for Outlook (CodeTwo FolderSync) to synchronize folders and synchronized our SharePoint list with a new Contact list in the default folder.  The issue we came across with this method is that the Add-In we are using
    is not capable of automatic synchronization.  There is a button and it must be clicked after every update is made, which is not ideal for our solution.  We then went to the company (CodeTwo) and found server side software (Exchange Sync) that they
    offer which will automatically synchronize the folders.  After installing that on the Exchange Server, we now are running into the issue of not being able to locate the SharePoint lists on the Exchange Server.
    Does anyone happen to know how we can get to the SharePoint lists from the Exchange Server?  Has anyone else been able to use shared contacts lists and calendars from SharePoint on their mobile phones using Active Sync?  If so, are we in the right
    direction with what we have found so far?
    Thanks,
    Brad

    You cannot use ActiveSync for that, but there are SharePoint clients for the iPhone. Windows Mobile 7 natively supports SharePoint with SharePoint Workspace Mobile, part of Microsoft Office Mobile. Android and BlackBerry might also have some apps.
    Use Microsoft SharePoint Workspace Mobile
    http://www.microsoft.com/windowsphone/en-us/howto/wp7/office/use-office-sharepoint-workspace-mobile.aspx
    iPhone SharePoint Apps Shootout
    http://www.codeproject.com/KB/iPhone/iPhoneSharePointApps.aspx 
    Comparing SharePoint iPhone Apps
    http://blog.praecipio.com/2010/11/02/comparing-sharepoint-iphone-apps/
    MCTS: Messaging | MCSE: S+M

  • How to limit the amount of disk space Time Machine will use?

    On Yosemite, how do you limit the amount of disk space Time Machine will use?
    I'm using a Seagate Goflex Home 2tb drive connected to my router as a Time Machine backup drive.  I use this for three things 1)Time Machine 2) an occasional backup of  windows document subdirectory  3) backup of music and photos for long term storage.   Doing something like re-partioning the drive is not an option.  I'll just go buy another drive for time machine's sole use. In addition, using software from Seagate is not an option.  I don't want to use their software for different reasons (mainly the GoFlex home is really designed as a "media server"  which I don't use.  I, of course, use iTunes. ) On the Mac, I'm only using about 250GB total but time machine is rapidly using up space.
    Apparently using a terminal command like below, used to work,  but no longer works under Yosemite.
    For a limit of 100gb the number below would be 100 x 1024
    sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize 102400
    To remove the limit, use the following command:
    sudo defaults delete /Library/Preferences/com.apple.TimeMachine MaxSize
    Now, I'm not too familiar with terminal and I'm not about ready to issue a command without knowing exactly what it is going to do.
    Is there an easier "switch" someplace or an app that does this?
    If I don't limit the size, at some point there will not be any space left for windows backups and additional photo and music files.

    Hmm- added "sudo" and there was no error reported:
    sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize xxxxxx
    I guess we'll see.

  • How to make text field in tabular form as List of value (LOV)

    So the problem is next:
    I should to make field in tabular form as LOV(list of value (combobox)) to load there data form db. Could smb take me an advise how to make it.
    Thanks.

    So thanks, I did it, it works. How now to make next: I selected Id from list and in the next column appears name with ID from DB. so how to make ondemand process i know (thanks to you), but how to get value from LOV that I selected to give it to Dynamic Action.
    Thanks

  • How to autogenrate multiple items report of the SharePoint list and sent to the client id on daily basis

    Dear Support,
    As per customer requirement he want to send SharePoint list multiple items reports on daily basis by email autognrated workflow in SharePoint.
    I tried for that and created workflow for SharePoint list  on new item creation using SharePoint designer 2013 it’s working fine. But I am unable to send list multiple items report by work flow.
    Please let me know the process for SharePoint list multiple items report generation and how to sent mail to the client id on daily basis.
    Would request your support.

    Hi
    another approach
    use a powershell scheduled script which will get needed lists items, adn will sned the infos by email
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • How to use SSIS 2014 to read from Sharepoint List ?

    Hi there,
    I have designed a simple entry form for users using List in Sharepoint 2013.
    I need to use the information to merge into my datawarehouse.
    Question :
    1. How can I setup SSIS (SQL 2014) to get the source from List in Sharepoint?
    I have tried to download the script as suggested in codeplex but it seems not working with SQL 2014 as there is no SSIS toolbar displayed.
    Any help is much appreciated
    Thank you and Best Regards

    Hi SylviaO,
    The current
    SharePoint List Adapter that extracting and loading SharePoint Data in SQL Server Integration Services supports x86/x64 systems using SQL 2005 / SQL 2008 / SQL 2008 R2/ SQL 2012. It doesn’t support SQL 2014. Maybe we need wating the update.
    Besides, the
    OData Source component can also be used to read from SharePoint lists. So we can download and install the 64 bit ODataSourceForSQLServer2014-amd64.msi or 32 bit ODataSourceForSQLServer2014-x86.msi from the
    Microsoft® SQL Server® 2014 Feature Pack.
    The following blog about using the SSIS OData Source Connector to read data from SharePoint lists is for your reference:
    http://whitepages.unlimitedviz.com/2014/03/using-the-odata-source-connector-with-sharepoint-online-authentication/
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How do I import csv file into a SharePoint list?

    I am trying to use a PowerShell script to load data into a SharePoint list from a csv file. When I run my code, it seems to go through the process of loading the data into the list. However when I go to my list, all I see is "System.Object[]" displayed
    in the first column of all my rows with no other data displayed. When I check my csv file, I see a ton of data (several rows and columns) but that is not being moved to my SharePoint list. This is what my script looks like
    if((Get-PSSnapin | Where {$_.Name -eq “Microsoft.SharePoint.PowerShell”}) -eq $null) {
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    $web = Get-SPWeb http://link to web
    $list = $web.lists["List Name"]
    $recordsNumber = 0
    foreach($i in Import-CSV myCSVFile.csv)
    $new = $list.Items.Add()
    $new["Title"] = $i.Title,
    $new["FirstName"] = $i.FirstName,
    $new["LastName"] = $i.LastName
    $new.Update()
    $recordsNumber++
    "Added " + $recordsNumber.ToString() + " records."
    "Done. Press any key to continue..."
    $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
    Any ideas on how to fix this, and get my list populated with data?

    if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null )
    Add-PsSnapin Microsoft.SharePoint.PowerShell
    $host.Runspace.ThreadOptions = "ReuseThread"
    #Open SharePoint List
    $SPServer=http://SOMESERVER
    $SPAppList="/Lists/List Name/"
    $spWeb = Get-SPWeb $SPServer
    $spData = $spWeb.GetList($SPAppList)
    $InvFile="myCSVFile.csv"
    # Get Data from Inventory CSV File
    $FileExists = (Test-Path $InvFile -PathType Leaf)
    if ($FileExists) {
    "Loading $InvFile for processing..."
    $tblData = Import-CSV $InvFile
    } else {
    "$InvFile not found - stopping import!"
    exit
    # Loop through Applications add each one to SharePoint
    "Uploading data to SharePoint...."
    foreach ($row in $tblData)
    "Adding entry for "+$row."Application Name".ToString()
    $spItem = $spData.AddItem()
    $spItem["Title"] = $row."Title".ToString()
    $spItem["FirstName"] = $row."FirstName".ToString()
    $spItem["LastName"] = $row."LastName".ToString()
    $spItem.Update()
    "Upload Complete"
    $spWeb.Dispose()
    Link
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How do I customize the forms to the SharePoint list

    I need to customize a form to a SharePoint list that I created in Visual Studio.
    After the deploy list, try to customize the EditForm.aspx, NewForm and forms, however when publishing the form of a message that basically says catastrophic error is displayed:
    This form is not a standard SharePoint.
    How do I customize the forms to the list created?

    Hi,
    Here is a link which describe how to customize SharePoint list forms using Visual Studio, Please compare it with your code and see if there is any possibility causing the error.
    http://www.codeproject.com/Articles/223431/Custom-SharePoint-List-Forms
    More important, I’d strongly recommend you using InfoPath Form to custom list form for SharePoint. For your convenience:
    http://msdn.microsoft.com/en-us/library/office/aa947697(v=office.15).aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to get value with two parameter fro sharepoint list in SSRS reporting

    Hi 
    I am using Sharepoint list and fetching data in SSRS.
    Using three parameter as Department,Section and subsection.
    with filter everything working fine,but if i use category All and Sub category all for particular department,unable to get record.
    please let me know how to implement.
    Help will be appreciated.
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Hasan,
    Per my understanding you want to add mutilple value parameters to filter the data in the sharpoint list datasource report, right?
    I have a test based on the step by step details information in below link and all works fine which will make the multiple value parameter works fine:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    Add the custom code from above link
    Parem1 is the parameter which get values from a query and with all the values(duplicate value),please setting as below:
    Param2 is the parameter which will display in the report have done the deduplication, check the "Allow Multiple values" and then Specify the available value and default value using below expression:
    =Split(Code.RemoveDups(JOIN(Parameters!Param1.Value, ",")), ",")
    Add the filter and preview.
    Similar thread below for your reference:
    SSRS reporting with sharepoint list using Distinct and Multivalue
    parameters
    If i have some misunderstanding, please try yto provide more details information about your requirements.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How can I add new user in sharepoint list column (people or group) or in sharepoint group using loginName only

    Hi
    If I have only login name of any user like - "Donamin\login_name".
    If this user is not present in sharepoint portal.
    How can I add this user to people or group column of any list or in any  sharepoint group with permission?

    hi
    got the issue
    it should be  like this -
    string userloginname = @"DOMAIN001\vyankatesh_mujumdar"
    using (SPSite oSpSite = new SPSite(site.ID))
    using (SPWeb web = site.OpenWeb())
    try
    { SPList lst = web.Lists["TestList"];
    string userloginname = @"DOMAIN001\vyankatesh_mujumdar";
    web.EnsureUser(userloginname);
    SPUser oSPUser = web.SiteUsers[userloginname];
    SPFieldUserValue FieldValueName = new SPFieldUserValue(web, oSPUser.ID, oSPUser.LoginName);
    SPListItem oSPListItem = lst.Items.Add();
    oSPListItem["Title"] = userloginname;
    oSPListItem["People"] = FieldValueName;
    oSPListItem.Update();
    catch (Exception ex)
    ExceptionManager.LogErrorInFile("--------Exception -------", bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.Message, bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.Source, bIsLogEnabled);
    ExceptionManager.LogErrorInFile(ex.StackTrace, bIsLogEnabled);
    ExceptionManager.LogErrorInFile("-------------------------------------------------------", bIsLogEnabled);
    Thanks for all for the reply

  • How to make a SharePoint list column ReadOnly using Sharepoint designer

    Hi,
             I am new to sharepoint. Need to make a few columns readonly in a sharepoint list.  Not sure how. Any help is appreciated.
    Thanks

    Here is one more Simple and Best practice to be fallowed using powershell
    http://soreddymanjunath.blogspot.in/2014/04/readonly-field-using-powershell.html
    Cls
    Add-PSSnapin "Microsoft.Sharepoint.Powershell"
    $web= Get-SPWeb -Identity "http://test.dev/sites/Wftest"
    $ls=$web.Lists.TryGetList("test");
    $flds=$ls.Fields["CustID"]
    $flds.ReadOnlyField=$true
    $flds.Update();
    Note:  If
    ReadOnlyField =TRUE,
    the field is not displayed in New or Edit forms 
    ReadOnly to TRUE hides
    the field from Site Settings pages for managing site columns and content types. Setting the Hidden attribute
    to TRUE completely
    hides the field from the UI. 
    Default  ReadOnlyField value
    is set to false.
    Best Practice is to Use 
    $flds.ShowInDisplayForm=$false;
    $flds.ShowInEditForm=$false;

  • How to pull AD data into a custom SharePoint list?

    We want to pull in all the active directory user data like username, first name, last name and address into a custom SharePoint list.
    Is this possible?

    There is no OOOB way. But you can achieve this with custom code.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8f441d97-e4f9-4e80-891b-f4f4b5fb9457/how-to-populate-a-sharepoint-2010-list-from-the-active-directory-how-to-populate-a-sharepoint-2010?forum=sharepointdevelopmentprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/903afa85-6e23-451e-b84a-d519cb2ddf9c/creating-a-list-of-data-pulled-from-ad?forum=sharepointdevelopmentprevious
    Bala
    Can we sync the hidden User Info list with AD? Is this an OOTB sharepoint feature?

  • How to limit text in a cell

    I have a spreadsheet that a column can only contains 30 characters, how can I easily make numbers either identify those over 30 characters or chop off the extra ones?

    There are a couple ways:
    1) add an extra column which computes the length and posts a message "TOO LONG" when the length of the contents of the cells exceeds your limit
    Cell B2=IF(LEN(A2)>30, "TOO LONG", "")
    select B2 and fill down as necesary
    2) Use a second table to shade the rows in error:
      - Make a 2nd table with a single column
      - in this new table enter the formula:
         A2=IF(LEN(Table 2::A2)>30, 1, 0)
        select A2 and fill down as necessary
      - now select all the rows in this table and apply conditional formatting using the menu item "Format > Show Conditional Formatting Rules"
      - make the single column as wide as the table or cell you want to flag with an error
      - Send the 2nd table (the one with the header "Check") to the back using the menu item "Arrange > Sent To Back"
      - slide the 2nd table under the first

Maybe you are looking for

  • Unable to embed data in any of the components

    I have an xlf file that contains a series of charts, tables and other components with data embedded in them. As I get new data, I update the previous data. But, currently I am unable to embed data in the existing charts or any other new components th

  • 30gb Freezes when Connected to External Speakers

    My new 30gb iPod freezes when I have it plugged into my JBL On-stage. After about 1/2 hour to 45 minutes it gets stuck and just stops working. I have to do a hard reset every time. I am having the exact same problem with our first 30gb iPod also but

  • Audit Trial  is not opening for any of the instances at Flow Trace - Trace

    Hi, I am not seeing audit trial link at any of the instances at Flow Trace -> Trace section .I tried clicking component instance and it does nothing. Is there any setup for opening Audit trial page? Please suggest. thanks, ashok

  • BPC 7.5: Node ID and description are not loading

    Hi, I'm working on BPC 7.5 and SP04.   I'm working on BPC 7.5 and SP04. I have G/L account hierarchy in BI system. I tried to load G/L account master data attr/text into BPC and successfully loaded but hierarchy node ID's and description are missed.

  • GRC 10 PC Integration with AC

    Hello Experts, I have a following scenario where in i have to map Mitigation controls of AC to one of the controls/Control objective in Process controls. Is it possible to do this kind of integration in GRC 10? If yes, Is there any configurable setti