Dundas Gauge for SharePoint web part

Hi,
I'm using the Dundas Gauge for SharePoint web part, it seems that I have to add a seperate web part for each and every guage that I want added to the page, this means that inside each web part I have to add the connection string details for the sql database to get the data for the guage.
If I have 20 guages on a sharepoint page, this means 20 connection strings, 20 hits on the db - it's not sounding good.
Has anyone had any experience of this or has any thoughts on the best way to integrate this?
Best Regards
Kieran

As long as the connection strings are the same connection pooling will probably be used (they could disable it if they wanted to but not very likely).
It could still be 20 seperate hits to the database though. If each gauge is looking at a seperate dataset then absolutely it would require a trip to make the query.
You should investigate if the controls support caching directly (very likely) and create a good caching strategy if you need 20 seperate query results on one page.

Similar Messages

  • How do I set EchoSign for Sharepoint web part to only sync documents that have been sent from the same site?

    Since EchoSign for Sharepoint (the web part) is basically worthless with any site over 2500 documents, we have broken up our sites so that the web part can successfully traverse the site without timing out. However, within the web part, there is an option (two green arrows) to synch with SharePoint. Unfortunately, users can sync any document from EchoSign to a SharePoint library. I dont want the users synching documents that dont belong in that library. Are there any settings or coding that will allow only the syncing, or actually auto sync the documents, to within the same site?

    Hi Ben,
    Please refer the doc: https://echosign.my.salesforce.com/sfc/p/#300000006IaDOWUzLXIiAnH9NO8_F9WhM_gpxBs
    for EchoSign integration with Sharepoint.
    Regards,
    Rave

  • JScript error in Window script block for SharePoint web part

    I am getting a runtime JScript error while trying to execute my web part. I assume that this error may be occuring because I am trying to assign a Javascript function to a SPMenuField.NavigateUrlFormat property.
    I have tried modifying the AllowedProtocols value in one the array variables for the SPUrlUtility.AllowedProtocols using the instructions at
    http://tipssharepoint.blogspot.in/2010/06/using-javascript-in-navigateurlformat.html. Even that didnt work.
    Could someone please help me on this?
    Thanks Sandy

    Hi ChaitanyaSandeep,
    The list of allowed protocols in AllowProtocols property doesn’t contain javascript, the following article shows an example to replace one of the values of the AllowedProtocols array before rendering the control, you can consider checking
    whether this works:
    http://blog.sdbonline.com/2009/04/using-javascript-in-the-navigateurlformat-property-of-the-spmenufield.html
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Errors while editing the xsl for dataview web part

    while modifying a dataview webpart in sharepoint designer, i finding the issues for the below line
    <xsl:for-each select="$Rows[substring-before(substring-after(substring-after(@FullName, '?ID='), '>'), '<') = $FullName]">
    errors:
    the tag is marked invalid because it is missing quote for  '>' and '<'
    the tag is marked invalid because it has an extra quote ">

    Hi ,
    According to your description, my understanding is that you got an error when you edited the xsl for dataview web part.
    Please try to change
    <xsl:for-each select="$Rows[substring-before(substring-after(substring-after(@FullName, '?ID='), '>'), '<') = $FullName]">
    To
    <xsl:for-each select="$Rows[substring-before(substring-after(substring-after(@FullName, '?ID='), '&gt;'), '&lt;') = $FullName]">
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • The XIr3 SharePoint Web Part for Webi is throwing errors to SharePoint.

    Hi Admin's, Have any of you seen this error... We've built an XIr3 environment to expose Webi via the PIK webpart to SharePoint as a reporting portal. The backend is Sql linked servers via an OLEDB provider from a vendor named OSI (PI historian). The environment rocks, and the BO/SAP software is doing exactly what we want it to, one admin issue though. BOXI is spamming our SharePoint admin with two pesky messages "Error: Failure in loading assembly: BusinessObjects.SharePoint.Utilities, Version=10.0.3300.0" and the same prefix with version 11.0.3300.0. Have any other admins experienced this? The configuration is working fine in production, our dev burn throws these two, and it is essentially preventing us from upgrading our DotNet framework from 2.0 to 3.5 which is the only  component in flux. The SP version is 12.0.633.5000. I just need to stop spamming my SharePoint friends and let them do their upgrade!

    The search center is just a collection of pages that has the appropriate search web parts.  YOu can change the Search Settings at the site or the site collection to change the results page used.  If you add a results page with the appropriate
    web parts to the site you can send the results anywhere.  But building a search center is the easiest way to do that.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Sharepoint web part Page Load issue

    Hi ,
     We are developing Sharepoint 2013 Integration application, We are fetching the data from third party application and dumping data into sharepoint List for offline analysis.
    Synchronization steps
    1) fetch data from third party application
    2) delete the old data
    3) Insert the new data in List
    4) Show the data in custom web part 
    synchronization is taking lot of time, is there any profiling  tools , we can measure the performance of method , network traffic which is causing the issue.
    We need to load the page less than second
    Regards
    Pat

    Hi,
    Per my understanding, you might want to improve the performance of your web part page.
    A suggestion is that you can create a custom Timer job in the server side which handles the data fetching and updating in a list in the backend periodically, the burden
    on the custom web part would get decreased.
    About create and deploy Custom Timer Job Definition in SharePoint Programmatically:
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SharePoint - Web Part - SQL Server Reporting Services Report Viewer Error.

    Hi,
    I was just having a bit of a fiddle with the differen't web-parts available to add on our local SharePoint site, and as one of my tasks is to have a report automatically open when the page is opened i thought i would try to add the web-part 'SQL Server Reporting
    Services Report Viewer' just to see the outcome.
    Now, I don't much care about viewing the report at this time, but imediately after trying to add the web part i am being displayed with an error and no matter how much i navigate away from the page or close the browser the particular link to the page i was
    trying to insert the web-part into now displays an error.
    The error simply says 'An unexpsected error has occured' with various 'Correlation ID:' each time.
    Now i have a link to other parts or subsites of that SharePoint site and they work just fine, it's just when i try to click on the page where i wanted to put the web-part in it
    still comes up with an error. This page just so happens to be the home page so it really does need to be fixed.
    Please help!?
    Many Thanks,
    Plain_Clueless

    Hi again,
    Sorry for the bother, We have now fixed the issue for the time being.. all that was needed was a simple '?contents=1' at the end of the url which takes you to a menu where you can delete the
    necessary web-part that was causing the trouble.
    As for actually implementing the report onto SharePoint.. in future i will make Dev pages instead.. and it seems i may need to contact the admin side of building so they configure 'SQL Reporting 
    Services Report Viewer' properly.
    Thanks a lot though!
    - A little less Plain_Clueless
    Plain_Clueless

  • How to develop a solution for news web part to not cut off words when displayed on a page?

    Hello,
    I am not sure where to turn to, but I have a web part on a SharePoint 2013 page where it displays news and announcement items.  4 lines of text are displayed, but words are cut off.  For example:
    The day was grey and stormy in the middl...
    Read More
    Is there a way to not have SharePoint cut off words and display the whole word before it adds the ... and the end of text?
    Is there a third party web part that does a better job at displaying news?
    Thanks,
    Paul
    Paul

    i think your code is such way it hides remaining text anyways try these links as reference:
    http://veroniquepalmer.com/2011/04/23/announcements-gotchas-on-sharepoint-2010-site-pages/
    http://sharepoint.stackexchange.com/questions/20959/sharepoint-2010-set-character-limit-of-news-webpart-without-sp-designer
    http://sharepointsolutions.blogspot.in/2009/02/expanding-size-of-announcements-web.html
    http://www.edugeek.net/forums/virtual-learning-platforms/31539-customizing-announcements-summary-view-sharepoint.html
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Is it possible for a Web Part to interact with a list the user does not have permissions for?

    Say I have a custom web part that queries a list or adds list items, etc. Does the user have to have the equivalent permissions on the list itself to use the web part? Would the SPSecurity.RunWithElevatedPrivileges Method be a way to get around this? Or is
    there a better way?
    Basically I want certain users to have a more controlled access to a list. But if I try to access the page with the web part on an account without permissions for the list, I get an Access Denied response.

    One way of elevating code is, as you already mentioned, using SPSecurity.RunWithElevatedPrivileges which will run SPSecurity.CodeToRunElevated with Full Control rights. From MSDN documentation of the method for SP 2013 (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx)
    you can see that this code runs under Application Pool identity:
        Type: Microsoft.SharePoint.SPSecurity.CodeToRunElevated
        A delegate method that is to run with elevated rights. This method runs under the Application Pool identity, which has site collection administrator privileges on all site collections hosted by that application pool.
    Another method, a bit more security fine-grained, can be used. The idea is to instantiate new SPSite object using overloaded constructor which takes Microsoft.SharePoint.SPUserToken as a parameter: http://msdn.microsoft.com/EN-US/library/ms469253(v=office.15).aspx.
    Example can be seen here: http://www.sharepointdeveloperhq.com/2009/04/how-to-programmatically-impersonate-users-in-sharepoint/. Using this approach, you can run your code in the context of the user who doesn't necessarily have to be site collection admin.
    This user can have only access to the list in question.

  • Deleting Old Versions SharePoint Web Parts

    I have inherited an Enterprise Content Management tool with Custom web parts that allow users to upload document using Document Set and Document ID in SharePoint 2010. The code has some custom EventReceivers that do ItemAdded, check for user permissions
    and add, delete items. My issue is Versions are created automatically for the user and the system account also creates Versions, making the Content Database grow quickly. I need to add C# methods in the code to retain only the current version for the user,
    to stop the content database from growing quickly. We are currently running PowerShell scripts to purge the Content database weekly. I want to stop running the script and do that in the Event Receiver code. Can any one help me  with suggestions and some
    code samples?
    Ebenezer

    Is there a way, you can change the library settings to remove versioning. That will just keep 1 version.
    Also, in your event reciever and web part code, you can use the SystemUpdate method instead of update so that a newer version is not created.
    Reference:
    SystemUpdate
    Hope this helps.
    Rahul Gupta, MCSE, MCSD - SharePoint

  • How to prepare permission matrix of users/groups for SharePoint web Application ?

    Hello,
    I am using SP Groups/users to assign to sharepoint objects.
    few SP Groups having AD groups.
    Is there any possibility/way to see/prepare user visibility in SP Group when AD Group is associated with SP Group ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi Dipti,
    So you want to find members of AD group in SharePoint 2010. Here are the links for your reference:
    Display members of AD groups web part ---
    http://sp2010adgroupmembers.codeplex.com/
    Getting members of an AD domain group using Sharepoint API ---http://stackoverflow.com/questions/4314767/getting-members-of-an-ad-domain-group-using-sharepoint-api
    Get a list of all SharePoint group’s users including active directory group ---
    http://christopherclementen.wordpress.com/2012/07/16/get-a-list-of-all-sharepoint-groups-users-including-active-directory-group/
    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

  • Adding Custom Filter Options for Newsfeed Web Part

    Hi,
    In OOB feature the newsfeed web part shows filter options for Following, Everyone, Mentions, Activities and Likes. Is it possible to add custome filter options to this web part?
    Thanks in advance.

    Hi,
    It seems that there is no OOTB options which allow to add more filters in the newsfeed web part.
    But we have many methods to retrieve the social feeds and you can filter them in the way you like. To know more about how to get feeds, the following link should be a good start.
    Work with social feeds in SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj163237(v=office.15).aspx
    Miles LI TechNet Community Support

  • SharePoint Web Part: "Unable to Execute Service Method getLocaleStrings

    When using the UCM Web Part to promote content from SharePoint 2007 to UCM 11.1.1.3, I am getting an error: "Unable to Execute Service Method getLocaleStrings"
    Does this mean there is an incompatibility between the UCM web part and UCM 11.1.1.3, or is there a workaround?
    In my UCM logs, I am seeing:
    Unable to execute service method 'getLocaleStrings'. java.lang.NoSuchFieldError: m_locales. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,10.2.20.96!$!csUnableToExecMethod,getLocaleStrings!syJavaExceptionWrapper,java.lang.NoSuchFieldError: m_locales
    intradoc.common.ServiceException: !csUnableToExecMethod,getLocaleStrings
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2071)
    at intradoc.server.Service.buildServiceException(Service.java:2207)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2201)
    at intradoc.server.Service.createServiceException(Service.java:2196)
    at intradoc.server.Service.doCodeEx(Service.java:583)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
    at intradoc.server.Service.doActions(Service.java:471)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1371)
    at intradoc.server.Service.executeActions(Service.java:457)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:723)
    at intradoc.server.Service.doRequest(Service.java:1865)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoSuchFieldError: m_locales
    at intradoc.custom.integrationsupport.services.LocaleStringsService.getLocaleStrings(LocaleStringsService.java:45)
    at sun.reflect.GeneratedMethodAccessor549.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:549)
    ... 15 more

    did you solve the problem???

  • Linq to Sharepoint web part erroring out

    I am getting the following error:  Cannot find corresponding storage member for member Id.
    This is my first time using linq to sharepoint
    My code is below.  Any suggestions are appreciated.
    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Windows.Forms;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.WebControls;
    using Microsoft.SharePoint.Linq;
    namespace LinqVendorDropDown.DropDown
        [ToolboxItemAttribute(false)]
        public class DropDown : WebPart
            DropDownList drpList = new DropDownList();
            String drpListSelected = "";
            protected override void CreateChildControls()
                // Get DataContext from page context
                DataContext data = new DataContext(SPContext.Current.Web.Url);
                // Get SharePoint list
                EntityList<Vendor> VendorsSPList = data.GetList<Vendor>("Vendor");
                // Query for vendors that are Active
                var VendorsActive = from vendor in VendorsSPList
                where vendor.Active
                select vendor;
                drpList.DataSource = VendorsActive;
                drpList.DataTextField = "Title";
                drpList.DataValueField = "ID";
                drpList.DataBind();
                drpList.Items.Insert(0, "Select a Vendor");
                drpList.AutoPostBack = true;
                Controls.Add(drpList);
                drpList.SelectedIndexChanged += new EventHandler(drpList_SelectedIndexChanged);
            void drpList_SelectedIndexChanged(object sender, EventArgs e)
                try
                    //set the selected value and logic
                    drpListSelected = drpList.SelectedValue;
                    this.Page.Response.Redirect("http://Site/Lists/Vendor/DispFormVendor.aspx?iD=" + drpListSelected);
                catch (Exception ex)
                    //  LogManger.WriteLog(" Error in EventCalendarWebPart.cs ddlAllLists_SelectedIndexChanged()" + ex.ToString());
                    Console.WriteLine(" Error in DropDown.cs ddlAllLists_SelectedIndexChanged()" + ex.ToString());
            protected override void Render(HtmlTextWriter output)
                EnsureChildControls();
                base.RenderContents(output);
        [ContentType(Name = "Item", Id = "0x01002E509ADD09F3314CB61CB5D1F8A0FCA6")]
        public partial class Vendor
            [Column(Name= "ID", FieldType = "Integer")]
            public int Id { get; set; }
            [Column(Name = "Title", FieldType = "Text")]
            public int Title { get; set; }
            [Column(Name="Active", FieldType="Boolean")]
            public bool Active { get; set; }

    I got it to work.  I just removed the ID field.  Apparently sharepoint doesn't allow you to handle that field

