NOTICE: You are in the old ClientSpace Help system. Please link to the new ClientSpace Help here https://extranet.clientspace.net/helpdoc/home/ClientSpace.htm

Adding ClientSpace Drilldown to Business Intelligence Reports

Functionality can be added to Izenda reports for drilling into ClientSpace records from ad-hoc reports - follow the guidelines below. 

The numbers in curlybraces are the field positions for the parameter you want to pass, so {0} indicates the field you are on, {2} indicates the second column (field) in the Izenda report.  It is important to know that fields (columns)  that are visually grouped in an ad-hoc report are not included when counting columns for use in these parameter curlybraces - so if the first two fields on your report are visually grouped and you wanted to send the parameter in field #4 you would actually use {2} unless the link is on field 4 in which case you would use {0}.

 By using the code samples below and the appropriate data fields you can add robust functionality to ad-hoc reports. 



In order to add linkto drilldown functionality inline on a report the following codes (see list below) should be added on the Fields Tab | Advanced Settings  | Url line.

Step-by-step guide - code samples

Standard formatting is as follows: /next/linkto/{TableCode}/{ID}

next/linkto  - this alerts BI that you are creating a link to another record

{TableCode} is the predetermined "Code" of the dataform or core table that you want to link to. This code is hardcoded into the url you're embedding into your report. 

{ID} is the key of the detail record you want to drill into, and will be dynamically replaced in your url by Izenda, keep in mind that Visual Group fields on reports do not count when figuring out the order.

Dataform TableCode  - You can link to dataform pages with the following format:

  • /next/linkto/clientservicecase/{ID}

A new column, called TableCode, has been added to the ProjectTypes table, this has been defaulted to the AttributeTableName with the "gen_" prefix stripped off.

So, in the example above, it will use the TableCode "clientservicecase" to hit the ProjectTypes table, find the associated ProjectTypeID, and build the Url to the dataform edit page with that ProjectTypeID and the provided RecordID.

Core TableCode -- You can also link to "Core" detail page through this mechanism, a pre-defined set of core TableCode-to-detail page url mappings are checked first:

  • Organization      usage: /next/linkto/organization/{ID}
  • Contact               usage: /next/linkto/contact/{ID}
  • Workspace         usage: /next/linkto/workspace/{ID}
  • Task                     usage: /next/linkto/task/{ID}
  • Activity                usage: /next/linkto/activity/{ID}
  • TimeTracker       usage: /next/linkto/timetracker/{ID}
  • User                     usage: /next/linkto/user/{ID}

Secondary TableCode - If the specified TableCode is not found in the list of known core/peo TableCodes, it will then hit tblTableMetadata, where there are two new columns: TableCode and DetailUrl. It will use the specified TableCode to lookup the tblTableMetadata row with the matching TableCode, and pull the associated DetailUrl field, it will look for the string {ID}, and replace it with the record id that was passed to the LinkTo page.

So, if you have a row in tblTableMetadata with a TableCode = "Foo", and a DetailUrl = "~/foo/bar/{ID}

Then, embed a link using the LinkTo page like this: /next/linkto/foo/123

An example of this is /next/linkto/workspace/{0} where the Projects Table entry in tblTableMetadata has been updated to allow direct linking to the Workspace Landing Page


A few caveats:

* None of these new columns (TableCode or DetailUrl) are exposed on the UI. You'll have to look directly in the database, or run an Ad Hoc report to see the values.

*New values can be added on request by NetWise  

* When you load up a detail page via the "Link To" page, you don't get your modules across the Top Nav, nor do you get the user name dropdown in the upper right of the Top Nav. This is by design. This is meant to be a stripped down version of the navigation, for drilling into detail pages.

*To encode a link to the Pricing Console of a workspace, use the following format in the fields Advanced | Url field: /next/PEO/PricingConsole/pricingconsole/{projectId} where /{projectid} represents the column on the report containing the ProjectID column on your report. Remember to remove formatting such as commas etc... from the ProjectID column or the report will return an error.

