sfdx-isv / fsc-demo-pack

Helps jump-start development against Salesforce Financial Services Cloud by providing an ADK Build Pack capable of creating a basic FSC demo org.
MIT License
17 stars 20 forks source link

Error while installing FSC package #4

Open sarabdeep03 opened 5 years ago

sarabdeep03 commented 5 years ago

Getting the following error at the step of installing FSC package - Installation errors: 1) (Alertc.Claimc) referenceTo value of 'Claim' does not resolve to a valid sObject type, Details: Alertc.Claimc: referenceTo value of 'Claim' does not resolve to a valid sObject type 2) (Alertc.Insurance_Policyc) referenceTo value of 'InsurancePolicy' does not resolve to a valid sObject type, Details: Alertc.Insurance_Policyc: referenceTo value of 'InsurancePolicy' does not resolve to a valid sObject type 3) (BillingStatementc.InsurancePolicyc) referenceTo value of 'InsurancePolicy' does not resolve to a valid sObject type, Details: BillingStatementc.InsurancePolicyc: referenceTo value of 'InsurancePolicy' does not resolve to a valid sObject type

sgriner commented 4 years ago

You need to make sure you have "FinancialServicesUser:10" in the features section of demo-scratch-def.json.

steals commented 4 years ago

This issue still exists. Even after applying changes from https://github.com/sfdx-isv/fsc-demo-pack/pull/6 I've also compared dev org created from Trialforce template and the new scratch org and confirmed the scratch org doesn't have "Claim" and "InsurancePolicy" standard objects. @VivekMChawla

nvuillam commented 4 years ago

Same issue here

nvuillam commented 4 years ago

My SFDX api version was 47.0 instead of 48.0 After setting it to 48.0 it passed Try that in your SFDX Project root folder

sfdx force:config:set apiVersion="48.0"
sfdx force:config:set apiVersion="48.0" --global
steals commented 4 years ago

after updating sfdx cli api version and creation of the new scratch org still have the same errors. @nvuillam Could you please check and confirm that your scratch org has Claim and InsurancePolicy objects?

in the meantime tried to contact Salesforce Partner Support but after one week of conversation and reaching to Tier 3 they closed the case with the resolution that they can't provision licenses to the scratch org... (ref: 26576674)

nvuillam commented 4 years ago

I confirm I see those objects :) And no need to provision licenses

steals commented 4 years ago

Well.. it appeared DevHub or namespace related issue... I've just created a new scratch org with another DevHub and also see Claim and InsurancePolicy objects. Hm..