Maybe you are looking for

  • Search and Replace vi adds new text behind initial input when search critera is a empty string.

    Can anyone tell me what I am doing wrong? Want output to show N/A when nothing is entered in input string and to show the input string if something exists... The output of the attached VI is expected it to be Larron, but instead is outputting LarronN

  • IPod suddenly re-syncs all my music

    The last two times I have synced my 30 GB video iPod, it has uploaded all the music that was previously on it. This music has all remained in my iTunes library and on my hard drive. I haven't done anything to the files, or to my library, etc. I am wo

  • HP Officejet Pro 8600 only print 1/4th (maybe less) of a page and blows it up...

    Hi! A program I work on at work (which is distributed to people selling my employer's products) has trouble printing correctly on an HP Officejet Pro 8600. Only part (maybe 1/4th) of the page is printed and is expandeds to fit all the page. This prog

  • Maxl : ASO Filters and users

    Hi, I will like to create a MaxL script that will list all the users/groups and the filters assigned to each of them. I'm planning to use the following commands, but I can't find the command that will help me link the user (or group) to his assigned

  • Service 'sapgw53' unknown / CPI-C error CM_PRODUCT

    Hi SAP Gurus, I am trying to create RFC destination in 46d system and while testing the connection I am getting following error message. Pl. help mein resolving the issue. I have created the RFC destination successfully from one system to this system