Skip to main content


 

Symptoms


After deploying solution to production it fails when trying to open the New form with the following
“ServiceObject definition does not contain method…. ”

 

Diagnoses


The source environment had multiple content types associated with the list where Destination / target did not have that content type.
Content types is also considered when creating SmartObject and packages, thus the SmartObject in the package had some methods that the service instance on the target did not have causing the issue.



 

Resolution

Removed the content type from the Dev / Source environment as its not used in the design. Re-Created the package for future deployments. On the Prod / Target we re-generated the Smartobjects and it removed the extra methods.

Templates between Source and target should be a match to prevent this.




 
Be the first to reply!

Reply