PRO TIPS:

  • When a report is designed to be run within a workspace (using #currentworkspace as a hardcoded filter in the report against a ProjectID column) you can pass the projectid of the workspace you are on using the querystring parameter projectid for example:
    • In the report :
    • In the link configuration: /BusinessIntelligence/ReportViewer.aspx?rn=workspacetest&projectid={fkProjectID}
    • If the link is configured to be run from the Workspace Landing Page: /BusinessIntelligence/ReportViewer.aspx?rn=workspacetest&projectid={ProjectID}

  • When a report is designed to filter records for only the current user (using #currentuser as a hardcoded filter in the report against a UserID column) the system will automatically pass the current user ID into this filter. For the example report above
    • In the report :
    • In the link configuration: /BusinessIntelligence/ReportViewer.aspx?rn=workspacetest


Adding custom links to dataform File fields 

If a dataform in your report contains a file upload field you can create a link to download the file using the following format

/next/Files/Download?id={ID}

{ID} is the file upload field in your report (containing the file GUID), and will be dynamically replaced in your url by Izenda, keep in mind that Visual Group fields on reports do not count when figuring out the order.

PEO TableCodes

The following is a list of standard PEO dataform tables and the associated TableCodes. If you don't find what you are looking for on this list, or would like to add a TableCode for a custom table, contact your NetWise account manager.

Dataform TableTableCode
gen_AcctManagerVisitAcctManagerVisit
gen_CertificateOfInsuranceCertificateOfInsurance
gen_CompClaimFinancialCompClaimFinancial
gen_CompClaimCompClaim
gen_CompClaimTreatmentCompClaimTreatment
gen_CollateralCollateral
gen_CorrespondenceCorrespondence
gen_EmployeeEmploymentInformationEmployeeEmploymentInformation
gen_EmployeesEmployees
gen_PayrollCyclePayrollCycle
gen_TerminationTermination
gen_UnemploymentClaimUnemploymentClaim
gen_AdminCompCodeMasterAdminCompCodeMaster
gen_AdminLegalEntityAdminLegalEntity
gen_AdminPolicyCompCodesAdminPolicyCompCodes
gen_AdminStateLegalEntityAdminStateLegalEntity
gen_AdminStateRatesAdminStateRates
gen_AdminWorkersCompPolicyAdminWorkersCompPolicy
gen_ClientProcessingTeamClientProcessingTeam
gen_ClientLocationClientLocation
gen_PricingBatchPricingBatch
gen_PricingBatchStatePricingBatchState
gen_PricingCompCodePricingCompCode
gen_CommissionDetailCommissionDetail
gen_SurchargesSurcharges
gen_RFPQuestionaireRFPQuestionaire
gen_ClientMasterClientMaster
gen_ClientActivityClientActivity
gen_CompClaimWitnessCompClaimWitness
gen_AdminHolidayAdminHoliday
gen_CompClaimLegalCompClaimLegal
gen_CompClaimRTWCompClaimRTW
gen_AdminLossRunImportMappingAdminLossRunImportMapping
gen_AdminLossRunImportAdminLossRunImport
gen_PayrollPayroll
gen_UnderwritingDefinitionUnderwritingDefinition
gen_UnderwriterApprovalUnderwriterApproval
gen_AdminLossRunImportMappingLookupAdminLossRunImportMappingLookup
gen_TPATPA
gen_ContactOtherInfoContactOtherInfo
gen_OrgOtherInfoOrgOtherInfo
gen_DefaultAdminFeeDefaultAdminFee
gen_DefaultCompDiscountDefaultCompDiscount
gen_EmployeeVoucherEmployeeVoucher
gen_InterfaceExceptionInterfaceException
gen_LossHistoryLossHistory
gen_PayrollStatisticsPayrollStatistics
gen_RFPQuestionnaireRFPQuestionnaire
gen_SalesEntitySalesEntity
gen_AdminCaseCategoryAdminCaseCategory
gen_AdminCaseTypesAdminCaseTypes
gen_ClientDistressCallClientDistressCall
gen_ClientServiceCaseClientServiceCase
gen_ClientServiceCaseEscalationClientServiceCaseEscalation
gen_ClientServiceCaseTimeClientServiceCaseTime
gen_AdminServiceTeamAdminServiceTeam
gen_FMLAFMLA
gen_ClientMasterStatusMetadataClientMasterStatusMetadata
gen_LossDataFactorLossDataFactor
gen_AttorneyAttorney
gen_MedicalProviderMedicalProvider
gen_CompClaimSubrogationCompClaimSubrogation
gen_JurisdictionReportFormatJurisdictionReportFormat
gen_CompClaimClaimantCompClaimClaimant
gen_CompClaimInjuryCompClaimInjury
gen_PayrollInformationPayrollInformation
gen_BenefitPlanBenefitPlan
gen_BenefitPlanTierBenefitPlanTier
gen_BenefitsBenefits
gen_BenefitsBenefitPlanBenefitsBenefitPlan
gen_CensusEmployeeImportCensusEmployeeImport
gen_COBRACOBRA
gen_Company401kCompany401k
gen_ContactContact
gen_Employee401kEmployee401k
gen_EmployeeBenefitsEmployeeBenefits
gen_FSAFSA
gen_HSAHSA
gen_LifeInsuranceLifeInsurance
gen_StateContinuationStateContinuation
gen_SurchargeTypeSurchargeType
gen_ApprovalDependencyApprovalDependency
gen_BodyPartMetadataBodyPartMetadata
gen_CauseofInjuryMetadataCauseofInjuryMetadata
gen_CompClaimRTWStatusMetaCompClaimRTWStatusMeta
gen_EPLIClaimEPLIClaim
gen_EPLIClaimFinancialEPLIClaimFinancial
gen_EPLIClaimLegalEPLIClaimLegal
gen_EPLIPolicyEPLIPolicy
gen_NatureofInjuryMetadataNatureofInjuryMetadata
gen_OSHACodeOSHACode
gen_DependentDependent
gen_CPEhrRAFCPEhrRAF
gen_IndustryCodeMappingIndustryCodeMapping
gen_EmploymentStatusMetadataEmploymentStatusMetadata
gen_PreSaleBenefitPlanPreSaleBenefitPlan
gen_PreSaleBenefitsPreSaleBenefits
gen_NewQuestionnaireNewQuestionnaire
gen_PensionPlansPensionPlans
gen_PensionPlanSupplementalPensionPlanSupplemental
gen_BenefitsPricingBenefitsPricing
gen_BenefitTierDefinitionBenefitTierDefinition
gen_ContractTypeMetadataContractTypeMetadata
gen_SurchargeTypeMetadataSurchargeTypeMetadata
gen_COICertificateHolderCOICertificateHolder
gen_COIVersionMetadataCOIVersionMetadata
gen_ClientSatisfactionLevelMetadataClientSatisfactionLevelMetadata
gen_OrganizationStatusMetadataOrganizationStatusMetadata
gen_DiscountThresholdDiscountThreshold
gen_EmployeeCertificationsEmployeeCertifications
gen_PayFrequencyMetadataPayFrequencyMetadata
gen_BenefitsPlanCategoryMetadataBenefitsPlanCategoryMetadata
gen_DeductionVoucherDeductionVoucher
gen_OfferedPlanClassificationOfferedPlanClassification
gen_BenefitsPlanGroupBenefitsPlanGroup
gen_EmployeeDeductionVoucherEmployeeDeductionVoucher
gen_BenefitsReconAdminBenefitsReconAdmin
gen_ConvertEDVRecordsConvertEDVRecords
gen_ImportInvoiceRecordsImportInvoiceRecords
gen_MasterBenefitsRecordMasterBenefitsRecord
gen_MBRMatchingRecordMBRMatchingRecord
gen_CompCodeTranslationLinkCompCodeTranslationLink
gen_MBRReconcileMBRReconcile
gen_CompCodeTranslationCompCodeTranslation
gen_OfferedBenefitPlanSummaryOfferedBenefitPlanSummary
gen_OrganizationSourceMetadataOrganizationSourceMetadata
gen_CompanyInformationCompanyInformation
gen_StaffingClientMasterStaffingClientMaster
gen_WorkOrderWorkOrder
gen_OrderAssignmentOrderAssignment
gen_PositionsPositions
gen_QualificationsQualifications
gen_EntityQualificationsEntityQualifications
gen_StaffingAdministrationStaffingAdministration
gen_PolicyCodeMetadataPolicyCodeMetadata
gen_UnemploymentClaimFinancialUnemploymentClaimFinancial
gen_I9I9
gen_AnnualAdministrationAnnualAdministration
gen_SurchargeTypeDependencySurchargeTypeDependency
gen_ClientServiceCaseExpensesClientServiceCaseExpenses
gen_RevenueAdjustorsRevenueAdjustors
gen_ExecTeamExecTeam
gen_SurchargeTypePriceThresholdsSurchargeTypePriceThresholds
gen_ClientServiceCasePriorityMetadataClientServiceCasePriorityMetadata
gen_UnemploymentBenefitChargesUnemploymentBenefitCharges
gen_TaxNoticesTaxNotices
gen_RiskProfileRiskProfile
gen_WCClaimNoteWCClaimNote
gen_ClientStatisticsClientStatistics
gen_OASISInvoiceOASISInvoice
gen_StateMetadataStateMetadata
gen_ClaimTypeMetadataClaimTypeMetadata
gen_ClaimNotesClaimNotes
gen_ProjectMilestoneProjectMilestone
gen_ClientCertificatesClientCertificates
gen_ContactTypeOtherInfoMetadataContactTypeOtherInfoMetadata
gen_ClientVisitTypeMetadataClientVisitTypeMetadata
gen_OrgTransferRequestOrgTransferRequest
gen_ClientServiceCaseDiscussionClientServiceCaseDiscussion
gen_CompClaimPaymentCompClaimPayment
gen_CompClaimReserveCompClaimReserve
gen_DiscussionMessageDiscussionMessage
gen_DiscussionRecipientDiscussionRecipient
gen_DiscussionThreadDiscussionThread
gen_ClaimDeductibleBillClaimDeductibleBill
gen_CompClaimPredictiveScoreCompClaimPredictiveScore
gen_DefaultClientTeamDefaultClientTeam
gen_ClientTeamRoleClientTeamRole
gen_ClientTeamRoleMetadataClientTeamRoleMetadata
gen_SlavicPlanHubSlavicPlanHub

tblTableMetada

tablenameDetailUrlTableCode
Projects/next/linkto/workspace/{ID}Workspace
tblContact/next/linkto/contact/{ID}Contact


For more information about configuring advanced functionality in ad hoc reporting, contact your account manager at NetWise technology to schedule a training


NOTICE: You are in the old ClientSpace Help system. Please link to the new ClientSpace Help here https://extranet.clientspace.net/helpdoc/home/ClientSpace.htm