Jquery tooltip for sharepoint 2013 list (newform.aspx)

I am looking for a simple solution/jquery tooltip for SharePoint list form fields.
Something like below , but this one displays static text for each column and want tooltip text for each of my list column
<script type="text/javascript" language="javascript" src="/wz_tooltip.js"></script><o:p></o:p>
<a href="#" onmouseover="Tip('(This is test tooltip )');" onmouseout="UnTip();">
Thanks in advance!
<o:p></o:p>
Amrita Talreja

When you assign "Description" for every field in sharepoint list.SharePoint by default show this desc in a span just below the field control , like this.
<span class="ms-metadata">This is simple desc</span>
What you can try in jquery/javascript is to -
- Search for this span [class="ms-metadata"] in your form table (table[class="ms-formtable"])
- save its text() in a variable - var txtDesc = $("span selector").text();
- Hide this span -$("span selector").hide()
- Now you have dynamic desc message , you can add this as an "Title" attribute to your field control (textbox and other control)
- $("your field control selector").attr("Title", txtDesc );
Or can add a hyperlink for this -
<a href="#" onmouseover="Tip('"+ txtDesc +"');" onmouseout="UnTip();">
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

Similar Messages

  • Pulling user/group field data from SharePoint list using REST, jQuery, Knockout.js Sharepoint 2013

    I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To",
    etc. I used knockout.js to bind "Title","Description", and "Status" to my HTML controls. Here is some of the code:
    var ViewModal = function(items, listname){
    var self = this;
    self.sortBy = ko.observableArray(sortBy);
    self.tasks = ko.observableArray(items);
    self.listname = ko.observable(listname);
    self.auto = ko.observable(false);
    self.getTasks = function() {
    clearTimeout(self.getTasks);
    // server relative url to REST service endpoint
    var ajaxurl = _spPageContextInfo.webServerRelativeUrl + "/_vti_bin/listdata.svc/" + self.listname() + "?$orderby=PriorityValue";
    $.ajax({
    type: "GET",
    url: ajaxurl,
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    cache: false,
    processData: true,
    success: function (data, status, xhr) {
    if (status == "success" && data) {
    ko.mapping.fromJS(data.d.results, mapping, self.tasks)
    $(".task-item").draggable();
    error: alert
    if (self.auto()) {
    setTimeout(self.getTasks, 10000);
    <div class="tasks-column">
    <div class="column-header">Not Started</div>
    <!-- ko foreach: tasksNotStarted -->
    <div class="task-item">
    <div class="view" data-bind="visible: !IsEditing()">
    <button class="edit" data-bind="click: $root.editTask">edit</button>
    <h2><span data-bind="text: Title"></span></h2>
    <div data-bind="html: Description"></div>
    <span data-bind="text: PriorityValue"></span>
    </div>
    <div class="edit" data-bind="visible: IsEditing">
    <button class="save" data-bind="click: $root.saveTask">save</button>
    <input type="text" data-bind="value: Title"></input>
    </div>
    </div>
    I'm having trouble displaying the data from the "Assigned To" user/group field. I tried:
    <span data-bind="text: AssignedTo"></span>
    But it displays the field as [object Object]
    I tried using $select/$expand
    ?$select=Title,AssignedTo/Id,Assignedto/Title&$expand=AssignedTo/Id,AssignedTo/T‌​itle";
    But it still returns the [object Object]

    Hi,
    Please use the REST URI below:
    /_api/lists/getbytitle('ListName')/items?$select=Title,AssignedTo/ID,AssignedTo/Title&$expand=AssignedTo/ID,AssignedTo/Title
    More information for your reference:
    How to get User Details and User Group Details in SharePoint 2013 REST API with Knockout for SharePoint Js (KoSpJs)
    http://www.ashokraja.me/post/How-to-get-User-Details-and-User-Group-Details-in-SharePoint-2013-REST-API-with-Knockout-for-SharePoint-Js-(KoSpJs).aspx
    How to Get Login Name and Display Name using SharePoint 2013 REST API
    https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/how-to-get-login-name-and-display-name-using-sharepoint-2013-rest-api.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • SSIS List Adaptors for SharePoint 2013

    Was wondering if anyone is using the SSIS SharePoint List Adapters with SharePoint 2013 ?  We are interested in using them, but wasn't able to get information on support for SharePoint 2013 and the api's used (ASMX vs WCF web services). 
    https://sqlsrvintegrationsrv.codeplex.com/documentation
    https://msdn.microsoft.com/en-us/library/hh368261.aspx
    Thank you in advance for any help. 
    Tom
    Tom H.

    Hi Tom,
    Based on my test, we can use SSIS SharePoint List Adapters for SharePoint 2013.
    The following steps test in my environment are for your references:
    Download and Install SharePointListAdaptersSetup.msi or SharePointListAdaptersSetup_x86.msi.
    Right-click the SSIS Toolbox pane to Refresh Toolbox, then we can see SharePoint List Source and SharePoint List Destination under Common group.
    Create a SharePoint connection as SharePoint Credential in the package.
    Double-click SharePoint List Source or SharePoint List Destination to open the dialog box.
    Select the SharePoint Credential as Connection Manager in the Connection Managers pane.
    In the Component Properties pane, paste the URL for the SharePoint site into the SiteUrl (exclude anything from the word Lists onward in the URL)
    Example: if your SharePoint site URL for Lists is
    http://sp2k13/sites/report/Lists/11/AllItems.aspx
    then type http://sp2k13/sites/report as SiteUrl, type 11
    as SiteListName, type All Items as SiteListViewName.
    Finishing the mapping in the Column Mappings pane.
    The following screenshot is for your reference:
    Reference:
    How To Use a SharePoint List as a Data Source in your SSIS Package
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Open Edit form directly when list item is clicked in Sharepoint 2013 list

    Hi,
    I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
    if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....

    Sunitha,
    You can do this with some jQuery and JavaScript.  Look at this post:
    http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
    Basically, add a Script Editor Web Part to the page and include this snippet:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
    // Change all display form links to edit form links
    $('.ms-vb a[href*="listform.aspx"]').each(function(){
    var link = $(this).attr('href');
    link = link.replace("PageType=4", "PageType=6");
    $(this).attr('href', link);
    </script>
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • Best Usage reporting tool for SharePoint 2013 (onpremises)

    Please suggest me best reporting tool for SharePoint 2013 on premises.
    Need to get site usage summary for any time in last one year.
    Need to get library/list usage summary for any time in last one year. etc.
    How many peak hits and unique no of users across all levels.
    Thanks, Ram Ch

    Hi Ram
    We have two links “Popularity Trends” and “Popularity and Search Reports” in the site settings. By Clicking on the two links we can view the usage reports in SharePoint 2013.
    More references:
    http://technet.microsoft.com/en-us/library/jj715890(v=office.15).aspx
    http://sureshpydi.blogspot.com/2013/06/usage-reports-and-popularity-trends-in.html
    http://blogs.msdn.com/b/chandru/archive/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it.aspx
    http://www.prweb.com/releases/2012/8/prweb9821144.htm
    Amit Kotha

  • Welsh Language Pack for SharePoint 2013

    Are there any plans to provide a Welsh Language pack for SharePoint 2013? There was one for 2007 and 2010 but Welsh is not on the list for 2013 as far as I can see (http://technet.microsoft.com/en-us/library/ff463597.aspx).
    Thanks
    Mark Salter
    Amgueddfa Cymru - National Museum Wales

    Hi all, we have contracted with a Sharepoint specialist who have produced numerous welsh / bilingual web sites. They are working on a business case to Microsoft in conjunction with certain agencies and focusing on how education sales would suffer without
    it. They seem to think that the likely date for release will be Q2 2014, Hope this helps, it will be too late for us and we probably won't run our intranet bilingually as a result.

  • Megamenu for Sharepoint 2013

    Hi,
    I would like to construct a 2 level megamenu for sharepoint 2013 on a page, using out of the box features along with scripts, but not visual studio at all. Is it possible ? Can any one please help me, if they have prior experience in this. 
    Many thanks for your response !
    Regards

    Hi Prajik
    This can be done using Out of the Box Navigation and with little tweaking in Jquery
    http://www.nothingbutsharepoint.com/2013/03/19/how-to-achieve-a-mega-menu-using-out-of-the-box-navigation-in-sharepoint-2013-and-jquery-aspx/
    If you don't want to use out of the box navigation then you can insert megamenu html into your custom master page
    http://blog.sharepointexperience.com/2013/05/mega-menu-for-sharepoint-part-1/
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • Autocomplete is not working for Sharepoint 2013 search box.

    I added the below code in cewp in sharepoint 2010 and autocomplete worked fine.
    http://sharesilver.wordpress.com/2011/11/26/auto-suggestioncomplete-in-sharepoint-search-text-box-with-jquery-like-in-google-part-1/#comment-605
    when i added this code in sharepoint 2013 by changing the searchbox class name in the code. it is not working. why ??
    Sharepoint 2010 searchbox class name ="ms-sbplain"
    what is Sharepoint 2013 searchbox class name ?? i added "ms-textLarge" as class name but it didn't work.
    Thanks in advance.
    M.M

    Hi M.M,
    The class for SharePoint 2013 Search box input element is as follow, please check if it is what you want.
    class="ms-textLarge ms-srch-sbLarge-fullWidth ms-srch-sb-prompt ms-helperText"
    The project code you are using is updated in codeplex, and the query suggestions (similar to this autocomplete) is an OOB feature in SharePoint 2013 enterprise verison, you can take a look. 
    http://spautosuggestion.codeplex.com/
    http://technet.microsoft.com/en-us/library/jj721441.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to have profile thumbnails image appear in a SharePoint 2013 list?

    Hello,
    I am not using MySites, but have a SharePoint 2013 list with profiles in them.  They were imported from Active Directory, where I do have thumbnail images for each profile.  I am using SharePoint 2013.  How would I get these images from AD
    into the SharePoint list?  I have the attribute setup in User Profiles Synchronization, but the images did not show up.  I followed these steps in this posting, but I did not do the PowerShell step, since I am not using MySites. 
    http://richardstk.com/2013/04/12/import-user-photos-from-active-directory-into-sharepoint-2013/
    How can I get these images imported to this SharePoint list?
    Thanks,
    Paul
    Paul

    Hi Paul,
    Thanks for posting your issue, Kindlt run the below mentions script to get the profile picture in List view
    Update-SPProfilePhotoStore –MySiteHostLocation
    http://mysites –CreateThumbnailsForImportedPhotos
    $true
    Also, browse below mentioned URLs for more details on this
    http://technet.microsoft.com/en-us/library/ff607547.aspx
    http://blog.blumshapiro.com/blog/2013/05/13/adding-pictures-to-active-directory-and-show-in-sharepoint-2013/
    http://spsawyer.wordpress.com/2013/07/31/sharepoint-2013-user-profile-photo-sizes/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Can we use SQL Server as a primary data storage for SharePoint 2013?

    Is it possible to use external SQL Server as a primary data storage for SharePoint 2013?
    Having this implemented we can generate reports, query data and it would become very very powerful to use.
    Or
    Is there a way to keep on using existing content databases and using external SQL Server as a secondary data storage at the same time. So I want it to be like redundant data in SQL Server.
    Thanks 

    Hi,
    Not sure if I understand your question correctly, SharePoint has its own content database storing SharePoint list data, we can use SSRS/SSAS integated with SharePoint mode to use sharepoint list as datasource to generate reports.
    http://technet.microsoft.com/en-us/library/bb326358(v=sql.105).aspx
    http://sqlmag.com/business-intelligence/delivering-bi-through-sql-server-and-sharepoint
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Thanks
    Daniel Yang
    TechNet Community Support

  • SharePoint 2013 List - Multiple Data Types in the Same List

    In the same SharePoint 2013 list in Data Sheet View, I want to have one column where my end users enter inputs for KPIs. There are 3 groups of KPIs (A, B and C) and they each have different data types (A-string, B-decimal, C-percentage) and I want to be
    able to base their input options off of the KPI type
    Does anyone have any suggestions on how I can leverage my parent-child relationships so when an end user...
    1. Picks KPI type A, they can select from a choice filed (Green, Yellow, Red)
    2. Picks KPI Type B, they can enter a decimal (-1.000 to 2.000)
    3. Picks KPI Type C, they can enter a percentage (-100.00% to 100.00%
    I'm using if I want to keep this in one list, one column and in data sheet view that the out of the box solutions won't meet my requirements. I was looking at some solutions from Bamboo (Lookup Selector Column) but don't think that applies here.
    Thanks!
    Johnny

    Hi Johnny, you can accomplish this using cascading lookups in InfoPath if that program is available to you. Otherwise, if you want a 3rd party product, we use the Kwiz cascading lookup and it's worked wonders for us:
    http://www.kwizcom.com/sharepoint-add-ons/sharepoint-cascading-lookup-plus/overview/
    Note: I have no relationship with Kwiz, just vouching for the product.
    cameron rautmann

  • Clear PeoplePicker value in List NewForm.aspx

    Hi,
    In List NewForm.aspx page, i have PeoplePicker control, dropdown and few text fields.
    I have to load values in all fields based on dropdown changed event using jquery, i completed this part to load all fields.
    When user changed the dropdown value again and again, the peoplepicker control value get append. i tried to clear its value when dropdown changed event but it not works. Here is the code i have used:
    $("input[title='Owner']").val("");
    var _PeoplePicker = $("div[title='Owner']");
           var _PeoplePickerTopId = _PeoplePicker.attr('id');
           var _PeoplePickerEditer = $("input[title='Owner']");
    //$(_PeoplePickerEditer).empty();
           _PeoplePickerEditer.val("test user");
           var _PeoplePickerOject = SPClientPeoplePicker.SPClientPeoplePickerDict[_PeoplePickerTopId];
           _PeoplePickerOject.AddUnresolvedUserFromEditor(true);  
    Thanks in advance...

    Hi,
    Please use the following code to delete the user list from the people picker
    var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[_PeoplePickerTopId]; // Get the instance of the People Picker from the Dictionary
    if (spPeoplePicker) {
    var ResolvedUsersList = $(document.getElementById(spPeoplePicker.ResolvedListElementId)).find("span[class='sp-peoplepicker-userSpan']");
    $(ResolvedUsersList).each(function (index) {
    spPeoplePicker.DeleteProcessedUser(this);
    Please mark it answered if resolved.

  • SQL 2012 AlwaysON High Availability for SharePoint 2013

    Our Company have 2 Webfront Servers for Sharepoint 2013 and one Database SQL 2012 Server.
    We got one more Server & we don't have Storage so need to configure Always On.
    There are Some Confusions:
    1- Database Server is in production, so how much down time required to Achieve the AlwaysOn?
    2- What are the Changes need to be done on Production Server?
    3- What are the Steps to be followed While Configuring new Database Server?
    Regards,

    Hi Genius1985,
    According to your description, you want to configure a SQL Server 2012 AlwaysOn Availability Group for your database, right?
    Question 1: Database Server is in production, so how much down time required to achieve the AlwaysOn?
    There is no a certain downtime for AlwaysOn, it depends on the configuration of our AlwaysOn Availability Group, normally it can be several seconds or minutes. In order to understand why there is downtime for SQL Server with Microsoft Clustering, please refer
    to the following article:
    http://www.mssqltips.com/sqlservertip/1882/understanding-why-there-is-still-downtime-for-sql-server-with-microsoft-clustering/
    Question 2 and 3: What are the Changes need to be done on Production Server? What are the Steps to be followed While Configuring new Database Server?
    Since AlwaysOn Availability Groups require a Windows Server Failover Cluster, we first need to add the Windows Failover Cluster Feature to all the machines running the SQL Server instances that we will configure as replicas.
    Once the Windows Server Failover Cluster has been created, we need to proceed with enabling the AlwaysOn Availability Groups feature in SQL Server 2012.  This needs to be done on all of the SQL Server instances that we will configure as replicas in our
    Availability Group.
    For more details about Step-By-Step: Creating a SQL Server 2012 AlwaysOn Availability Group, please refer to the following article:
    http://blogs.technet.com/b/canitpro/archive/2013/08/20/step-by-step-creating-a-sql-server-2012-alwayson-availability-group.aspx
    If you have any question, please feel free to let me know.
    Regards,
    Jerry Li

  • Where is coding guideline for SharePoint 2013 available?

    Can any one suggest where is coding guidelines and best practices for SP 2013 development is available?

    Hi,
    According to your post, my understanding is that you want to know the best practices for SharePoint 2013 development.
    There are some articles cover best practices targeted towards software developers in SharePoint 2013, you can refer to them.
    http://social.technet.microsoft.com/wiki/contents/articles/13373.sharepoint-2013-what-to-do-farm-solution-vs-sandbox-vs-app.aspx ,
         discusses when to use farm solutions, sandbox solutions, or sharepoint      apps.
    http://social.technet.microsoft.com/wiki/contents/articles/13637.sharepoint-2013-best-practices-what-client-api-should-you-choose-when-building-apps.aspx ,
         guidelines to help you pick the correct client API to use with your app.
    http://msdn.microsoft.com/en-us/library/jj164060(v=office.15).aspx       
    http://social.technet.microsoft.com/wiki/contents/articles/16343.sharepoint-2013-best-practices-setting-up-a-dev-environment-for-windows-apps-and-sharepoint.aspx ,
         describes how to set up a dev environment needed for creating Windows Apps      that leverage SharePoint.
    http://social.technet.microsoft.com/wiki/contents/articles/16353.sharepoint-2013-best-practices-working-with-connection-strings-in-auto-hosted-sharepoint-apps.aspx ,
         discusses how to deal with connection strings in auto-hosted apps.
    For more reference:
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for