This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 13, 2017, 12:34 PM
19 Posts

unused data sources - does it harm?

  • Category: Performance
  • Platform: All
  • Release: 9.0.1
  • Role: Developer
  • Tags: view,datasource
  • Replies: 0

I have inherited the support of an application. On an xpage there are on XPages level several data-sources defined e.g.

<xp:this.data>

<xp:dominoView var="view1" viewName="vwOffers" />

<xp:dominoView var="view2" viewName="vwOffersByName"></xp:dominoView>

</xp:this.data>

however, deeper on the XPage a viewpanel control is used with it's own datasource definition

<xp:this.data>

<xp:dominoView var="view3" viewName="vwOffersByFullName"></xp:dominoView>

</xp:this.data>

I am just wondering if this is causing any unnecessary performance? Are the first datasources loaded or not? Or will they be loaded when they are actually loaded when being accessed via a control?

===

I cannot answer why the datasources are there while not being used. Maybe they are there for debugging purposes or to check different document-sets.

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal