0

I'm getting the error "Invalid field ParentServiceContractId for SObject ServiceContract" when I try to add it to a Visualforce page.

I see the field listed under standard fields and referenced in the documentation. I get the error whether or not it is ParentServiceContractId or ParentServiceContract.

Is there something I'm missing?

0

Found the issue, it's a new field and I was a few API versions behind.

When I updated the version to the current version, it worked.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.