QPR Knowledge Base 2017.1

RefreshDrillDown

RefreshDrillDown

Previous topic Next topic No directory for this topic  

RefreshDrillDown

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

Revision history:

Introduced in QPR 7.6.1 SP2

 

Refresh the reference elements for a single element, scorecard or for the whole model selected by TargetObjectId.

 

Synopsis:

 

SCModel.RefreshDrillDown(TargetObjectId)

 

Parameters:

 

TargetObjectId: Integer. If TargetObjectId refers to a measure type of element, then refresh is done to that element only. If TargetObjectId refers to a scorecard, then refresh is done to all the elements in the scorecard. If TargetObjectId = 0, then refresh is done to the whole model. These options are the same as in the user interface, in the Drill Down tab of the Element Properties window in QPR Metrics client.

 

Required Rights:

 

Administrator or Model Administrator rights to the SCModel.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_ELEMENT_NOT_FOUND

RV_INVALID_PARAMETER

RV_CANNOT_LOCK_MODEL

RV_UNKNOWN_ERROR

RV_SUCCESS

RV_NO_RIGHTS

 

 

Example Procedure:

 

iRet = SCModel.Refreshdrilldown(0) 'refresh for whole model